42 lines
1.5 KiB
JSON
42 lines
1.5 KiB
JSON
{
|
|
"name": "recipe-book",
|
|
"private": true,
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">=22.12.0",
|
|
"npm": ">=9.6.5"
|
|
},
|
|
"scripts": {
|
|
"dev": "npm run dev:site",
|
|
"dev:site": "npm run site:project && astro dev --config astro.config.mjs --port 4321",
|
|
"dev:app": "astro dev --config astro.app.config.mjs --port 4322",
|
|
"restart:app": "node scripts/restart-app.mjs",
|
|
"check": "npm run check:site && npm run check:app",
|
|
"check:site": "npm run site:project && astro check --config astro.config.mjs",
|
|
"check:app": "astro check --config astro.app.config.mjs",
|
|
"build": "npm run build:site && npm run build:app",
|
|
"build:site": "npm run site:project && astro check --config astro.config.mjs && astro build --config astro.config.mjs",
|
|
"build:app": "astro check --config astro.app.config.mjs && astro build --config astro.app.config.mjs",
|
|
"preview": "npm run preview:site",
|
|
"preview:site": "astro preview --config astro.config.mjs --port 4321",
|
|
"preview:app": "astro preview --config astro.app.config.mjs --port 4322",
|
|
"test": "vitest run",
|
|
"site:project": "node scripts/site-project.mjs",
|
|
"db:reset": "node scripts/db-sync.mjs --reset",
|
|
"db:import:yaml": "node scripts/db-sync.mjs --reset"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/node": "^11.1.1",
|
|
"@astrojs/preact": "6.0.2",
|
|
"astro": "7.2.1",
|
|
"preact": "10.29.8",
|
|
"yaml": "2.9.0"
|
|
},
|
|
"devDependencies": {
|
|
"@astrojs/check": "0.9.4",
|
|
"@types/node": "^22.10.0",
|
|
"typescript": "5.9.2",
|
|
"vitest": "4.1.10"
|
|
}
|
|
}
|