From a57e58607a5661c0f479f950d182aa2961059a7e Mon Sep 17 00:00:00 2001 From: Joe Cortopassi Date: Fri, 14 Apr 2017 11:22:02 -0700 Subject: [PATCH] Change to using 'prepare' npm-script Avoids excessive rebuilding of modules during development tasks Close #429 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index dc0fff69..40dd7c9d 100644 --- a/package.json +++ b/package.json @@ -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"