-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.49 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
{
"name": "node-library-boilerplate",
"version": "1.0.0",
"private": false,
"description": "A boilerplate for node-focused open-source libraries.",
"license": "MIT",
"author": "Lucas Constantino Silva <[email protected]>",
"main": "lib/index.js",
"scripts": {
"compile": "babel src -d lib --ignore src/**/*.test.js",
"lint": "eslint src",
"precommit": "lint-staged",
"prepush": "yarn qa",
"prepublish": "yarn qa && yarn compile",
"qa": "yarn test && yarn lint",
"release": "standard-version",
"test": "jest src"
},
"lint-staged": {
"*.js": [
"prettier-eslint --write",
"git add"
],
"package.json": [
"sort-package-json",
"git add"
]
},
"jest": {
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"coverageThreshold": {
"global": {
"branches": 90,
"functions": 90,
"lines": 90,
"statements": 90
}
}
},
"devDependencies": {
"@babel/cli": "^7.2.3",
"@babel/core": "^7.3.3",
"@babel/preset-env": "^7.3.1",
"eslint": "^5.14.1",
"eslint-config-standard": "^12.0.0",
"eslint-plugin-import": "^2.16.0",
"eslint-plugin-node": "^8.0.1",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-standard": "^4.0.0",
"husky": "^1.3.1",
"jest": "^24.1.0",
"lint-staged": "^8.1.4",
"prettier-eslint-cli": "^4.7.1",
"sort-package-json": "^1.19.0",
"standard-version": "^5.0.0"
}
}