Skip to content

Commit fbb8555

Browse files
committed
fix(npm-scripts): run build script only in postrelease
1 parent 0e5837b commit fbb8555

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"cleanup": "shx rm -rf dist",
3030
"prebuild": "npm run cleanup && npm run verify",
3131
"build": "tsc && tsc --target es2018 --outDir dist/esm2015 && rollup -c config/rollup.config.js && rollup -c config/rollup.config.js --environment NODE_ENV:production",
32-
"postbuild": "node scripts/copy && node scripts/build && npm run size",
32+
"postbuild": "node scripts/copy && npm run size",
3333
"docs": "typedoc -p . --theme minimal --target 'es6' --excludeNotExported --excludePrivate --ignoreCompilerErrors --exclude \"**/src/**/__tests__/*.*\" --out docs src/",
3434
"test": "jest -c ./config/jest.config.js",
3535
"test:watch": "npm t -- --watch",

0 commit comments

Comments
 (0)