Adds precommit-hook as an npm dependency. Automatically runs jshint before a commit.

This commit is contained in:
Boris Grozev 2015-09-10 21:14:29 -05:00
parent 27c297c034
commit a4c844f169
1 changed files with 8 additions and 3 deletions

View File

@ -25,9 +25,14 @@
"async": "0.9.0",
"retry": "0.6.1",
"jssha": "1.5.0",
"socket.io-client": "1.3.6"
"socket.io-client": "1.3.6",
"jshint": "2.8.0",
"precommit-hook": "3.0.0"
},
"devDependencies": {
"devDependencies": {},
"license": "Apache",
"scripts": {
"lint": "jshint ."
},
"license": "Apache"
"pre-commit": ["lint"]
}