Skip to content

Commit e041cdf

Browse files
committed
chore: add prepare build script
1 parent 08f96fd commit e041cdf

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
],
5252
"scripts": {
5353
"prepublishOnly": "NODE_ENV=production npm run build",
54+
"prepare": "npm run build",
5455
"build": "rimraf dist && npm run build:node && npm run build:types && npm run build:browser",
5556
"build:node": "tsc -p tsconfig.json && tsc -p tsconfig-mjs.json && ./build-fixup && babel --plugins \"babel-plugin-add-import-extension\" --out-dir dist/mjs/ dist/mjs/",
5657
"build:types": "tsc --emitDeclarationOnly --declaration --outDir dist/types",

0 commit comments

Comments
 (0)