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>
38 lines
804 B
JSON
38 lines
804 B
JSON
{
|
|
"name": "convert-source-map",
|
|
"version": "2.0.0",
|
|
"description": "Converts a source-map from/to different formats and allows adding/changing properties.",
|
|
"main": "index.js",
|
|
"scripts": {
|
|
"test": "tap test/*.js --color"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/thlorenz/convert-source-map.git"
|
|
},
|
|
"homepage": "https://github.com/thlorenz/convert-source-map",
|
|
"devDependencies": {
|
|
"inline-source-map": "~0.6.2",
|
|
"tap": "~9.0.0"
|
|
},
|
|
"keywords": [
|
|
"convert",
|
|
"sourcemap",
|
|
"source",
|
|
"map",
|
|
"browser",
|
|
"debug"
|
|
],
|
|
"author": {
|
|
"name": "Thorsten Lorenz",
|
|
"email": "thlorenz@gmx.de",
|
|
"url": "http://thlorenz.com"
|
|
},
|
|
"license": "MIT",
|
|
"engine": {
|
|
"node": ">=4"
|
|
},
|
|
"files": [
|
|
"index.js"
|
|
]
|
|
}
|