Change to using 'prepare' npm-script

Avoids excessive rebuilding of modules during development tasks

Close #429
This commit is contained in:
Joe Cortopassi
2017-04-14 11:22:02 -07:00
committed by Nicolas Gallagher
parent 03ea259d70
commit a57e58607a
+1 -1
View File
@@ -17,7 +17,7 @@
"examples": "start-storybook -p 9001 -c ./examples/.storybook --dont-track",
"fmt": "find performance src -name '*.js' | grep -v -E '(node_modules|dist)' | xargs prettier --print-width=100 --single-quote --write",
"lint": "eslint performance src --ignore-path .gitignore",
"prepublish": "npm run build && npm run build:umd",
"prepare": "npm run build && npm run build:umd",
"test": "npm run lint && npm run test:jest",
"test:jest": "jest",
"test:watch": "npm run test:jest -- --watch"