when-am-i / files / package.json
package.json
edbab6ce 2026-03-20 Pavel Safronov | 1 | { |
6b2790fa 2026-06-20 Pavel Safronov | 2 | "name": "when-am-i", |
edbab6ce 2026-03-20 Pavel Safronov | 3 | "version": "0.1.0", |
| 4 | "private": true, | |
| 5 | "type": "module", | |
| 6 | "description": "A React SPA to explore what year it was in different places and times.", | |
6bcd5898 2026-06-19 Pavel Safronov | 7 | "license": "MIT", |
edbab6ce 2026-03-20 Pavel Safronov | 8 | "scripts": { |
| 9 | "dev": "vite --open", | |
30de6faf 2026-06-20 Pavel Safronov | 10 | "prebuild": "npm run validate:data", |
edbab6ce 2026-03-20 Pavel Safronov | 11 | "build": "vite build", |
30b4cdad 2026-03-20 Pavel Safronov | 12 | "preview": "vite preview", |
60741172 2026-06-17 Pavel Safronov | 13 | "typecheck": "tsc --noEmit", |
| 14 | "lint": "eslint .", | |
30de6faf 2026-06-20 Pavel Safronov | 15 | "validate:data": "tsx scripts/validate-data.mts", |
60741172 2026-06-17 Pavel Safronov | 16 | "test": "vitest run", |
| 17 | "test:watch": "vitest", | |
48a625b7 2026-06-19 Pavel Safronov | 18 | "screenshot": "tsx scripts/generate-screenshots.mts", |
76ecf55e 2026-06-21 Pavel Safronov | 19 | "screenshot:readme": "tsx scripts/screenshot-readme.mts", |
48a625b7 2026-06-19 Pavel Safronov | 20 | "screenshot:calendar": "tsx scripts/screenshot-calendar.mts", |
73912a47 2026-06-20 Pavel Safronov | 21 | "screenshot:calendars": "tsx scripts/screenshot-calendars.mts", |
6bcd5898 2026-06-19 Pavel Safronov | 22 | "gen:badges": "tsx scripts/gen-badges.mts", |
998b11ce 2026-06-21 Pavel Safronov | 23 | "gen:cities": "tsx scripts/gen-cities.mts", |
091a00cb 2026-06-20 Pavel Safronov | 24 | "usage": "tsx scripts/usage.mts", |
15d4fe68 2026-03-24 Pavel Safronov | 25 | "gen:favicon": "sips -z 64 64 calendar-source.png --out src/assets/favicon.png", |
2e93220d 2026-03-20 Pavel Safronov | 26 | "copy:leaflet-icons": "mkdir -p public && cp node_modules/leaflet/dist/images/marker-icon.png public/ && cp node_modules/leaflet/dist/images/marker-icon-2x.png public/ && cp node_modules/leaflet/dist/images/marker-shadow.png public/", |
c2d75cfd 2026-10-27 Pavel Safronov | 27 | "postinstall": "npm run copy:leaflet-icons", |
| 28 | "deploy": "fw deploy" | |
edbab6ce 2026-03-20 Pavel Safronov | 29 | }, |
| 30 | "dependencies": { | |
d7aad2c5 2026-06-18 Pavel Safronov | 31 | "@js-temporal/polyfill": "^0.5.1", |
60741172 2026-06-17 Pavel Safronov | 32 | "leaflet": "^1.9.4", |
edbab6ce 2026-03-20 Pavel Safronov | 33 | "react": "^18.0.0", |
30b4cdad 2026-03-20 Pavel Safronov | 34 | "react-dom": "^18.0.0", |
60741172 2026-06-17 Pavel Safronov | 35 | "react-leaflet": "^4.2.1" |
edbab6ce 2026-03-20 Pavel Safronov | 36 | }, |
| 37 | "devDependencies": { | |
60741172 2026-06-17 Pavel Safronov | 38 | "@eslint/js": "^10.0.1", |
| 39 | "@types/leaflet": "^1.9.21", | |
| 40 | "@types/react": "^18.0.0", | |
| 41 | "@types/react-dom": "^18.0.0", | |
edbab6ce 2026-03-20 Pavel Safronov | 42 | "@vitejs/plugin-react": "^4.0.0", |
60741172 2026-06-17 Pavel Safronov | 43 | "eslint": "^10.5.0", |
| 44 | "eslint-plugin-react-hooks": "^7.1.1", | |
| 45 | "eslint-plugin-react-refresh": "^0.5.3", | |
c2d75cfd 2026-10-27 Pavel Safronov | 46 | "fuzzyworld-tools": "git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0", |
60741172 2026-06-17 Pavel Safronov | 47 | "globals": "^17.6.0", |
48a625b7 2026-06-19 Pavel Safronov | 48 | "playwright": "^1.61.0", |
| 49 | "tsx": "^4.22.4", | |
edbab6ce 2026-03-20 Pavel Safronov | 50 | "typescript": "^5.0.0", |
60741172 2026-06-17 Pavel Safronov | 51 | "typescript-eslint": "^8.61.1", |
| 52 | "vite": "^5.0.0", | |
| 53 | "vitest": "^4.1.9" | |
c2d75cfd 2026-10-27 Pavel Safronov | 54 | }, |
| 55 | "fuzzyworld": { | |
| 56 | "app": "when-am-i", | |
| 57 | "title": "When am I?", | |
| 58 | "prebuild": [ | |
| 59 | "npm run gen:badges -- --check" | |
| 60 | ], | |
| 61 | "checks": [ | |
| 62 | "validate:data", | |
| 63 | "lint", | |
| 64 | "typecheck", | |
| 65 | "test" | |
| 66 | ] | |
edbab6ce 2026-03-20 Pavel Safronov | 67 | } |
60741172 2026-06-17 Pavel Safronov | 68 | } |