99932c5a70
- Drop pnpm: remove root package.json, pnpm-lock.yaml, web/.npmrc, web/pnpm-lock.yaml, web/scripts/bundle.mjs. - Drop prettier: remove web/.prettierrc, web/.prettierignore, prettier packages from web/package.json, prettier configs from eslint.config.js. - Add deno.json with fmt, lint, and task definitions (dev, build, check, lint, start). nodeModulesDir auto; cookie@^0.7.0 override preserved (still required by @sveltejs/kit's transitive cookie@^0.6.0). - Add web/deno.lock. - Update .gitignore: drop /node_modules (no longer needed at root), add /web/.deno-deploy/.
37 lines
727 B
JSON
37 lines
727 B
JSON
{
|
|
"tasks": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"sync": "svelte-kit sync",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint --fix .",
|
|
"start": "deno run -A serve.ts"
|
|
},
|
|
"fmt": {
|
|
"useTabs": true,
|
|
"singleQuote": true,
|
|
"lineWidth": 100,
|
|
"exclude": [
|
|
"build/",
|
|
".svelte-kit/",
|
|
"node_modules/",
|
|
".deno-deploy/",
|
|
"static/",
|
|
"docs/"
|
|
]
|
|
},
|
|
"lint": {
|
|
"exclude": [
|
|
"build/",
|
|
".svelte-kit/",
|
|
"node_modules/",
|
|
".deno-deploy/"
|
|
]
|
|
},
|
|
"nodeModulesDir": "auto",
|
|
"unstable": ["fmt-component"]
|
|
}
|