Files
PMTiles/serverless/aws/package.json
Brandon Liu 22d7a58f36 replace esbuild runner with tsx (#333)
* also bump esbuild to latest version in all package.jsons
2024-01-29 17:51:42 +08:00

22 lines
732 B
JSON

{
"name": "pmtiles-aws",
"version": "0.0.0",
"devDependencies": {
"@types/aws-lambda": "^8.10.108",
"@types/node": "^18.11.2",
"esbuild": "^0.20.0",
"tsx": "^4.7.0",
"typescript": "^4.8.4"
},
"private": true,
"scripts": {
"tsc": "tsc --noEmit --watch",
"build": "esbuild src/index.ts --target=es2020 --outfile=dist/index.mjs --format=esm --bundle --platform=node --target=node18 --external:@aws-sdk/client-s3 --external:@aws-sdk/node-http-handler --banner:js=//$(git describe --always) && cd dist && zip lambda_function.zip index.mjs",
"test": "tsx ../shared/index.test.ts"
},
"dependencies": {
"@aws-sdk/client-s3": "^3.360.0",
"@aws-sdk/node-http-handler": "^3.360.0"
}
}