Files
luminary/package.json
T
bhursey 4b17ca00db Skip the pre-deploy build when only test files changed.
predeploy was a shell chain that always rebuilt, so a test-only edit paid for a
full Vite build. It is now scripts/predeploy.mjs: typecheck, tests and the render
check always run, and the build is skipped when a content hash of the bundle
inputs (src and public minus test files, plus the Vite/TS/package config) matches
the last successful build. The signature lives in node_modules/.cache, so it is
gitignored and never rsynced to the server.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
2026-11-28 15:02:00 +00:00

37 lines
948 B
JSON

{
"name": "luminary",
"private": true,
"license": "MIT",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"server": "node server/index.mjs",
"server:dev": "node --watch server/index.mjs",
"build": "tsc --noEmit && vite build",
"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",
"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"
}
}