Added husky for linting on precommit (#29)
Showing
... | ... | @@ -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" | ||
}, | ||
... | ... |
想要评论请 注册 或 登录