Adds precommit-hook as an npm dependency. Automatically runs jshint before a commit.
This commit is contained in:
parent
27c297c034
commit
a4c844f169
11
package.json
11
package.json
|
@ -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"]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue