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