Skip to content

Commit

Permalink
Add prepublishOnly script.
Browse files Browse the repository at this point in the history
  • Loading branch information
halfninja committed Oct 15, 2020
1 parent 8df1625 commit 79db128
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -20,7 +20,8 @@
"start": "react-scripts start",
"build": "node ./scripts/build-non-split.js",
"test": "react-scripts test",
"dist": "node ./scripts/build-dist.js"
"dist": "node ./scripts/build-dist.js",
"prepublishOnly": "rm -rf build/ dist/ && npm run build && npm run dist"
},
"eslintConfig": {
"extends": "react-app"

0 comments on commit 79db128

Please sign in to comment.