b34d34dacb
- Add macos/build.mjs: stages a universal .app outside the checkout, bundles and checksums Node, installs production deps per architecture, compiles the launcher shim, signs ad-hoc or with a Developer ID, and writes a zip and dmg with an optional notarization path. - Serve precompressed brotli/gzip assets and split admin panels and the public pages out of the main bundle. - Support HTTP range requests, and fix upload and quota accounting, gallery download counts and unreadable-file handling. - Add server HTTP integration tests, a Gitea CI workflow, a catalog backup script and a crash screen for the UI.
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"name": "luminary",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"version": "0.5.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"server": "node server/index.mjs",
|
|
"server:dev": "node --watch server/index.mjs",
|
|
"build": "tsc --noEmit && vite build && node scripts/precompress.mjs",
|
|
"precompress": "node scripts/precompress.mjs",
|
|
"backup": "node scripts/backup.mjs",
|
|
"start": "node server/index.mjs",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc --noEmit",
|
|
"test": "vitest run",
|
|
"check:render": "node scripts/render-check.mjs",
|
|
"predeploy": "node scripts/predeploy.mjs",
|
|
"deploy": "node scripts/deploy.mjs",
|
|
"build:lens-db": "node scripts/build-lens-db.mjs"
|
|
},
|
|
"dependencies": {
|
|
"exifr": "^7.1.3",
|
|
"libraw-wasm": "^1.6.0",
|
|
"nodemailer": "^10.6.1",
|
|
"react": "^18.3.1",
|
|
"react-dom": "^18.3.1",
|
|
"sharp": "^0.35.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/react": "^18.3.12",
|
|
"@types/react-dom": "^18.3.1",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"typescript": "^5.6.3",
|
|
"vite": "^5.4.11",
|
|
"vitest": "^2.1.9"
|
|
}
|
|
}
|