navigator/package.json
hermes-explorigin f43530bed0
Some checks failed
CI / test-and-build (push) Failing after 1m18s
Add Gitea Actions CI: run tests on every push
- .gitea/workflows/ci.yml: on push/PR, runs npm ci, svelte-check, offline
  regression tests, and a static (no-Overpass) build, then verifies output
- scripts/test.mjs: offline test suite — validates manifest + GeoJSON
  structure and asserts fuzzy-search regressions against committed data
- package.json: add 'test' and 'build:static' scripts
- osm-data.mjs: tag OSM layers layerType='mixed' in the manifest
2026-08-08 18:32:48 +00:00

32 lines
908 B
JSON

{
"name": "navigator",
"private": true,
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite dev",
"data": "node scripts/osm-data.mjs",
"data:area": "node scripts/osm-data.mjs",
"build:data": "node scripts/osm-data.mjs",
"build": "npm run build:data && vite build",
"build:static": "vite build",
"test": "node scripts/test.mjs",
"preview": "vite preview",
"prepare": "svelte-kit sync || echo ''",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.63.0",
"@sveltejs/vite-plugin-svelte": "^7.1.2",
"svelte": "^5.56.1",
"svelte-check": "^4.6.0",
"typescript": "^6.0.3",
"vite": "^8.0.16"
},
"dependencies": {
"@types/leaflet": "^1.9.22",
"leaflet": "^1.9.4"
}
}