1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Added husky for linting on precommit (#29)

This commit is contained in:
Dan Zajdband 2016-10-16 20:52:12 -04:00 committed by Guillermo Rauch
parent 1477734211
commit 2d06eb5958

View file

@ -13,7 +13,8 @@
"scripts": {
"build": "gulp",
"test": "standard && gulp test",
"lint": "standard"
"lint": "standard",
"precommit": "npm run lint"
},
"dependencies": {
"aphrodite": "0.5.0",
@ -52,6 +53,7 @@
"gulp-babel": "6.1.2",
"gulp-cached": "1.1.0",
"gulp-notify": "2.2.0",
"husky": "^0.11.9",
"standard": "^8.4.0",
"webpack-stream": "3.2.0"
},