mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
* Remove TILE_PATH configuration as this makes supporting non-tile paths difficult * create shared/ dir in serverless for common code * linting fixes
22 lines
772 B
JSON
22 lines
772 B
JSON
{
|
|
"name": "pmtiles-aws",
|
|
"version": "0.0.0",
|
|
"devDependencies": {
|
|
"@types/aws-lambda": "^8.10.108",
|
|
"@types/node": "^18.11.2",
|
|
"esbuild": "^0.15.11",
|
|
"esbuild-runner": "^2.2.2",
|
|
"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": "node -r esbuild-runner/register ../shared/index.test.ts"
|
|
},
|
|
"dependencies": {
|
|
"@aws-sdk/client-s3": "^3.213.0",
|
|
"@aws-sdk/node-http-handler": "^3.212.0"
|
|
}
|
|
}
|