Added a jshint binary
This commit is contained in:
parent
d881cefbc9
commit
ada09f3e6b
2 changed files with 25 additions and 13 deletions
9
bin/jshint.sh
Executable file
9
bin/jshint.sh
Executable file
|
@ -0,0 +1,9 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
if [ -d "../bin" ]; then
|
||||||
|
cd "../"
|
||||||
|
fi
|
||||||
|
|
||||||
|
JSHINT=./node_modules/jshint/bin/hint
|
||||||
|
|
||||||
|
$JSHINT ./node/
|
29
package.json
29
package.json
|
@ -1,15 +1,15 @@
|
||||||
{
|
{
|
||||||
"name" : "etherpad-lite",
|
"name" : "etherpad-lite",
|
||||||
"description" : "A Etherpad based on node.js",
|
"description" : "A Etherpad based on node.js",
|
||||||
"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",
|
||||||
"ueberDB" : "0.1.3",
|
"ueberDB" : "0.1.3",
|
||||||
"async" : "0.1.15",
|
"async" : "0.1.15",
|
||||||
|
@ -22,6 +22,9 @@
|
||||||
"log4js" : "0.3.9",
|
"log4js" : "0.3.9",
|
||||||
"jsdom-nocontextifiy" : "0.2.10",
|
"jsdom-nocontextifiy" : "0.2.10",
|
||||||
"async-stacktrace" : "0.0.2"
|
"async-stacktrace" : "0.0.2"
|
||||||
},
|
},
|
||||||
"version" : "1.0.0"
|
"devDependencies": {
|
||||||
|
"jshint" : "*"
|
||||||
|
},
|
||||||
|
"version" : "1.0.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue