File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 14
14
],
15
15
"main" : " target/wasm32-wasi/release/swc_plugin_add_import_extension.wasm" ,
16
16
"scripts" : {
17
- "prepublishOnly" : " pnpm build:release && pnpm pkg:redact-engines" ,
17
+ "prepublishOnly" : " pnpm build:release && pnpm pkg:redact-engines && pnpm pkg:redact-postinstall " ,
18
18
"postinstall" : " cargo install cargo-run-bin && cargo bin --install" ,
19
19
"build:release" : " cargo prepublish --release" ,
20
20
"pkg:redact-engines" : " pnpm json -I -f package.json -e 'this.engines=undefined'" ,
21
+ "pkg:redact-postinstall" : " pnpm json -I -f package.json -e 'this.scripts.postinstall=undefined'" ,
21
22
"test" : " pnpm run test:lib && pnpm run test:e2e" ,
22
23
"test:lib" : " cargo test --release" ,
23
24
"test:e2e" : " pnpm build:release && pnpm test --filter=example-* --workspace-concurrency=1" ,
You can’t perform that action at this time.
0 commit comments