mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Switch to husky for git precommit / prepush handling.
This commit is contained in:
parent
7e20770126
commit
cbbc7f0bbc
1 changed files with 3 additions and 8 deletions
11
package.json
11
package.json
|
@ -16,6 +16,8 @@
|
|||
"main": "dist/paper-full.js",
|
||||
"scripts": {
|
||||
"prepublish": "gulp minify",
|
||||
"precommit": "gulp jshint",
|
||||
"prepush": "gulp test",
|
||||
"build": "gulp build",
|
||||
"dist": "gulp dist",
|
||||
"docs": "gulp docs",
|
||||
|
@ -23,12 +25,6 @@
|
|||
"jshint": "gulp jshint",
|
||||
"test": "gulp test"
|
||||
},
|
||||
"pre-commit": [
|
||||
"jshint"
|
||||
],
|
||||
"pre-push": [
|
||||
"test"
|
||||
],
|
||||
"files": [
|
||||
"AUTHORS.md",
|
||||
"dist/",
|
||||
|
@ -67,11 +63,10 @@
|
|||
"gulp-webserver": "^0.9.1",
|
||||
"gulp-whitespace": "^0.1.0",
|
||||
"gulp-zip": "^3.2.0",
|
||||
"husky": "^0.11.4",
|
||||
"jshint": "^2.9.2",
|
||||
"jshint-summary": "^0.4.0",
|
||||
"merge-stream": "^1.0.0",
|
||||
"pre-commit": "^1.1.3",
|
||||
"pre-push": "^0.1.1",
|
||||
"prepro": "^2.4.0",
|
||||
"qunitjs": "^1.23.0",
|
||||
"require-dir": "^0.3.0",
|
||||
|
|
Loading…
Reference in a new issue