website/deno.json

45 lines
1.2 KiB
JSON
Raw Normal View History

2024-01-14 20:08:59 +01:00
{
"lock": false,
"tasks": {
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"cli": "echo \"import '\\$fresh/src/dev/cli.ts'\" | deno run --unstable -A -",
"manifest": "deno task cli manifest $(pwd)",
"start": "deno run -A --watch=static/,routes/ dev.ts",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts",
2024-01-14 20:50:44 +01:00
"update": "deno run -A -r https://fresh.deno.dev/update .",
"prod": "deno task build && export PORT=80 && deno task preview"
2024-01-14 20:08:59 +01:00
},
"fmt": {
"singleQuote": true,
"semiColons": false,
"useTabs": true
},
"lint": {
"rules": {
"tags": [
"fresh",
"recommended"
]
}
},
"exclude": [
"**/_fresh/*"
],
"imports": {
2024-01-27 00:26:59 +01:00
"$fresh/": "https://deno.land/x/fresh@1.6.3/",
2024-01-14 20:08:59 +01:00
"preact": "https://esm.sh/preact@10.19.2",
"preact/": "https://esm.sh/preact@10.19.2/",
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.1",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.0",
2024-01-14 20:11:08 +01:00
"$std/": "https://deno.land/std@0.208.0/",
"univoq": "https://deno.land/x/univoq@0.1.0/mod.ts",
2024-01-14 20:50:44 +01:00
"@univoq/": "https://deno.land/x/univoq@0.1.0/",
"lightningcss": "npm:lightningcss@1.22.1"
2024-01-14 20:08:59 +01:00
},
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "preact"
}
}