4b17ca00db
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>
37 lines
948 B
JSON
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"
|
|
}
|
|
}
|