fuzzyworld

when-am-i / files / package.json

package.json

2.5 KB · history · blame

1{
2 "name": "when-am-i",
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.",
7 "license": "MIT",
8 "scripts": {
9 "dev": "vite --open",
10 "prebuild": "npm run validate:data",
11 "build": "vite build",
12 "preview": "vite preview",
13 "typecheck": "tsc --noEmit",
14 "lint": "eslint .",
15 "validate:data": "tsx scripts/validate-data.mts",
16 "test": "vitest run",
17 "test:watch": "vitest",
18 "screenshot": "tsx scripts/generate-screenshots.mts",
19 "screenshot:readme": "tsx scripts/screenshot-readme.mts",
20 "screenshot:calendar": "tsx scripts/screenshot-calendar.mts",
21 "screenshot:calendars": "tsx scripts/screenshot-calendars.mts",
22 "gen:badges": "tsx scripts/gen-badges.mts",
23 "gen:cities": "tsx scripts/gen-cities.mts",
24 "usage": "tsx scripts/usage.mts",
25 "gen:favicon": "sips -z 64 64 calendar-source.png --out src/assets/favicon.png",
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/",
27 "postinstall": "npm run copy:leaflet-icons",
28 "deploy": "fw deploy"
29 },
30 "dependencies": {
31 "@js-temporal/polyfill": "^0.5.1",
32 "leaflet": "^1.9.4",
33 "react": "^18.0.0",
34 "react-dom": "^18.0.0",
35 "react-leaflet": "^4.2.1"
36 },
37 "devDependencies": {
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",
42 "@vitejs/plugin-react": "^4.0.0",
43 "eslint": "^10.5.0",
44 "eslint-plugin-react-hooks": "^7.1.1",
45 "eslint-plugin-react-refresh": "^0.5.3",
46 "fuzzyworld-tools": "git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0",
47 "globals": "^17.6.0",
48 "playwright": "^1.61.0",
49 "tsx": "^4.22.4",
50 "typescript": "^5.0.0",
51 "typescript-eslint": "^8.61.1",
52 "vite": "^5.0.0",
53 "vitest": "^4.1.9"
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 ]
67 }
68}