-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
105 lines (105 loc) · 2.05 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
{
"name": "@sapling/db-driver-mongodb",
"version": "0.2.0",
"license": "MIT",
"description": "MongoDB driver for Sapling",
"type": "module",
"keywords": [
"mongodb",
"sapling",
"saplingjs",
"database",
"driver"
],
"homepage": "https://www.saplingjs.com",
"bugs": "https://github.com/saplingjs/db-driver-mongodb/issues",
"author": {
"name": "Oskari Groenroos",
"email": "[email protected]",
"url": "https://www.groenroos.fi"
},
"dependencies": {
"mongodb": "^5.0.0"
},
"peerDependencies": {
"@sapling/sapling": "^0.1.0"
},
"devDependencies": {
"@babel/core": "^7.13.10",
"@babel/eslint-parser": "^7.13.10",
"ava": "^5.0.1",
"husky": "^8.0.1",
"lint-staged": "^13.0.0",
"nyc": "^15.1.0",
"xo": "^0.53.0"
},
"scripts": {
"precommit": "lint-staged",
"lint-fix": "xo --fix",
"lint": "xo",
"test": "nyc ava",
"test:report": "nyc --reporter=lcov npm test",
"test:send": "npx codecov"
},
"files": [
"index.js"
],
"xo": {
"ignores": [
"drivers/db/Interface.js",
"drivers/render/Interface.js",
"node_modules/**/*.*",
"test/**/*.*"
],
"parser": "@babel/eslint-parser",
"parserOptions": {
"requireConfigFile": false
},
"rules": {
"max-params": [
"warn",
{
"max": 6
}
],
"no-multiple-empty-lines": [
"error",
{
"max": 2
}
],
"no-await-in-loop": "off",
"no-new": "off",
"no-return-await": "off",
"object-curly-spacing": [
"error",
"always"
],
"unicorn/filename-case": [
"error",
{
"cases": {
"camelCase": true,
"pascalCase": true
}
}
],
"unicorn/numeric-separators-style": "off"
}
},
"ava": {
"files": [
"test/**/*"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"!(*test).js": [
"npm run lint"
]
}
}