From bc5f1f769a82b25408ac3f22f4cff2c5a287e5a8 Mon Sep 17 00:00:00 2001 From: wooorm Date: Fri, 21 Nov 2014 14:55:50 +0100 Subject: [PATCH] Refactor npm script targets in `package.json` --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index bc4b8cf..fe69232 100644 --- a/package.json +++ b/package.json @@ -29,11 +29,11 @@ "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", - "lint": "npm run lint-api && npm run lint-test && npm run lint-style", + "coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- test.js", "lint-api": "node_modules/.bin/eslint index.js", "lint-test": "node_modules/.bin/eslint test.js --env mocha", "lint-style": "node_modules/.bin/jscs index.js test.js --reporter=inline", - "coverage": "node_modules/.bin/istanbul cover node_modules/.bin/_mocha -- -- test.js", + "lint": "npm run lint-api && npm run lint-test && npm run lint-style", "make": "npm run lint && npm run coverage" } }