diff options
author | Alexander Early <aearly@fluid.com> | 2015-05-19 17:37:48 -0700 |
---|---|---|
committer | Alexander Early <aearly@fluid.com> | 2015-05-19 17:39:55 -0700 |
commit | 074e091ec0a02be00627437c7a467984dcf03e91 (patch) | |
tree | fda154e4b2cba16aae801adfdc3839f3c56ffba6 /package.json | |
parent | 89bacbfe52569aea67564ed460917153235f21d4 (diff) | |
download | async-074e091ec0a02be00627437c7a467984dcf03e91.tar.gz |
fixed jshint issues, run linter on npm test
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 12 |
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 +} |