moving installing jshint to package.json

This commit is contained in:
coderaiser 2012-06-14 14:57:27 +00:00
parent 0692bd9fdf
commit db21c46d5f
2 changed files with 1 additions and 2 deletions

View file

@ -1,7 +1,7 @@
{
"name": "cloudcmd",
"version": "0.0.1",
"scripts":{"test":"sh test.sh","start": "server.js"},
"scripts":{"test":"sh test.sh","start": "server.js", "install": "jshint"},
"engines": { "node": "0.6.x" },
"subdomain": "cloudcmd"
}

View file

@ -1,3 +1,2 @@
#!/bin/sh
npm install -g jshint
jshint *.js --config .jshintrc