Added a jshint binary

This commit is contained in:
Peter 'Pita' Martischka 2012-01-22 14:56:08 +01:00
parent d881cefbc9
commit ada09f3e6b
2 changed files with 25 additions and 13 deletions

9
bin/jshint.sh Executable file
View file

@ -0,0 +1,9 @@
#!/bin/sh
if [ -d "../bin" ]; then
cd "../"
fi
JSHINT=./node_modules/jshint/bin/hint
$JSHINT ./node/

View file

@ -4,10 +4,10 @@
"homepage" : "https://github.com/Pita/etherpad-lite", "homepage" : "https://github.com/Pita/etherpad-lite",
"keywords" : ["etherpad", "realtime", "collaborative", "editor"], "keywords" : ["etherpad", "realtime", "collaborative", "editor"],
"author" : "Peter 'Pita' Martischka <petermartischka@googlemail.com> - Primary Technology Ltd", "author" : "Peter 'Pita' Martischka <petermartischka@googlemail.com> - Primary Technology Ltd",
"contributors": [ "contributors" : [
{ "name": "John McLear", { "name": "John McLear",
"name": "Hans Pinckaers", "name": "Hans Pinckaers",
"name": "Robin Buse"} "name": "Robin Buse" }
], ],
"dependencies" : { "dependencies" : {
"socket.io" : "0.8.7", "socket.io" : "0.8.7",
@ -23,5 +23,8 @@
"jsdom-nocontextifiy" : "0.2.10", "jsdom-nocontextifiy" : "0.2.10",
"async-stacktrace" : "0.0.2" "async-stacktrace" : "0.0.2"
}, },
"devDependencies": {
"jshint" : "*"
},
"version" : "1.0.0" "version" : "1.0.0"
} }