Skip to content

Commit 73790d8

Browse files
committed
Move husky precommit hook.
1 parent 3f22ae1 commit 73790d8

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

package.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99
"heroku-prebuild": "npx reactium install",
1010
"static": "npm-run-all build:* && gulp static",
1111
"local": "gulp local",
12-
"clean": "gulp clean",
13-
"precommit": "lint-staged"
12+
"clean": "gulp clean"
1413
},
1514
"keywords": [
1615
"react",
@@ -63,5 +62,10 @@
6362
"workspaces": [
6463
"reactium_modules/*",
6564
"reactium_modules/@*/*"
66-
]
67-
}
65+
],
66+
"husky": {
67+
"hooks": {
68+
"pre-commit": "lint-staged"
69+
}
70+
}
71+
}

0 commit comments

Comments
 (0)