Skip to content
This repository was archived by the owner on Mar 23, 2024. It is now read-only.

Commit 37fc3fe

Browse files
committed
Misc: optimize lint execution in package.scripts
1 parent 8eb05e2 commit 37fc3fe

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,8 @@
129129
},
130130
"scripts": {
131131
"lint": "jshint . && node bin/jscs lib test bin publish",
132-
"test": "npm run lint && mocha --color",
132+
"pretest": "npm run lint",
133+
"test": "mocha --color",
133134
"autofix-tests": "node test/scripts/integration.js",
134135
"coverage": "unit-coverage run -p common",
135136
"coverage-html": "unit-coverage run -p common -r html -o coverage.html",

0 commit comments

Comments
 (0)