mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 02:41:09 +00:00
lint cloudflare implementation (#352)
Add linters to AWS and cloudflare implementations [#287]
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
"name": "pmtiles-aws",
|
||||
"version": "0.0.0",
|
||||
"devDependencies": {
|
||||
"@biomejs/biome": "^1.5.3",
|
||||
"@types/aws-lambda": "^8.10.108",
|
||||
"@types/node": "^18.11.2",
|
||||
"esbuild": "^0.20.0",
|
||||
@@ -12,7 +13,9 @@
|
||||
"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"
|
||||
"test": "tsx ../shared/index.test.ts",
|
||||
"biome": "biome check --config-path=../../js/ src --apply",
|
||||
"biome-check": "biome check --config-path=../../js src"
|
||||
},
|
||||
"dependencies": {
|
||||
"@aws-sdk/client-s3": "^3.360.0",
|
||||
|
||||
Reference in New Issue
Block a user