[Pkg-javascript-commits] [node-mocks-http] 112/296: update npm test to run lint and test
Thorsten Alteholz
alteholz at moszumanska.debian.org
Mon Feb 8 18:13:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
alteholz pushed a commit to branch master
in repository node-mocks-http.
commit 20926802244f15100430a013f3d0306095e4c4ff
Author: Johnny Estilles <johnny.estilles at agentia.asia>
Date: Wed Mar 11 15:13:19 2015 +0800
update npm test to run lint and test
---
package.json | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/package.json b/package.json
index ebc31ba..620b10c 100644
--- a/package.json
+++ b/package.json
@@ -33,7 +33,7 @@
"nodeunit": ""
},
"scripts": {
- "test": "./run-tests",
- "eslint": "node node_modules/eslint/bin/eslint.js ./lib"
+ "lint": "DEBUG=eslint:cli-engine node_modules/eslint/bin/eslint.js ./lib ./examples ./test",
+ "test": "npm run lint && ./run-tests"
}
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-mocks-http.git
More information about the Pkg-javascript-commits
mailing list