Skip to content

Commit

Permalink
package: include prepare script
Browse files Browse the repository at this point in the history
  • Loading branch information
M3nin0 committed Aug 30, 2024
1 parent 574db22 commit 8695094
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
],
"scripts": {
"start": "react-scripts start",
"prepare": "rimraf dist && NODE_ENV=production rollup -c --failAfterWarnings",
"build": "rimraf dist && NODE_ENV=production rollup -c --failAfterWarnings",
"edit-linked-package": "json -I -f ./dist/package.json -e 'this.module=\"esm/index.js\", this.main=\"cjs/index.js\"' ",
"prelink-dist": "cp package.json ./dist && npm run edit-linked-package",
Expand Down

0 comments on commit 8695094

Please sign in to comment.