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

Commit

Permalink
Refactor npm scripts for changes in npm
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Jan 19, 2015
1 parent 6c95c6e commit 8a54a07
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,15 +28,17 @@
"url": "https://github.com/wooorm/retext-porter-stemmer.git"
},
"scripts": {
"test": "node_modules/.bin/_mocha --reporter spec --check-leaks -u exports test.js",
"test-travis": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --check-leaks -u exports test.js",
"coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- test.js",
"lint-api": "node_modules/.bin/eslint index.js",
"lint-benchmark": "node_modules/.bin/eslint benchmark.js --global bench,before,suite,set",
"lint-test": "node_modules/.bin/eslint test.js --env mocha",
"lint-style": "node_modules/.bin/jscs index.js test.js benchmark.js --reporter=inline",
"test-api": "_mocha --check-leaks test.js",
"test-coveralls": "istanbul cover _mocha --report lcovonly -- --check-leaks test.js",
"test-coverage": "istanbul cover _mocha -- --check-leaks test.js",
"test-travis": "npm run test-coveralls",
"test": "npm run test-api",
"lint-api": "eslint index.js",
"lint-benchmark": "eslint --global bench,before,suite,set benchmark.js",
"lint-test": "eslint --env mocha test.js",
"lint-style": "jscs --reporter inline index.js benchmark.js test.js",
"lint": "npm run lint-api && npm run lint-benchmark && npm run lint-test && npm run lint-style",
"make": "npm run lint && npm run coverage",
"benchmark": "node_modules/.bin/matcha benchmark.js"
"make": "npm run lint && npm run test-coverage",
"benchmark": "matcha benchmark.js"
}
}

0 comments on commit 8a54a07

Please sign in to comment.