mirror of
https://github.com/sr229/kuru-kuru.git
synced 2024-09-20 04:10:33 +00:00
63f508cd4f
* Migrate to TailwindCSS twind is no longer supported so might as well move everything to something more sane * feat: Fix duplicate dependencies and add compilerOptions * style: Remove 'build.target' property from fresh.config.ts * feat: Added root directory configuration * feat: Update extension, update start and build scripts, update lint rules, update compiler options, update shebang, add dotenv load, add dotenv load, update stylesheet reference and add tailwind.json configuration file
40 lines
1.5 KiB
JSON
40 lines
1.5 KiB
JSON
{
|
|
"lock": false,
|
|
"nodeModulesDir": true,
|
|
"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 --unstable-kv --unstable-broadcast-channel --watch=static/,routes/ dev.ts",
|
|
"build": "deno run -A --unstable-kv --unstable-broadcast-channel dev.ts build",
|
|
"preview": "deno run -A --unstable-kv --unstable-broadcast-channel main.ts",
|
|
"update": "deno run -A -r https://fresh.deno.dev/update ."
|
|
},
|
|
"lint": {
|
|
"rules": {
|
|
"tags": [
|
|
"fresh",
|
|
"recommended"
|
|
]
|
|
}
|
|
},
|
|
"exclude": [
|
|
"**/_fresh/*"
|
|
],
|
|
"lib": { "deno.unstable": true },
|
|
"imports": {
|
|
"$fresh/": "https://deno.land/x/fresh@1.6.3/",
|
|
"preact": "https://esm.sh/preact@10.19.2",
|
|
"preact/": "https://esm.sh/preact@10.19.2/",
|
|
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.2",
|
|
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.1",
|
|
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.0",
|
|
"$std/": "https://deno.land/std@0.193.0/",
|
|
"$gfm": "https://deno.land/x/gfm@0.2.3/mod.ts",
|
|
"partytown": "https://esm.sh/@builder.io/partytown@0.8.1/react",
|
|
"tailwindcss": "npm:tailwindcss@3.3.5",
|
|
"tailwindcss/": "npm:/tailwindcss@3.3.5/",
|
|
"tailwindcss/plugin": "npm:/tailwindcss@3.3.5/plugin.js"
|
|
},
|
|
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" }
|
|
}
|