Skip to content

Commit

Permalink
Build package in prepack instead of prepublish (#4493)
Browse files Browse the repository at this point in the history
  • Loading branch information
Methuselah96 authored Feb 22, 2023
1 parent c9204ee commit f503238
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 @@ -53,7 +53,8 @@
"test:watch": "vitest",
"test:cov": "vitest --coverage",
"build": "rollup -c",
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test && yarn build",
"prepublishOnly": "yarn clean && yarn check-types && yarn format:check && yarn lint && yarn test",
"prepack": "yarn build",
"examples:lint": "eslint --ext js,ts examples",
"examples:test": "cross-env CI=true babel-node examples/testAll.js",
"tsc": "tsc"
Expand Down

0 comments on commit f503238

Please sign in to comment.