Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit a91aba0

Browse files
committed
run lint before test
1 parent 77e798a commit a91aba0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
"lint": "prettier-eslint --write '*.js'",
3030
"secure": "nsp check",
3131
"size": "t=\"$(npm pack .)\"; wc -c \"${t}\"; tar tvf \"${t}\"; rm \"${t}\";",
32+
"pretest": "npm run lint",
3233
"test": "mocha",
3334
"test-debug": "node --inspect --debug-brk ./node_modules/.bin/_mocha",
3435
"test-watch": "chokidar '*.js' 'test/*.js' -c 'npm test'",

0 commit comments

Comments
 (0)