Skip to content
This repository has been archived by the owner on Jun 21, 2019. It is now read-only.

Commit

Permalink
Split the lint task into lint-api, lint-test, and lint-style
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jun 19, 2014
1 parent 14eb0fa commit d07fa43
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@
"scripts": {
"test": "node_modules/.bin/_mocha --reporter spec --check-leaks -u exports spec/retext-porter-stemmer.spec.js",
"test-travis": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports spec/retext-porter-stemmer.spec.js",
"lint": "node_modules/.bin/eslint index.js --env node --env browser --rule 'quotes: [2, single]' && node_modules/.bin/eslint spec/retext-porter-stemmer.spec.js --env node --env mocha --rule 'quotes: [2, single]' && node_modules/.bin/jscs index.js spec/retext-porter-stemmer.spec.js --reporter=inline",
"lint": "npm run-script lint-api && npm run-script lint-test && npm run-script lint-style",
"lint-api": "node_modules/.bin/eslint index.js --env node --env browser --rule 'quotes: [2, single]'",
"lint-test": "node_modules/.bin/eslint spec/retext-porter-stemmer.spec.js --env node --env mocha --rule 'quotes: [2, single]'",
"lint-style": "node_modules/.bin/jscs index.js spec/retext-porter-stemmer.spec.js --reporter=inline",
"coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- spec spec/retext-porter-stemmer.spec.js",
"complexity": "node_modules/.bin/cr -l --maxcyc 20 --format minimal --silent index.js",
"make": "npm run-script lint && npm run-script complexity && npm run-script coverage"
Expand Down

0 comments on commit d07fa43

Please sign in to comment.