Switch to newer esbuild target

This commit is contained in:
Fabian Stamm 2022-07-16 21:47:34 +00:00
parent 4b4948207c
commit f4604b077f

View File

@ -11,7 +11,7 @@
"test-typescript": "cd examples/Typescript && ts-node test.ts", "test-typescript": "cd examples/Typescript && ts-node test.ts",
"test-rust": "cd examples/Rust/Generated/ && cargo build", "test-rust": "cd examples/Rust/Generated/ && cargo build",
"test": "npm run test-start && npm run test-csharp && npm run test-typescript", "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" "prepublishOnly": "npm run build"
}, },
"bin": { "bin": {