Vite + TypeScript PWA that mirrors the Android app's core features: - Pre-processed shelter data (build-time UTM33N→WGS84 conversion) - Leaflet map with shelter markers, user location, and offline tiles - Canvas compass arrow (ported from DirectionArrowView.kt) - IndexedDB shelter cache with 7-day staleness check - Service worker with CacheFirst tiles and precached app shell - i18n for en, nb, nn (ported from Android strings.xml) - iOS/Android compass handling with low-pass filter - Respects user map interaction (no auto-snap on pan/zoom) - Build revision cache-breaker for reliable SW updates Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
50 lines
1 KiB
JSON
50 lines
1 KiB
JSON
{
|
|
"name": "acorn",
|
|
"description": "ECMAScript parser",
|
|
"homepage": "https://github.com/acornjs/acorn",
|
|
"main": "dist/acorn.js",
|
|
"types": "dist/acorn.d.ts",
|
|
"module": "dist/acorn.mjs",
|
|
"exports": {
|
|
".": [
|
|
{
|
|
"import": "./dist/acorn.mjs",
|
|
"require": "./dist/acorn.js",
|
|
"default": "./dist/acorn.js"
|
|
},
|
|
"./dist/acorn.js"
|
|
],
|
|
"./package.json": "./package.json"
|
|
},
|
|
"version": "8.16.0",
|
|
"engines": {
|
|
"node": ">=0.4.0"
|
|
},
|
|
"maintainers": [
|
|
{
|
|
"name": "Marijn Haverbeke",
|
|
"email": "marijnh@gmail.com",
|
|
"web": "https://marijnhaverbeke.nl"
|
|
},
|
|
{
|
|
"name": "Ingvar Stepanyan",
|
|
"email": "me@rreverser.com",
|
|
"web": "https://rreverser.com/"
|
|
},
|
|
{
|
|
"name": "Adrian Heine",
|
|
"web": "http://adrianheine.de"
|
|
}
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/acornjs/acorn.git"
|
|
},
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"prepare": "cd ..; npm run build:main"
|
|
},
|
|
"bin": {
|
|
"acorn": "bin/acorn"
|
|
}
|
|
}
|