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>
89 lines
2.2 KiB
JSON
89 lines
2.2 KiB
JSON
{
|
|
"name": "nanoid",
|
|
"version": "3.3.11",
|
|
"description": "A tiny (116 bytes), secure URL-friendly unique string ID generator",
|
|
"keywords": [
|
|
"uuid",
|
|
"random",
|
|
"id",
|
|
"url"
|
|
],
|
|
"engines": {
|
|
"node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"
|
|
},
|
|
"funding": [
|
|
{
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/ai"
|
|
}
|
|
],
|
|
"author": "Andrey Sitnik <andrey@sitnik.ru>",
|
|
"license": "MIT",
|
|
"repository": "ai/nanoid",
|
|
"browser": {
|
|
"./index.js": "./index.browser.js",
|
|
"./async/index.js": "./async/index.browser.js",
|
|
"./async/index.cjs": "./async/index.browser.cjs",
|
|
"./index.cjs": "./index.browser.cjs"
|
|
},
|
|
"react-native": "index.js",
|
|
"bin": "./bin/nanoid.cjs",
|
|
"sideEffects": false,
|
|
"types": "./index.d.ts",
|
|
"type": "module",
|
|
"main": "index.cjs",
|
|
"module": "index.js",
|
|
"exports": {
|
|
".": {
|
|
"react-native": "./index.browser.js",
|
|
"browser": "./index.browser.js",
|
|
"require": {
|
|
"types": "./index.d.cts",
|
|
"default": "./index.cjs"
|
|
},
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"default": "./index.js"
|
|
},
|
|
"./package.json": "./package.json",
|
|
"./async/package.json": "./async/package.json",
|
|
"./async": {
|
|
"browser": "./async/index.browser.js",
|
|
"require": {
|
|
"types": "./index.d.cts",
|
|
"default": "./async/index.cjs"
|
|
},
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./async/index.js"
|
|
},
|
|
"default": "./async/index.js"
|
|
},
|
|
"./non-secure/package.json": "./non-secure/package.json",
|
|
"./non-secure": {
|
|
"require": {
|
|
"types": "./index.d.cts",
|
|
"default": "./non-secure/index.cjs"
|
|
},
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./non-secure/index.js"
|
|
},
|
|
"default": "./non-secure/index.js"
|
|
},
|
|
"./url-alphabet/package.json": "./url-alphabet/package.json",
|
|
"./url-alphabet": {
|
|
"require": {
|
|
"types": "./index.d.cts",
|
|
"default": "./url-alphabet/index.cjs"
|
|
},
|
|
"import": {
|
|
"types": "./index.d.ts",
|
|
"default": "./url-alphabet/index.js"
|
|
},
|
|
"default": "./url-alphabet/index.js"
|
|
}
|
|
}
|
|
}
|