tilfluktsrom/pwa/node_modules/regjsparser/package.json
Ole-Morten Duesund e8428de775 Add progressive web app companion for cross-platform access
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>
2026-03-08 17:41:38 +01:00

46 lines
1.2 KiB
JSON

{
"name": "regjsparser",
"version": "0.13.0",
"author": "'Julian Viereck' <julian.viereck@gmail.com>",
"license": "BSD-2-Clause",
"main": "./parser",
"types": "./parser.d.ts",
"bin": {
"regjsparser": "bin/parser"
},
"homepage": "https://github.com/jviereck/regjsparser",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/jviereck/regjsparser.git"
},
"scripts": {
"lint": "eslint --max-warnings 0 .",
"test": "run-p test:* lint",
"test:src": "node test/index.js",
"test:types": "tsc test/types.ts --noEmit",
"bench:baseline": "node ./tools/bench/index.mjs baseline",
"bench:current": "node ./tools/bench/index.mjs current",
"bench": "run-s bench:*"
},
"files": [
"bin/",
"LICENSE.BSD",
"parser.js",
"parser.d.ts",
"README.md"
],
"dependencies": {
"jsesc": "~3.1.0"
},
"devDependencies": {
"@unicode/unicode-17.0.0": "^1.6.12",
"eslint": "^9.35.0",
"eslint-plugin-regexp": "^2.10.0",
"globals": "^16.4.0",
"npm-run-all": "^4.1.5",
"regenerate": "^1.4.2",
"regjsparser": "^0.11.2",
"tinybench": "^5.0.1",
"typescript": "~5.9.2"
}
}