-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.json
49 lines (49 loc) · 2.57 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
{
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
"exclude": ["cov/", "**/_fresh/*"],
"fmt": { "exclude": ["static/styles.gen.css"] },
"imports": {
"@/": "./",
"$fresh/": "https://deno.land/x/fresh@1.7.3/",
"$gfm": "https://deno.land/x/gfm@0.2.4/mod.ts",
"basic_auth": "https://deno.land/x/basic_auth@v1.1.1/mod.ts",
"browserslist": "npm:browserslist@^4.22.2",
"case": "https://deno.land/x/case@2.1.1/mod.ts",
"chart.js": "https://esm.sh/stable/chart.js@4.3.0/auto?target=es2022",
"countries": "https://deno.land/x/countries@v1.1.2/mod.ts",
"fast-blurhash": "npm:fast-blurhash@^1.1.2",
"gravatar": "npm:gravatar@^1.8.2",
"kv_insights": "https://deno.land/x/deno_kv_insights@v0.8.4-beta/mod.ts",
"kv_insights/": "https://deno.land/x/deno_kv_insights@v0.8.4-beta/",
"kv_oauth": "https://deno.land/x/deno_kv_oauth@v0.10.0/mod.ts",
"kv_oauth/": "https://deno.land/x/deno_kv_oauth@v0.10.0/",
"lightningcss": "npm:lightningcss@^1.22.1",
"marked": "npm:marked@^9.0.3",
"preact": "https://esm.sh/preact@10.22.0",
"preact/": "https://esm.sh/preact@10.22.0/",
"preact-render-to-string": "https://esm.sh/*preact-render-to-string@6.2.2",
"@preact/signals": "https://esm.sh/*@preact/signals@1.2.2",
"@preact/signals-core": "https://esm.sh/*@preact/signals-core@1.5.1",
"react": "https://esm.sh/preact@10.19.2/compat",
"react-dom": "https://esm.sh/preact@10.19.2/compat",
"react/jsx-runtime": "https://esm.sh/preact@10.19.2/compat",
"std/": "https://deno.land/std@0.208.0/",
"stripe": "./stripe.ts"
},
"lint": { "rules": { "tags": ["fresh", "recommended"] } },
"lock": false,
"pkgx": "deno.land^2.1.1 github.com/evilmartians/lefthook^1.5.0",
"tasks": {
"db:dump": "deno run --allow-read --allow-env tools/dump_kv.ts",
"db:seed": "deno run --allow-read --allow-env --allow-net tools/seed_submissions.ts",
"db:reset": "deno run --allow-read --allow-env tools/reset_kv.ts",
"start": "deno run -A --env --watch=styles/,routes/,utils/ dev.ts",
"test": "KV_PATH=:memory: SITE_BASE_URL=http://localhost:8000 CLICKY_SITE_ID=site_id GITHUB_CLIENT_ID=test GITHUB_CLIENT_SECRET=test GOOGLE_CLIENT_ID=test GOOGLE_CLIENT_SECRET=test deno test -A --coverage",
"ok": "deno fmt --check && deno lint && deno check main.ts && deno task test",
"cov": "deno coverage coverage --lcov --exclude='.tsx' --output=cov.lcov",
"build": "deno run -A dev.ts build",
"preview": "deno run -A main.ts",
"update:fresh": "deno run -A -r https://fresh.deno.dev/update ."
},
"unstable": ["kv"]
}