-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 3.29 KB
/
Copy pathpackage.json
File metadata and controls
84 lines (84 loc) · 3.29 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
{
"name": "diary-web",
"private": true,
"version": "0.0.0",
"type": "module",
"engines": {
"node": ">=22.12.0"
},
"scripts": {
"dev": "vite",
"dev:local": "vite --mode mock",
"dev:network": "vite --mode mock --host",
"dev:remote": "npm run build && concurrently \"npm run dev\" \"npm run pages:dev\"",
"start": "npm run dev:local",
"start:network": "npm run dev:network",
"start:remote": "npm run dev:remote",
"update:browserslist": "npx update-browserslist-db@latest",
"build": "tsc && vite build",
"smoke:dist": "node scripts/smoke-dist.mjs",
"smoke:remote": "node scripts/smoke-remote.mjs",
"smoke:remote:admin": "node scripts/smoke-remote-auth.mjs",
"check:cloudflare": "node scripts/check-cloudflare.mjs",
"check:cloudflare:remote": "node scripts/check-cloudflare.mjs --remote",
"report:release": "node scripts/generate-release-report.mjs",
"snapshot": "node scripts/snapshot.mjs",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"check:release": "node scripts/validate-release.mjs",
"check": "npm run lint && npm test && npm run build && npm run smoke:dist && npm run check:release && npm run check:cloudflare",
"test": "npm run test:functions && npm run test:ui",
"test:functions": "node --test --experimental-strip-types --experimental-specifier-resolution=node tests/*.test.ts",
"test:ui": "vitest run",
"preview": "vite preview",
"deploy": "npm run build && wrangler pages deploy dist",
"pages:dev": "wrangler pages dev dist --compatibility-date=2023-12-01 --d1=DB=diary-db",
"db:init": "wrangler d1 execute diary-db --local --file=schema.sql",
"dev:with-db": "npm run db:init && npm run start:remote",
"pages:deploy": "wrangler pages deploy dist",
"build:android:debug": "VITE_ENABLE_DATA_MODE_SWITCH=true npm run build",
"build:android:release": "npm run build",
"android:sync": "npm run android:sync:release",
"android:sync:debug": "npm run build:android:debug && npx cap sync android",
"android:sync:release": "npm run build:android:release && npx cap sync android"
},
"dependencies": {
"@capacitor/filesystem": "^8.1.2",
"date-fns": "^2.30.0",
"lucide-react": "^0.294.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-markdown": "^9.0.1",
"remark-gfm": "^4.0.0"
},
"overrides": {
"esbuild": "^0.28.1",
"ws": "^8.21.0"
},
"devDependencies": {
"@capacitor/android": "^8.3.0",
"@capacitor/cli": "^8.3.0",
"@capacitor/core": "^8.3.0",
"@cloudflare/workers-types": "^4.20250620.0",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"@types/react": "^18.2.43",
"@types/react-dom": "^18.2.17",
"@typescript-eslint/eslint-plugin": "^7.18.0",
"@typescript-eslint/parser": "^7.18.0",
"@vitejs/plugin-react": "^6.0.1",
"autoprefixer": "^10.4.16",
"concurrently": "^8.2.2",
"eslint": "^8.55.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.5",
"jsdom": "^29.0.2",
"postcss": "^8.4.32",
"puppeteer-core": "^25.3.0",
"tailwindcss": "^3.3.6",
"typescript": "^5.2.2",
"vite": "^8.0.3",
"vitest": "^4.1.4",
"wrangler": "^4.79.0"
}
}