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 1a49e02 commit f806b20Copy full SHA for f806b20
package.json
@@ -36,6 +36,7 @@
36
"chai": "^3.5.0",
37
"eslint": "^3.0.0",
38
"eslint-config-canonical": "^1.7.12",
39
+ "husky": "^0.11.7",
40
"jsdom": "^9.5.0",
41
"mocha": "^3.0.2",
42
"react": "^15.0.0-rc.1",
@@ -46,6 +47,7 @@
46
47
"scripts": {
48
"lint": "eslint ./src ./tests",
49
"test": "mocha --compilers js:babel-register ./tests/**/*.js",
- "build": "babel ./src --out-dir ./dist"
50
+ "build": "babel ./src --out-dir ./dist",
51
+ "precommit": "npm run lint && npm run test"
52
}
53
0 commit comments