mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -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",
|
"main": "dist/paper-full.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"prepublish": "gulp minify",
|
"prepublish": "gulp minify",
|
||||||
|
"precommit": "gulp jshint",
|
||||||
|
"prepush": "gulp test",
|
||||||
"build": "gulp build",
|
"build": "gulp build",
|
||||||
"dist": "gulp dist",
|
"dist": "gulp dist",
|
||||||
"docs": "gulp docs",
|
"docs": "gulp docs",
|
||||||
|
@ -23,12 +25,6 @@
|
||||||
"jshint": "gulp jshint",
|
"jshint": "gulp jshint",
|
||||||
"test": "gulp test"
|
"test": "gulp test"
|
||||||
},
|
},
|
||||||
"pre-commit": [
|
|
||||||
"jshint"
|
|
||||||
],
|
|
||||||
"pre-push": [
|
|
||||||
"test"
|
|
||||||
],
|
|
||||||
"files": [
|
"files": [
|
||||||
"AUTHORS.md",
|
"AUTHORS.md",
|
||||||
"dist/",
|
"dist/",
|
||||||
|
@ -67,11 +63,10 @@
|
||||||
"gulp-webserver": "^0.9.1",
|
"gulp-webserver": "^0.9.1",
|
||||||
"gulp-whitespace": "^0.1.0",
|
"gulp-whitespace": "^0.1.0",
|
||||||
"gulp-zip": "^3.2.0",
|
"gulp-zip": "^3.2.0",
|
||||||
|
"husky": "^0.11.4",
|
||||||
"jshint": "^2.9.2",
|
"jshint": "^2.9.2",
|
||||||
"jshint-summary": "^0.4.0",
|
"jshint-summary": "^0.4.0",
|
||||||
"merge-stream": "^1.0.0",
|
"merge-stream": "^1.0.0",
|
||||||
"pre-commit": "^1.1.3",
|
|
||||||
"pre-push": "^0.1.1",
|
|
||||||
"prepro": "^2.4.0",
|
"prepro": "^2.4.0",
|
||||||
"qunitjs": "^1.23.0",
|
"qunitjs": "^1.23.0",
|
||||||
"require-dir": "^0.3.0",
|
"require-dir": "^0.3.0",
|
||||||
|
|
Loading…
Reference in a new issue