Skip to content

Commit b917d2e

Browse files
committed
chore(package): add 'test' task
1 parent 73d88b9 commit b917d2e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@
2929
"lint:js": "eslint src webpack cmrh.conf.js",
3030
"lint:css": "sass-lint 'src/**/*.scss' -v -q",
3131
"lint:fix": "eslint src webpack --fix",
32-
"pre-commit": "npm run lint && npm run flow"
32+
"pre-commit": "npm run test",
33+
"test": "npm run lint:js && npm run lint:css && npm run flow"
3334
},
3435
"pre-commit": "pre-commit",
3536
"dependencies": {

0 commit comments

Comments
 (0)