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>
This commit is contained in:
parent
46365b713b
commit
e8428de775
12051 changed files with 1799735 additions and 0 deletions
74
pwa/node_modules/chai/package.json
generated
vendored
Normal file
74
pwa/node_modules/chai/package.json
generated
vendored
Normal file
|
|
@ -0,0 +1,74 @@
|
|||
{
|
||||
"author": "Jake Luer <jake@alogicalparadox.com>",
|
||||
"name": "chai",
|
||||
"type": "module",
|
||||
"description": "BDD/TDD assertion library for node.js and the browser. Test framework agnostic.",
|
||||
"keywords": [
|
||||
"test",
|
||||
"assertion",
|
||||
"assert",
|
||||
"testing",
|
||||
"chai"
|
||||
],
|
||||
"files": [
|
||||
"chai.js",
|
||||
"index.js",
|
||||
"lib",
|
||||
"register-*.js"
|
||||
],
|
||||
"homepage": "http://chaijs.com",
|
||||
"license": "MIT",
|
||||
"contributors": [
|
||||
"Jake Luer <jake@alogicalparadox.com>",
|
||||
"Domenic Denicola <domenic@domenicdenicola.com> (http://domenicdenicola.com)",
|
||||
"Veselin Todorov <hi@vesln.com>",
|
||||
"John Firebaugh <john.firebaugh@gmail.com>"
|
||||
],
|
||||
"version": "5.3.3",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/chaijs/chai"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/chaijs/chai/issues"
|
||||
},
|
||||
"main": "./index.js",
|
||||
"scripts": {
|
||||
"build": "esbuild --bundle --format=esm --keep-names --outfile=index.js lib/chai.js",
|
||||
"prebuild": "npm run clean",
|
||||
"format": "prettier --write lib",
|
||||
"pretest": "npm run lint",
|
||||
"test": "npm run test-node && npm run test-chrome",
|
||||
"test-node": "c8 --99 --check-coverage mocha --require ./test/bootstrap/index.js test/*.js",
|
||||
"test-chrome": "web-test-runner --playwright",
|
||||
"lint": "npm run lint:js && npm run lint:format",
|
||||
"lint:js": "eslint lib/",
|
||||
"lint:format": "prettier --check lib",
|
||||
"lint:types": "tsc",
|
||||
"clean": "rm -rf index.js coverage/"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18"
|
||||
},
|
||||
"dependencies": {
|
||||
"assertion-error": "^2.0.1",
|
||||
"check-error": "^2.1.1",
|
||||
"deep-eql": "^5.0.1",
|
||||
"loupe": "^3.1.0",
|
||||
"pathval": "^2.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "^9.17.0",
|
||||
"@rollup/plugin-commonjs": "^25.0.7",
|
||||
"@web/dev-server-rollup": "^0.6.1",
|
||||
"@web/test-runner": "^0.18.0",
|
||||
"@web/test-runner-playwright": "^0.11.0",
|
||||
"c8": "^10.1.3",
|
||||
"esbuild": "^0.25.9",
|
||||
"eslint": "^8.56.0",
|
||||
"eslint-plugin-jsdoc": "^48.0.4",
|
||||
"mocha": "^10.2.0",
|
||||
"prettier": "^3.4.2",
|
||||
"typescript": "~5.7.3"
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue