Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
66 lines (66 loc) · 2.37 KB
/
Copy pathpackage.json
File metadata and controls
66 lines (66 loc) · 2.37 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
{
"name": "cloud-tileserver",
"version": "1.3.2",
"description": "AWS lambda function to handle vectortile queries via REST",
"main": "index.js",
"scripts": {
"tools": "tsc tools/toml2json.ts",
"gen:sources": "node tools/toml2json.js < src/sources.toml > src/sources.json",
"gen:sprites": "node tools/gensprites.js && mv sprites/cyclemap* html/sprites",
"test": "LOG_LEVEL=3 jest --coverage",
"test:solo": "LOG_LEVEL=1 jest --coverage",
"test:single": "LOG_LEVEL=1 jest --coverage projection.test.ts",
"linter": "eslint src/**/*.ts",
"layer": "cd tileserver_layer/nodejs && npm i",
"html": "aws s3 cp ./html/ s3://cyclemap.link/ --recursive",
"docs": "node node_modules/typedoc/bin/typedoc",
"sim": "npm run build && LOG_LEVEL=5 PGUSER=postgres PGHOST=127.0.0.1 PGPORT=5432 node node_modules/lambda-local/build/cli.js -l dist/index.js -h handler -e test/fixtures/local_14_8691_5677.js",
"local": "tsc local/local.ts && LOG_LEVEL=3 node local/local.js",
"build": "rm -rf ./dist/* && npm run gen:sources && tsc && cp ./src/sources.json ./dist && zip -j ./dist/function.zip ./dist/*.js* && cd tileserver_layer/nodejs && npm i && cd .. && zip -qr ../dist/tileserver_layer.zip nodejs",
"deploy": "aws lambda update-function-code --function-name tileserver --zip-file fileb://dist/function.zip"
},
"repository": {
"type": "git",
"url": "git+https://github.com/henrythasler/cloud-tileserver.git"
},
"keywords": [
"vectortiles",
"postgis",
"lambda",
"mapbox",
"mvt",
"terraform",
"aws",
"cloud"
],
"author": "Henry Thasler",
"license": "MIT",
"bugs": {
"url": "https://github.com/henrythasler/cloud-tileserver/issues"
},
"homepage": "https://github.com/henrythasler/cloud-tileserver#readme",
"devDependencies": {
"@aws-sdk/client-s3": "^3.879.0",
"@eslint/js": "^9.34.0",
"@iarna/toml": "^2.2.5",
"@mapbox/spritezero": "^8.0.3",
"@types/aws-lambda": "^8.10.152",
"@types/chai": "^5.2.2",
"@types/jest": "^30.0.0",
"@types/node": "^24.3.0",
"@types/pg": "^8.15.5",
"aws-lambda": "^1.0.7",
"chai": "^6.0.1",
"eslint": "^9.34.0",
"jest": "^30.1.2",
"lambda-local": "^2.2.0",
"pg": "^8.16.3",
"ts-jest": "^29.4.1",
"typedoc": "^0.28.12",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0"
},
"np": {
"publish": false
}
}