Skip to content

Commit cbbc7f0

Browse files
committed
Switch to husky for git precommit / prepush handling.
1 parent 7e20770 commit cbbc7f0

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,19 +16,15 @@
1616
"main": "dist/paper-full.js",
1717
"scripts": {
1818
"prepublish": "gulp minify",
19+
"precommit": "gulp jshint",
20+
"prepush": "gulp test",
1921
"build": "gulp build",
2022
"dist": "gulp dist",
2123
"docs": "gulp docs",
2224
"load": "gulp load",
2325
"jshint": "gulp jshint",
2426
"test": "gulp test"
2527
},
26-
"pre-commit": [
27-
"jshint"
28-
],
29-
"pre-push": [
30-
"test"
31-
],
3228
"files": [
3329
"AUTHORS.md",
3430
"dist/",
@@ -67,11 +63,10 @@
6763
"gulp-webserver": "^0.9.1",
6864
"gulp-whitespace": "^0.1.0",
6965
"gulp-zip": "^3.2.0",
66+
"husky": "^0.11.4",
7067
"jshint": "^2.9.2",
7168
"jshint-summary": "^0.4.0",
7269
"merge-stream": "^1.0.0",
73-
"pre-commit": "^1.1.3",
74-
"pre-push": "^0.1.1",
7570
"prepro": "^2.4.0",
7671
"qunitjs": "^1.23.0",
7772
"require-dir": "^0.3.0",

0 commit comments

Comments
 (0)