42 lines
1.2 KiB
JSON
42 lines
1.2 KiB
JSON
{
|
|
"name": "ladose.webapp",
|
|
"private": true,
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"prepare": "svelte-kit sync || echo ''",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"api:fetch": "curl -fsS ${LADOSE_API_URL:-http://localhost:5000}/openapi/v1.json -o openapi.json",
|
|
"api:types": "openapi-typescript openapi.json -o src/lib/api/schema.d.ts",
|
|
"api:sync": "npm run api:fetch && npm run api:types",
|
|
"lint": "eslint .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^10.0.1",
|
|
"@sveltejs/adapter-static": "^3.0.10",
|
|
"@sveltejs/kit": "^2.63.0",
|
|
"@sveltejs/vite-plugin-svelte": "^7.1.2",
|
|
"@tailwindcss/vite": "^4.3.3",
|
|
"eslint": "^10.8.0",
|
|
"eslint-plugin-svelte": "^3.22.0",
|
|
"globals": "^17.9.0",
|
|
"openapi-typescript": "^7.13.0",
|
|
"svelte": "^5.56.1",
|
|
"svelte-check": "^4.6.0",
|
|
"tailwindcss": "^4.3.3",
|
|
"typescript": "^6.0.3",
|
|
"typescript-eslint": "^8.66.0",
|
|
"vite": "^8.0.16",
|
|
"vitest": "^4.1.10"
|
|
},
|
|
"engines": {
|
|
"node": "^20.19 || ^22.12 || >=24"
|
|
}
|
|
}
|