-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
110 lines (110 loc) · 4.47 KB
/
deno.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"unstable": [
"kv",
"cron"
],
"tasks": {
"build": "./scripts/build.ts",
"build:cloudflare": "./scripts/build_cloudflare.ts",
"cache": "./scripts/cache.ts",
"cache:clean": "rm -rf app/cache",
"clean": "rm -rf .cloudflare .store .wrangler bun.lockb package.json node_modules",
"gen": "./scripts/gen.ts",
"install:bun": "bunx jsr add $(./scripts/list_packages.ts jsr ./app/main_bun.ts) && bun add $(./scripts/list_packages.ts npm ./app/main_bun.ts)",
"start": "./scripts/dev.ts",
"start:kv": "STORAGE_MODULE=@jollytoad/store-deno-kv ./scripts/dev.ts",
"start:no-op": "STORAGE_MODULE=@jollytoad/store-no-op ./scripts/dev.ts",
"start:cache": "USE_CACHE=true ./scripts/dev.ts",
"start:prod": "./app/main.ts",
"start:bun": "./app/main_bun.ts",
"start:node": "./app/main_node.ts",
"start:cloudflare": "deno task build:cloudflare && bunx wrangler pages dev ./.cloudflare/dist",
"mkcert": "mkcert -install -key-file localhost-key.pem -cert-file localhost-cert.pem localhost",
"deploy": "deno run --allow-sys --allow-net --allow-read --allow-write --allow-env jsr:@deno/deployctl deploy",
"deployctl": "deno run --allow-sys --allow-net --allow-read --allow-env jsr:@deno/deployctl",
"reload": "deno cache --reload app/**/*.ts app/**/*.tsx scripts/**/*.ts service_worker/**/*.ts jsr:@check/deps jsr:@deno/deployctl",
"check": "deno check app/**/*.ts app/**/*.tsx scripts/**/*.ts service_worker/**/*.ts",
"ok": "deno fmt && deno lint && deno task check",
"lock": "rm -f deno.lock && deno task check",
"outdated": "deno run --no-lock --allow-read=. --allow-net=jsr.io,registry.npmjs.org jsr:@check/deps"
},
"compilerOptions": {
"lib": [
"dom",
"dom.iterable",
"dom.asynciterable",
"deno.ns",
"deno.unstable"
],
"jsx": "react-jsx",
"jsxImportSource": "@http/jsx-stream",
"noUncheckedIndexedAccess": true,
"verbatimModuleSyntax": true
},
"nodeModulesDir": "auto",
"exclude": [
"app/routes/_static/sw.js",
"app/routes/_static/sw_compat.js",
"app/routes/_static/prism.*",
".store",
".cloudflare",
".wrangler"
],
"fmt": {
"exclude": [
"app/cache",
"app/routes.ts"
]
},
"imports": {
"@deno/cache-dir": "jsr:@deno/cache-dir@^0.13.2",
"@deno/emit": "jsr:@deno/emit@^0.46.0",
"@deno/graph": "jsr:@deno/graph@^0.84.1",
"@hono/node-server": "npm:@hono/node-server@^1.13.5",
"@http/discovery": "jsr:@http/discovery@^0.24.0",
"@http/fs": "jsr:@http/fs@^0.24.0",
"@http/generate": "jsr:@http/generate@^0.24.0",
"@http/host-bun-local": "jsr:@http/host-bun-local@^0.24.0",
"@http/host-cloudflare-worker": "jsr:@http/host-cloudflare-worker@^0.24.0",
"@http/host-deno-deploy": "jsr:@http/host-deno-deploy@^0.24.0",
"@http/host-deno-local": "jsr:@http/host-deno-local@^0.24.0",
"@http/interceptor": "jsr:@http/interceptor@^0.24.0",
"@http/jsx-stream": "jsr:@http/jsx-stream@^0.4.0",
"@http/request": "jsr:@http/request@^0.24.0",
"@http/response": "jsr:@http/response@^0.24.0",
"@http/route": "jsr:@http/route@^0.24.0",
"@jollytoad/store": "jsr:@jollytoad/store@^0.4.0",
"@jollytoad/store-deno-fs": "jsr:@jollytoad/store-deno-fs@^0.4.0",
"@jollytoad/store-deno-kv": "jsr:@jollytoad/store-deno-kv@^0.4.0",
"@jollytoad/store-no-op": "jsr:@jollytoad/store-no-op@^0.4.0",
"@jollytoad/store-node-fs": "jsr:@jollytoad/store-node-fs@^0.4.0",
"@std/async": "jsr:@std/async@^1.0.8",
"@std/collections": "jsr:@std/collections@^1.0.9",
"@std/fs": "jsr:@std/fs@^1.0.5",
"@std/http": "jsr:@std/http@^1.0.9",
"@std/path": "jsr:@std/path@^1.0.8",
"@std/ulid": "jsr:@std/ulid@^1.0.0",
"esbuild": "npm:esbuild@^0.24.0",
"esbuild-deno-loader": "jsr:@luca/esbuild-deno-loader@^0.11.0",
"hast-util-raw": "npm:hast-util-raw@^9.0.4",
"hast-util-to-jsx-runtime": "npm:hast-util-to-jsx-runtime@^2.3.2",
"mdast-util-from-markdown": "npm:mdast-util-from-markdown@^2.0.2",
"mdast-util-gfm": "npm:mdast-util-gfm@^3.0.0",
"mdast-util-to-hast": "npm:mdast-util-to-hast@^13.2.0",
"micromark-extension-gfm": "npm:micromark-extension-gfm@^3.0.0",
"openai": "npm:openai@^4.71.1",
"urlpattern-polyfill": "npm:urlpattern-polyfill@^10.0.0"
},
"deploy": {
"project": "jollytoad",
"exclude": [
".env",
"localhost-cert.pem",
"localhost-key.pem",
"scripts",
"app/dev.ts"
],
"include": [],
"entrypoint": "app/main.ts"
}
}