Skip to content

Commit 5f38775

Browse files
committed
separated test and lint procedures
added coverage to test command part of resolving #622
1 parent 96d4b70 commit 5f38775

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@
5454
],
5555
"license": "MIT",
5656
"scripts": {
57-
"test": "eslint core/**/*.js && tap test/*_tests.js --reporter spec",
58-
"lint": "eslint core/**/*.js"
57+
"lint": "eslint core/**/*.js",
58+
"pretest" : "npm run lint",
59+
"test": "tap test/*_tests.js --reporter spec --coverage"
5960
},
6061
"engines": {
6162
"node": ">=4.0"

0 commit comments

Comments
 (0)