summaryrefslogtreecommitdiff
path: root/web-ui/package.json
diff options
context:
space:
mode:
authorAlexandre Pretto Nunes <anunes@thoughtworks.com>2015-01-12 20:08:00 -0200
committerAlexandre Pretto Nunes <anunes@thoughtworks.com>2015-01-12 20:08:15 -0200
commit6f6f8a338ec460aea761de320aaccc25b0eb2d42 (patch)
tree9442094d5e63be6d824c455424cc60c58ae5ad4d /web-ui/package.json
parentcd741c3cb6a9c64ad30257240565be884e9084ae (diff)
Improve jshint configuration
Diffstat (limited to 'web-ui/package.json')
-rw-r--r--web-ui/package.json2
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/package.json b/web-ui/package.json
index f32794e2..bf1757ea 100644
--- a/web-ui/package.json
+++ b/web-ui/package.json
@@ -25,7 +25,7 @@
"handlebars": "mkdir -p app/js/generated/hbs/ && handlebars app/templates/**/*.hbs > app/js/generated/hbs/templates.js --namespace=window.Pixelated --root .",
"compass": "compass compile",
"build": "npm run clean && npm run handlebars && npm run compass",
- "jshint": "node_modules/.bin/jshint --config=.jshintrc `find app -name '*.js' | grep -v -e 'lib' -e 'bower' -e 'generated'`",
+ "jshint": "node_modules/.bin/jshint --config=.jshintrc app && node_modules/.bin/jshint --config=.jshintrc test",
"clean": "rm -rf .tmp/ dist/**/* app/js/generated/hbs/* app/css/*",
"buildmain": "node_modules/requirejs/bin/r.js -o config/buildoptions.js",
"package": "/bin/bash config/package.sh",