Skip to content

Commit 2d06eb5

Browse files
impronunciablerauchg
authored andcommitted
Added husky for linting on precommit (#29)
1 parent 1477734 commit 2d06eb5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
"scripts": {
1414
"build": "gulp",
1515
"test": "standard && gulp test",
16-
"lint": "standard"
16+
"lint": "standard",
17+
"precommit": "npm run lint"
1718
},
1819
"dependencies": {
1920
"aphrodite": "0.5.0",
@@ -52,6 +53,7 @@
5253
"gulp-babel": "6.1.2",
5354
"gulp-cached": "1.1.0",
5455
"gulp-notify": "2.2.0",
56+
"husky": "^0.11.9",
5557
"standard": "^8.4.0",
5658
"webpack-stream": "3.2.0"
5759
},

0 commit comments

Comments
 (0)