45 lines
974 B
JSON
45 lines
974 B
JSON
|
{
|
||
|
"tasks": {
|
||
|
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
|
||
|
"dev": "deno run -A --watch=static/,routes/ dev.ts",
|
||
|
"build": "deno run -A dev.ts build",
|
||
|
"start": "deno run -A main.ts",
|
||
|
"update": "deno run -A -r jsr:@fresh/update ."
|
||
|
},
|
||
|
"lint": {
|
||
|
"rules": {
|
||
|
"tags": [
|
||
|
"fresh",
|
||
|
"recommended"
|
||
|
]
|
||
|
}
|
||
|
},
|
||
|
"exclude": [
|
||
|
"**/_fresh/*"
|
||
|
],
|
||
|
"imports": {
|
||
|
"fresh": "jsr:@fresh/core@^2.0.0-alpha.25",
|
||
|
"@fresh/plugin-tailwind": "jsr:@fresh/plugin-tailwind@^0.0.1-alpha.7",
|
||
|
"preact": "npm:preact@^10.24.3",
|
||
|
"@preact/signals": "npm:@preact/signals@^1.3.0"
|
||
|
},
|
||
|
"compilerOptions": {
|
||
|
"lib": [
|
||
|
"dom",
|
||
|
"dom.asynciterable",
|
||
|
"dom.iterable",
|
||
|
"deno.ns"
|
||
|
],
|
||
|
"jsx": "precompile",
|
||
|
"jsxImportSource": "preact",
|
||
|
"jsxPrecompileSkipElements": [
|
||
|
"a",
|
||
|
"img",
|
||
|
"source",
|
||
|
"body",
|
||
|
"html",
|
||
|
"head"
|
||
|
]
|
||
|
}
|
||
|
}
|