We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc285ab commit 9f04f9fCopy full SHA for 9f04f9f
package.json
@@ -6,7 +6,8 @@
6
"scripts": {
7
"test": "nyc mocha",
8
"watch:test": "mocha --watch",
9
- "lint": "eslint src"
+ "lint": "eslint src",
10
+ "validate": "npm-run-all --parallel test lint"
11
},
12
"repository": {
13
"type": "git",
@@ -29,7 +30,9 @@
29
30
"chai": "3.5.0",
31
"eslint": "3.2.0",
32
"eslint-config-kentcdodds": "^9.0.0",
33
+ "ghooks": "1.3.2",
34
"mocha": "3.0.0",
35
+ "npm-run-all": "2.3.0",
36
"nyc": "7.1.0"
37
38
"nyc": {
@@ -46,5 +49,10 @@
46
49
"include": [
47
50
"src"
48
51
]
52
+ },
53
+ "config": {
54
+ "ghooks": {
55
+ "pre-commit": "npm run validate"
56
+ }
57
}
58
0 commit comments