40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"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",
|
|
"update": "deno run -A -r https://fresh.deno.dev/update ."
|
|
},
|
|
"lint": {
|
|
"rules": {
|
|
"tags": [
|
|
"fresh",
|
|
"recommended"
|
|
]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"**/_fresh/*"
|
|
],
|
|
"imports": {
|
|
"$fresh/": "https://deno.land/x/fresh@1.6.8/",
|
|
"$std/": "https://deno.land/std@0.216.0/",
|
|
"@preact-hooks/fetch": "jsr:@preact-hooks/fetch@^0.0.4",
|
|
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
|
|
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
|
|
"preact": "https://esm.sh/preact@10.19.6",
|
|
"preact/": "https://esm.sh/preact@10.19.6/",
|
|
"tailwindcss": "npm:tailwindcss@3.4.1",
|
|
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
|
|
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js"
|
|
},
|
|
"compilerOptions": {
|
|
"jsx": "react-jsx",
|
|
"jsxImportSource": "preact"
|
|
}
|
|
}
|