Skip to content
This repository was archived by the owner on Oct 11, 2022. It is now read-only.

Commit de3a8d7

Browse files
committed
add test command to precommit
1 parent b7d2f4c commit de3a8d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"clean": "node_modules/.bin/rimraf lib; node_modules/.bin/rimraf demo/public",
1111
"dev": "node_modules/.bin/babel-node ./demo/server.js",
1212
"test": "jest",
13-
"precommit": "lint-staged"
13+
"precommit": "jest && lint-staged"
1414
},
1515
"repository": {
1616
"type": "git",

0 commit comments

Comments
 (0)