Skip to content

Commit b0bd34c

Browse files
committed
refactor(npm-scripts): remove cd and use --dry-run for preflight
1 parent b1145f4 commit b0bd34c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"release": "standard-version",
4747
"postrelease": "node scripts/copy.js && npm run release:github && npm run release:npm",
4848
"release:github": "git push --no-verify --follow-tags origin master",
49-
"release:npm": "cd dist && npm publish",
50-
"release:preflight": "cd dist && npm pack",
49+
"release:npm": "npm publish dist",
50+
"release:preflight": "npm pack ./dist --dry-run",
5151
"size": "npm run size:umd && npm run size:fesm",
5252
"size:umd": "shx echo \"Gzipped+minified UMD bundle Size:\" && cross-var strip-json-comments --no-whitespace \"./dist/bundles/index.umd.min.js\" | gzip-size",
5353
"size:fesm": "shx echo \"Gzipped+minified FESM bundle Size:\" && strip-json-comments --no-whitespace \"./dist/bundles/index.esm.min.js\" | gzip-size"

0 commit comments

Comments
 (0)