Skip to content

Commit

Permalink
fix: add prepack script to build package
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkio committed Aug 19, 2022
1 parent 9990312 commit 54d75c8
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
Expand Up @@ -25,7 +25,8 @@
"build:esm": "tsc -p ./configs/tsconfig.esm.json && mv lib/esm/index.js lib/esm/index.mjs",
"build:cjs": "tsc -p ./configs/tsconfig.cjs.json",
"test": "mocha",
"semantic-release": "semantic-release"
"semantic-release": "semantic-release",
"prepack": "npm run build"
},
"release": {
"branches": [
Expand Down

0 comments on commit 54d75c8

Please sign in to comment.