Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
executable file
Β·159 lines (159 loc) Β· 8.22 KB
/
Copy pathpackage.json
File metadata and controls
executable file
Β·159 lines (159 loc) Β· 8.22 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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
{
"name": "lingubible",
"private": true,
"version": "0.0.0",
"type": "module",
"description": "LingU Bible - εΆΊεε€§εΈθͺ²η¨θ©εΉεΉ³ε° ",
"engines": {
"node": ">=20.19.0"
},
"scripts": {
"dev": "vite --host",
"dev:performance": "vite --mode development --open /performance",
"build": "cp public/index.html index.html && SKIP_FONT_PROCESSING=true NODE_OPTIONS='--max-old-space-size=4096' vite build --mode production && rm -f dist/public/index.html && echo 'β ζΈ
ηιθ€η index.html' && bun run seo:generate",
"seo:generate": "node scripts/generate-seo.mjs dist",
"build:dev": "vite build --mode development",
"build:prod": "NODE_ENV=production bun run prebuild && vite build",
"build:fast": "SKIP_FONT_PROCESSING=true vite build --mode production",
"build:super-fast": "SKIP_FONT_PROCESSING=true NODE_ENV=production vite build --mode production --minify=false --sourcemap=false",
"build:ultra": "SKIP_FONT_PROCESSING=true NODE_OPTIONS='--max-old-space-size=4096' NODE_ENV=production vite build --mode production",
"build:lightning": "SKIP_FONT_PROCESSING=true NODE_OPTIONS='--max-old-space-size=8192' VITE_SKIP_MINIFY=true NODE_ENV=production vite build --mode production",
"build:analyze": "vite build --mode production && bun run analyze:bundle",
"analyze:bundle": "echo 'π Bundle analysis complete. Check dist/ for output.'",
"lint": "eslint .",
"preview": "vite preview",
"deploy:functions": "bash deploy-functions-simple.sh",
"import:offerings": "bun scripts/import-course-offerings.mjs",
"import:readings": "bun scripts/import-course-readings.mjs",
"performance:test": "echo 'π Running performance tests...' && bun run build && echo 'β
Performance test completed'",
"performance:lighthouse": "echo 'π‘ Run: lighthouse http://localhost:8080 --output=html --output-path=./performance-report.html'",
"docs:setup": "node tools/scripts/docs/create-multilingual-docs.js",
"docs:create-english": "node tools/scripts/docs/create-english-docs.js",
"docs:check": "echo 'π Checking documentation structure...' && find docs -name '*.md' | wc -l && echo 'Total markdown files found'",
"fonts:optimize": "node scripts/optimize-fonts.cjs",
"fonts:optimize:force": "node scripts/optimize-fonts.cjs --force",
"fonts:clean": "rm -rf public/fonts/optimized temp-fonts",
"fonts:rebuild": "bun run fonts:clean && bun run fonts:optimize",
"fonts:check": "node scripts/conditional-font-optimization.cjs",
"prebuild": "node scripts/conditional-font-optimization.cjs",
"docs:structure": "tree docs/ -I 'node_modules|*.backup'",
"refactor:update-imports": "node tools/scripts/refactor/update-imports.js",
"refactor:check": "bun run build && echo 'β
Refactoring check passed!'",
"font:subset": "node scripts/font-subset.cjs",
"font:download": "mkdir -p public/fonts && echo 'π₯ Downloading LXGW WenKai fonts...' && curl -L -o public/fonts/LXGWWenKai-Regular.ttf https://github.com/lxgw/LxgwWenKai/releases/download/v1.330/LXGWWenKai-Regular.ttf && echo 'β
Font download completed'",
"font:process": "bun run font:download && bun run font:subset public/fonts/LXGWWenKai-Regular.ttf",
"project:structure": "tree src/ -I 'node_modules|*.backup' -L 3",
"project:full-structure": "tree . -I 'node_modules|*.backup|dist|dev-dist|.git' -L 2",
"readme:generate-assets": "node tools/scripts/build/generate-readme-assets.js",
"readme:preview": "echo 'π README preview available at: https://github.com/ansonlo/LingUBible'",
"functions:cleanup": "bash tools/scripts/build/cleanup-functions.sh",
"functions:status": "echo 'π Functions Status:' && ls -la functions/ && echo '' && echo 'βοΈ Configured in appwrite.json:' && grep -A 1 '\"name\":' appwrite.json | grep '\"name\":'",
"version:patch": "node tools/scripts/version/update-version.js patch",
"version:minor": "node tools/scripts/version/update-version.js minor",
"version:major": "node tools/scripts/version/update-version.js major",
"version:set": "node tools/scripts/version/update-version.js custom",
"version:info": "node -e \"const pkg = require('./package.json'); const { getFormattedVersion, getVersionStatus } = require('./src/utils/version.ts'); console.log('π¦ ηΆεηζ¬:', pkg.version); console.log('π·οΈ ι‘―η€Ίζ ΌεΌ:', getFormattedVersion()); console.log('π ηζ¬ηζ
:', getVersionStatus());\"",
"release:patch": "node tools/scripts/version/manual-release.js patch",
"release:minor": "node tools/scripts/version/manual-release.js minor",
"release:major": "node tools/scripts/version/manual-release.js major",
"release:auto": "node tools/scripts/version/manual-release.js patch --yes",
"release:check": "echo 'π ζͺ’ζ₯ηΌεΈηζ
...' && git status && echo '' && echo 'π ζθΏηζ¨η±€:' && git tag --sort=-version:refname | head -5",
"release:create-missing": "node tools/scripts/version/create-missing-release.js",
"version:test": "node tools/scripts/version/test-version-system.js",
"sync:version": "node scripts/sync-version.js",
"ensure:bun-only": "bash scripts/ensure-bun-only.sh"
},
"dependencies": {
"@embedpdf/react-pdf-viewer": "^2.14.3",
"@hookform/resolvers": "^3.9.0",
"@lottiefiles/dotlottie-react": "^0.14.3",
"@openstatus/react": "^0.0.3",
"@radix-ui/react-accordion": "^1.2.0",
"@radix-ui/react-alert-dialog": "^1.1.1",
"@radix-ui/react-aspect-ratio": "^1.1.0",
"@radix-ui/react-avatar": "^1.1.0",
"@radix-ui/react-checkbox": "^1.1.1",
"@radix-ui/react-collapsible": "^1.1.0",
"@radix-ui/react-context-menu": "^2.2.1",
"@radix-ui/react-dialog": "^1.1.2",
"@radix-ui/react-dropdown-menu": "^2.1.1",
"@radix-ui/react-hover-card": "^1.1.1",
"@radix-ui/react-label": "^2.1.0",
"@radix-ui/react-menubar": "^1.1.1",
"@radix-ui/react-navigation-menu": "^1.2.0",
"@radix-ui/react-popover": "^1.1.1",
"@radix-ui/react-progress": "^1.1.0",
"@radix-ui/react-radio-group": "^1.2.0",
"@radix-ui/react-scroll-area": "^1.1.0",
"@radix-ui/react-select": "^2.1.1",
"@radix-ui/react-separator": "^1.1.0",
"@radix-ui/react-slider": "^1.2.0",
"@radix-ui/react-slot": "^1.1.0",
"@radix-ui/react-switch": "^1.1.0",
"@radix-ui/react-tabs": "^1.1.0",
"@radix-ui/react-toast": "^1.2.1",
"@radix-ui/react-toggle": "^1.1.0",
"@radix-ui/react-toggle-group": "^1.1.0",
"@radix-ui/react-tooltip": "^1.1.4",
"@tanstack/react-query": "^5.56.2",
"@web3icons/react": "^4.1.20",
"appwrite": "^19.0.0",
"bad-words-chinese": "^1.0.2",
"baseline-browser-mapping": "^2.11.6",
"caniuse-lite": "^1.0.30001806",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"cmdk": "^1.0.0",
"date-fns": "^3.6.0",
"echarts": "^5.6.0",
"echarts-for-react": "^3.0.2",
"embla-carousel-react": "^8.3.0",
"html-to-image": "^1.11.13",
"input-otp": "^1.2.4",
"jspdf": "^4.2.1",
"jszip": "^3.10.1",
"lucide-react": "^0.462.0",
"next-themes": "^0.3.0",
"qrcode.react": "^4.2.0",
"react": "^18.3.1",
"react-day-picker": "^8.10.1",
"react-dom": "^18.3.1",
"react-fast-marquee": "^1.6.5",
"react-google-recaptcha-v3": "^1.11.0",
"react-hook-form": "^7.53.0",
"react-resizable-panels": "^2.1.3",
"react-responsive": "^10.0.1",
"react-router-dom": "^6.26.2",
"react-share": "^5.3.0",
"recharts": "^2.12.7",
"tailwind-merge": "^2.5.2",
"tailwindcss-animate": "^1.0.7",
"vaul": "^0.9.3",
"zod": "^3.23.8"
},
"devDependencies": {
"@eslint/js": "^9.9.0",
"@tailwindcss/typography": "^0.5.15",
"@types/node": "^24.0.13",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/react-responsive": "^9.0.0",
"@vitejs/plugin-react-swc": "^3.10.2",
"autoprefixer": "^10.4.21",
"esbuild": "0.19.12",
"eslint": "^9.9.0",
"eslint-plugin-react-hooks": "^5.1.0-rc.0",
"eslint-plugin-react-refresh": "^0.4.9",
"fonttools": "^1.0.7",
"globals": "^15.9.0",
"lovable-tagger": "^1.1.7",
"node-appwrite": "^26.1.0",
"postcss": "^8.5.4",
"tailwindcss": "^3.4.17",
"terser": "^5.40.0",
"typescript": "^5.5.3",
"typescript-eslint": "^8.0.1",
"vite": "^7.0.0",
"woff2": "^1.0.0"
}
}