-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 2.65 KB
/
package.json
File metadata and controls
54 lines (54 loc) · 2.65 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
{
"name": "nagoya-construction-lifecycle",
"version": "0.1.0",
"private": true,
"workspaces": [
"backend",
"frontend",
"shared"
],
"scripts": {
"dev": "concurrently \"npm run dev:backend\" \"npm run dev:frontend\"",
"dev:backend": "npm run dev --workspace=backend",
"dev:frontend": "npm run dev --workspace=frontend",
"build": "npm run build --workspaces",
"lint": "npm run lint --workspaces",
"db:migrate": "npm run db:migrate --workspace=backend",
"db:seed": "npm run db:seed --workspace=backend",
"docker:up": "docker compose up -d",
"docker:down": "docker compose down",
"docker:logs": "docker compose logs -f",
"tiles:generate": "tippecanoe --output=frontend/public/tiles/roads.pmtiles --minimum-zoom=8 --maximum-zoom=16 --simplification=10 --drop-densest-as-needed --include=id --include=roadType --include=road_type --include=displayName --include=name --include=name_ja --include=ref --include=local_ref --include=ward --layer=roads --force sample-data/road_assets.geojson",
"export:road-assets": "npx tsx scripts/export-road-assets.ts",
"watch:road-assets": "npx tsx scripts/watch-road-assets.ts",
"watch:ec2": "bash scripts/watch-ec2.sh",
"tiles:sync": "npm run export:road-assets && npm run tiles:generate",
"osm:rivers": "npx tsx scripts/osm/fetch-rivers.ts",
"osm:greenspaces": "npx tsx scripts/osm/fetch-greenspaces.ts",
"osm:streetlights": "npx tsx scripts/osm/fetch-streetlights.ts",
"osm:all": "npm run osm:rivers && npm run osm:greenspaces && npm run osm:streetlights",
"pmtiles:generate": "bash scripts/generate-pmtiles.sh",
"nagoya:sync": "echo 'Start Nagoya sync via API' && curl -X POST -H 'Content-Type: application/json' -d '{}' http://localhost:3000/nagoya-sync/start && curl -X POST -H 'Content-Type: application/json' -d '{}' http://localhost:3000/nagoya-building-sync/start",
"nagoya:import": "npx tsx scripts/import-nagoya-to-assets.ts",
"nagoya:status": "curl -s http://localhost:3000/nagoya-sync/status | jq && curl -s http://localhost:3000/nagoya-building-sync/status | jq",
"nagoya:export-stats": "curl -s http://localhost:3000/pmtiles-export/stats | jq",
"docs:notion:sync": "npx tsx scripts/notion-sync.ts",
"test": "npx playwright test",
"test:check": "npx tsx tests/check-baseline.ts",
"test:full": "npm test && npm run test:check"
},
"devDependencies": {
"@playwright/test": "^1.58.2",
"concurrently": "^9.1.0"
},
"dependencies": {
"@notionhq/client": "^5.9.0",
"@types/proj4": "^2.5.6",
"notion-to-md": "^3.1.9",
"proj4": "^2.20.2",
"shapefile": "^0.6.6"
},
"overrides": {
"esbuild": "0.27.2"
}
}