summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorAlexander Early <aearly@fluid.com>2015-05-19 17:37:48 -0700
committerAlexander Early <aearly@fluid.com>2015-05-19 17:39:55 -0700
commit074e091ec0a02be00627437c7a467984dcf03e91 (patch)
treefda154e4b2cba16aae801adfdc3839f3c56ffba6 /package.json
parent89bacbfe52569aea67564ed460917153235f21d4 (diff)
downloadasync-074e091ec0a02be00627437c7a467984dcf03e91.tar.gz
fixed jshint issues, run linter on npm test
Diffstat (limited to 'package.json')
-rw-r--r--package.json12
1 files changed, 7 insertions, 5 deletions
diff --git a/package.json b/package.json
index 1424c76..ffb6491 100644
--- a/package.json
+++ b/package.json
@@ -19,10 +19,11 @@
},
"license": "MIT",
"devDependencies": {
- "nodeunit": ">0.0.0",
- "uglify-js": "1.2.x",
+ "jshint": "~2.7.0",
+ "lodash": ">=2.4.1",
"nodelint": ">0.0.0",
- "lodash": ">=2.4.1"
+ "nodeunit": ">0.0.0",
+ "uglify-js": "1.2.x"
},
"jam": {
"main": "lib/async.js",
@@ -36,7 +37,8 @@
]
},
"scripts": {
- "test": "nodeunit test/test-async.js"
+ "test": "npm run-script lint && nodeunit test/test-async.js",
+ "lint": "jshint lib/async.js test/test-async.js"
},
"spm": {
"main": "lib/async.js"
@@ -51,4 +53,4 @@
"tests"
]
}
-} \ No newline at end of file
+}