Browse Source

Add precommit-hook sections to package.json

pull/420/head
Julian Simioni 9 years ago
parent
commit
e8fb26ea85
  1. 13
      package.json

13
package.json

@ -13,7 +13,9 @@
"ciao": "node node_modules/ciao/bin/ciao -c test/ciao.json test/ciao",
"coverage": "node_modules/.bin/istanbul cover test/unit/run.js",
"audit": "npm shrinkwrap; node node_modules/nsp/bin/nspCLI.js audit-shrinkwrap; rm npm-shrinkwrap.json;",
"docs": "./bin/generate-docs"
"docs": "./bin/generate-docs",
"lint": "jshint .",
"validate": "npm ls"
},
"repository": {
"type": "git",
@ -66,5 +68,10 @@
"proxyquire": "^1.4.0",
"tap-dot": "1.0.4",
"tape": "^2.13.4"
}
}
},
"pre-commit": [
"lint",
"validate",
"test"
]
}
Loading…
Cancel
Save