Skip to content

Commit e61fb6b

Browse files
committed
Add husky and pre-push hook
1 parent 6b07d81 commit e61fb6b

2 files changed

Lines changed: 189 additions & 0 deletions

File tree

package-lock.json

Lines changed: 183 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,11 @@
3939
"last 2 versions",
4040
"ie >= 10"
4141
],
42+
"husky": {
43+
"hooks": {
44+
"pre-push": "npm run lint"
45+
}
46+
},
4247
"dependencies": {
4348
"dom7": "^2.0.7",
4449
"path-to-regexp": "^2.1.0",
@@ -66,6 +71,7 @@
6671
"gulp-sourcemaps": "^2.6.4",
6772
"gulp-uglify": "^3.0.0",
6873
"hoek": "^5.0.3",
74+
"husky": "^1.0.0-rc.9",
6975
"phenome": "0.0.10",
7076
"prop-types": "^15.6.1",
7177
"react": "^16.4.0",

0 commit comments

Comments
 (0)