We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcb22a1 commit b9e7481Copy full SHA for b9e7481
package.json
@@ -40,6 +40,7 @@
40
"test": "react-scripts test",
41
"eject": "react-scripts eject",
42
"storybook": "start-storybook -p 9090 -s public",
43
+ "prepublishOnly": "npm run build",
44
"build": "npm run build:babel && cp ./package.json ./dist/package.json && cp ./README.md ./dist/README.md",
45
"dist": "npm run build && cd dist && npm publish",
46
"build:babel": "NODE_ENV=production babel ./src --ignore \"src/**/*.story.js\" --out-dir=./dist && rm dist/index.js && cp dist/lib.js dist/index.js",
0 commit comments