updated precommit
This commit is contained in:
parent
24570b791a
commit
c7a6e74dd9
@ -1 +0,0 @@
|
||||
node_modules
|
10
.jshintrc
10
.jshintrc
@ -1,10 +0,0 @@
|
||||
{
|
||||
"node": true,
|
||||
|
||||
"curly": true,
|
||||
"latedef": true,
|
||||
"quotmark": true,
|
||||
"undef": true,
|
||||
"unused": true,
|
||||
"trailing": true
|
||||
}
|
@ -1,6 +0,0 @@
|
||||
{
|
||||
"scripts": {
|
||||
"lint": "jshint ."
|
||||
},
|
||||
"pre-commit": ["lint", "validate", "test"]
|
||||
}
|
@ -5,11 +5,13 @@
|
||||
"main": "y.js",
|
||||
"scripts": {
|
||||
"test": "gulp test",
|
||||
"lint": "gulp lint"
|
||||
"lint": "gulp lint",
|
||||
"build": "gulp build"
|
||||
},
|
||||
"pre-commit": [
|
||||
"lint",
|
||||
"test"
|
||||
"test",
|
||||
"build"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
Loading…
x
Reference in New Issue
Block a user