-
Notifications
You must be signed in to change notification settings - Fork 17
/
package.json
58 lines (58 loc) · 1.33 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
{
"name": "http2-proxy",
"version": "5.0.53",
"types": "index.d.ts",
"scripts": {
"test": "jest",
"lint": "eslint .",
"format": "prettier --write *.js && eslint --fix *.js"
},
"main": "index.js",
"author": "Robert Nagy <[email protected]>",
"license": "MIT",
"repository": "nxtedition/node-http2-proxy",
"keywords": [
"http2",
"http",
"proxy"
],
"eslintConfig": {
"extends": [
"standard"
],
"overrides": [
{
"files": [
"*.test.js"
],
"env": {
"jest": true
},
"plugins": [
"jest"
]
}
],
"parser": "babel-eslint"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^6.8.0",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.20.2",
"eslint-plugin-jest": "^23.8.2",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"husky": "^4.2.5",
"jest": "^25.4.0",
"prettier": "^2.0.5",
"validate-commit-msg": "^2.14.0"
},
"husky": {
"hooks": {
"commit-msg": "validate-commit-msg",
"pre-commit": "files=`git diff --cached --diff-filter=d --name-only | grep '\\.js$' || true` && ( [ -z \"$files\" ] || eslint --format=unix $files ) && yarn test"
}
}
}