diff --git a/deno.json b/deno.json old mode 100755 new mode 100644 index 61d3735..0a36720 --- a/deno.json +++ b/deno.json @@ -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" } -} \ No newline at end of file +} diff --git a/dev.db b/dev.db deleted file mode 100644 index e69de29..0000000 diff --git a/main.ts b/main.ts index 22525bb..984b0ae 100644 --- a/main.ts +++ b/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)] }); diff --git a/package.json b/package.json deleted file mode 100644 index 6f1c6a7..0000000 --- a/package.json +++ /dev/null @@ -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" -}