Switch to newer esbuild target

This commit is contained in:
Fabian Stamm 2022-07-16 21:47:34 +00:00
parent 4b4948207c
commit f4604b077f
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@
"test-typescript": "cd examples/Typescript && ts-node test.ts",
"test-rust": "cd examples/Rust/Generated/ && cargo build",
"test": "npm run test-start && npm run test-csharp && npm run test-typescript",
"build": "esbuild src/index.ts --bundle --platform=node --target=node14 --outfile=lib/jrpc.js",
"build": "esbuild src/index.ts --bundle --platform=node --target=node16 --outfile=lib/jrpc.js",
"prepublishOnly": "npm run build"
},
"bin": {