File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 207
207
"scripts" : {
208
208
"build" : " tsc" ,
209
209
"build-all" : " run-s clear build build:*" ,
210
- "build:bundle" : " esbuild --bundle dist/webapi/index.js --format=esm --target=es2020 --outfile=dist/webapi/index.bundle.js" ,
211
- "build:bundle-min" : " esbuild --minify --bundle dist/webapi/index.js --format=esm --target=es2020 --outfile=dist/webapi/index.bundle.min.js" ,
210
+ "build:bundle" : " esbuild --bundle dist/webapi/index.js --format=esm --target=es2022 --outfile=dist/webapi/index.bundle.js" ,
211
+ "build:bundle-min" : " esbuild --minify --bundle dist/webapi/index.js --format=esm --target=es2022 --outfile=dist/webapi/index.bundle.min.js" ,
212
212
"build:umd" : " rollup dist/webapi/index.bundle.js --format umd --name jose -o dist/webapi/index.umd.js && rollup dist/webapi/index.bundle.min.js --compact --format umd --name jose -o dist/webapi/index.umd.min.js" ,
213
213
"build:deno" : " mkdir -p dist/deno && cp -R src/. dist/deno && find dist/deno -name '*.ts' -type f -print0 | xargs -0 sed -i.bak -e \" s/\\ .js'/.ts'/g\" && npm run sedcleanup" ,
214
214
"build:types" : " npm run build -- -p ./tsconfig/types.json && cd src && find . -name '*.d.ts' -maxdepth 2 -type f -exec rsync -R \" {}\" ../dist/types \\ ; && cd .. && run-s -s types:find | xargs -0 sed -i.bak -e \" s/\\ .js'/'/g\" -e \" s/\\ .d.ts'/'/g\" && npm run sedcleanup" ,
You can’t perform that action at this time.
0 commit comments