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>
43 lines
1 KiB
JSON
43 lines
1 KiB
JSON
{
|
|
"author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me)",
|
|
"name": "which",
|
|
"description": "Like which(1) unix command. Find the first instance of an executable in the PATH.",
|
|
"version": "2.0.2",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git://github.com/isaacs/node-which.git"
|
|
},
|
|
"main": "which.js",
|
|
"bin": {
|
|
"node-which": "./bin/node-which"
|
|
},
|
|
"license": "ISC",
|
|
"dependencies": {
|
|
"isexe": "^2.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"mkdirp": "^0.5.0",
|
|
"rimraf": "^2.6.2",
|
|
"tap": "^14.6.9"
|
|
},
|
|
"scripts": {
|
|
"test": "tap",
|
|
"preversion": "npm test",
|
|
"postversion": "npm publish",
|
|
"prepublish": "npm run changelog",
|
|
"prechangelog": "bash gen-changelog.sh",
|
|
"changelog": "git add CHANGELOG.md",
|
|
"postchangelog": "git commit -m 'update changelog - '${npm_package_version}",
|
|
"postpublish": "git push origin --follow-tags"
|
|
},
|
|
"files": [
|
|
"which.js",
|
|
"bin/node-which"
|
|
],
|
|
"tap": {
|
|
"check-coverage": true
|
|
},
|
|
"engines": {
|
|
"node": ">= 8"
|
|
}
|
|
}
|