chore: fresh upgrade
This commit is contained in:
22
deno.json
22
deno.json
@@ -1,9 +1,7 @@
|
|||||||
{
|
{
|
||||||
"lock": false,
|
"lock": false,
|
||||||
"nodeModulesDir": "auto",
|
"nodeModulesDir": "auto",
|
||||||
"unstable": [
|
"unstable": ["cron"],
|
||||||
"cron"
|
|
||||||
],
|
|
||||||
"tasks": {
|
"tasks": {
|
||||||
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
|
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
|
||||||
"dev": "deno run --env-file -A --watch=static/,routes/ dev.ts",
|
"dev": "deno run --env-file -A --watch=static/,routes/ dev.ts",
|
||||||
@@ -13,14 +11,7 @@
|
|||||||
"preview": "deno run -A main.ts",
|
"preview": "deno run -A main.ts",
|
||||||
"update": "deno run -A -r https://fresh.deno.dev/update ."
|
"update": "deno run -A -r https://fresh.deno.dev/update ."
|
||||||
},
|
},
|
||||||
"lint": {
|
"lint": { "rules": { "tags": ["fresh", "recommended"] } },
|
||||||
"rules": {
|
|
||||||
"tags": [
|
|
||||||
"fresh",
|
|
||||||
"recommended"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"imports": {
|
"imports": {
|
||||||
"$fresh/": "https://deno.land/x/fresh@1.7.3/",
|
"$fresh/": "https://deno.land/x/fresh@1.7.3/",
|
||||||
"@components": "./components",
|
"@components": "./components",
|
||||||
@@ -56,11 +47,6 @@
|
|||||||
"fs": "https://deno.land/std/fs/mod.ts",
|
"fs": "https://deno.land/std/fs/mod.ts",
|
||||||
"imagemagick": "https://deno.land/x/imagemagick_deno@0.0.31/mod.ts"
|
"imagemagick": "https://deno.land/x/imagemagick_deno@0.0.31/mod.ts"
|
||||||
},
|
},
|
||||||
"compilerOptions": {
|
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
|
||||||
"jsx": "react-jsx",
|
"exclude": ["**/_fresh/*"]
|
||||||
"jsxImportSource": "preact"
|
|
||||||
},
|
|
||||||
"exclude": [
|
|
||||||
"**/_fresh/*"
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user