feat: some shit
This commit is contained in:
parent
d4446383c2
commit
8e8ae32a26
22
deno.json
Executable file → Normal file
22
deno.json
Executable file → Normal file
@ -2,8 +2,6 @@
|
||||
"lock": false,
|
||||
"tasks": {
|
||||
"start": "deno run -A --watch=static/,routes/ dev.ts",
|
||||
"debug": "deno run --inspect-wait -A main.ts",
|
||||
"generate-prisma": "deno run -A --unstable npm:prisma@^5.1 generate --help",
|
||||
"update": "deno run -A -r https://fresh.deno.dev/update ."
|
||||
},
|
||||
"lint": {
|
||||
@ -16,8 +14,15 @@
|
||||
},
|
||||
"imports": {
|
||||
"typesense": "https://raw.githubusercontent.com/bradenmacdonald/typesense-deno/main/mod.ts",
|
||||
"$fresh/": "https://deno.land/x/fresh@1.3.1/",
|
||||
"yaml": "https://deno.land/std@0.197.0/yaml/mod.ts",
|
||||
"@lib": "./lib",
|
||||
"@lib/": "./lib/",
|
||||
"@components": "./components",
|
||||
"@components/": "./components/",
|
||||
"@islands": "./islands",
|
||||
"@islands/": "./islands/",
|
||||
"zod": "https://deno.land/x/zod@v3.21.4/mod.ts",
|
||||
"$fresh/": "https://deno.land/x/fresh@1.3.1/",
|
||||
"preact": "https://esm.sh/preact@10.15.1",
|
||||
"preact/": "https://esm.sh/preact@10.15.1/",
|
||||
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.0",
|
||||
@ -25,17 +30,10 @@
|
||||
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.2.3",
|
||||
"twind": "https://esm.sh/twind@0.16.19",
|
||||
"twind/": "https://esm.sh/twind@0.16.19/",
|
||||
"$std/": "https://deno.land/std@0.197.0/",
|
||||
"@lib": "./lib",
|
||||
"@lib/": "./lib/",
|
||||
"@components": "./components",
|
||||
"@components/": "./components/",
|
||||
"@islands": "./islands",
|
||||
"@islands/": "./islands/",
|
||||
"zod": "https://deno.land/x/zod@v3.21.4/mod.ts"
|
||||
"$std/": "https://deno.land/std@0.193.0/"
|
||||
},
|
||||
"compilerOptions": {
|
||||
"jsx": "react-jsx",
|
||||
"jsxImportSource": "preact"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
4
main.ts
4
main.ts
@ -12,6 +12,4 @@ import manifest from "./fresh.gen.ts";
|
||||
import twindPlugin from "$fresh/plugins/twind.ts";
|
||||
import twindConfig from "./twind.config.ts";
|
||||
|
||||
await start(manifest, {
|
||||
plugins: [twindPlugin(twindConfig)],
|
||||
});
|
||||
await start(manifest, { plugins: [twindPlugin(twindConfig)] });
|
||||
|
12
package.json
12
package.json
@ -1,12 +0,0 @@
|
||||
{
|
||||
"name": "silver-api",
|
||||
"version": "1.0.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user