updated precommit

This commit is contained in:
Kevin Jahns 2015-06-16 16:20:38 +02:00
parent 24570b791a
commit c7a6e74dd9
4 changed files with 4 additions and 19 deletions

View File

@ -1 +0,0 @@
node_modules

View File

@ -1,10 +0,0 @@
{
"node": true,
"curly": true,
"latedef": true,
"quotmark": true,
"undef": true,
"unused": true,
"trailing": true
}

View File

@ -1,6 +0,0 @@
{
"scripts": {
"lint": "jshint ."
},
"pre-commit": ["lint", "validate", "test"]
}

View File

@ -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",