Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Commit 1bdc1f6

Browse files
committed
husky fix
1 parent c276c46 commit 1bdc1f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
"install": "run-s build",
2121
"lint": "eslint --fix src test",
2222
"migrate-testrpc": "truffle migrate --network=testrpc",
23-
"precommit": "lint-staged && flow",
2423
"serve-poly-docs": "run-s documentation-copy-babel-ignored documentation-serve",
2524
"start": "run-p babel:watchsrc babel:watchtest",
2625
"test": "mocha lib/test/**/*_test.js --timeout 20000 --bail --exit",
@@ -30,6 +29,11 @@
3029
"ci": "scripts/test.sh",
3130
"contracts": "scripts/updateContracts.sh"
3231
},
32+
"husky": {
33+
"hooks": {
34+
"pre-commit": "yarn test"
35+
}
36+
},
3337
"repository": {
3438
"type": "git",
3539
"url": "git+https://github.com/PolymathNetwork/polymath.js.git"

0 commit comments

Comments
 (0)