Self-contained zip (dist/avtoambor-deploy.zip) for end users on Windows 7: double-click install.bat to install Node 16, then start.bat to launch the server. start.bat self-relaunches minimized so the console window stays out of the way. Node is pinned to 16.x and several deps downgraded for Win7 compatibility; the unsupported View Transitions hook is dropped from the root layout. make bundle wraps scripts/make-bundle.sh. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
27 lines
580 B
JSON
27 lines
580 B
JSON
{
|
|
"name": "avtoambor",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": "16.x"
|
|
},
|
|
"scripts": {
|
|
"dev": "vite dev --host 0.0.0.0 --port 3000",
|
|
"build": "vite build",
|
|
"preview": "node build/index.js",
|
|
"start": "node build/index.js",
|
|
"db:init": "node scripts/init-db.js"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-node": "1.3.1",
|
|
"@sveltejs/kit": "1.30.4",
|
|
"@sveltejs/vite-plugin-svelte": "2.5.3",
|
|
"svelte": "4.2.19",
|
|
"vite": "4.5.5"
|
|
},
|
|
"dependencies": {
|
|
"better-sqlite3": "7.6.2"
|
|
}
|
|
}
|