-
Notifications
You must be signed in to change notification settings - Fork 148
/
deno.json
40 lines (40 loc) · 2.32 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
{
"lock": false,
"tasks": {
"init:stripe": "deno run --allow-read --allow-env --allow-net --env tasks/init_stripe.ts",
"db:dump": "deno run --allow-read --allow-env --unstable-kv tasks/db_dump.ts",
"db:restore": "deno run --allow-read --allow-env --unstable-kv tasks/db_restore.ts",
"db:seed": "deno run --allow-read --allow-env --allow-net --unstable-kv tasks/db_seed.ts",
"db:migrate": "deno run --allow-read --allow-env --allow-net --unstable-kv tasks/db_migrate.ts",
"db:reset": "deno run --allow-read --allow-env --unstable-kv tasks/db_reset.ts",
"start": "deno run --unstable-kv -A --watch=static/,routes/ --env dev.ts",
"test": "DENO_KV_PATH=:memory: deno test -A --parallel --unstable-kv --coverage",
"check:license": "deno run --allow-read --allow-write tasks/check_license.ts",
"check:types": "deno check main.ts && deno check dev.ts && deno check tasks/*.ts",
"ok": "deno fmt --check && deno lint && deno task check:license --check && deno task check:types && deno task test",
"cov:gen": "deno coverage coverage --lcov --exclude='.tsx' --output=cov.lcov",
"update": "deno run -A -r https://fresh.deno.dev/update .",
"build": "deno run -A --unstable-kv dev.ts build",
"preview": "deno run -A --unstable-kv main.ts"
},
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
"imports": {
"@/": "./",
"$fresh/": "https://raw.githubusercontent.com/denoland/fresh/60220dd33b5b0f6b5c72927c933dbc32a3c4734e/",
"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",
"tailwindcss": "npm:tailwindcss@3.4.1",
"tailwindcss/": "npm:/tailwindcss@3.4.1/",
"tailwindcss/plugin": "npm:/tailwindcss@3.4.1/plugin.js",
"$std/": "https://deno.land/std@0.208.0/",
"stripe": "npm:/stripe@13.5.0",
"kv_oauth/": "https://deno.land/x/deno_kv_oauth@v0.9.1/",
"tabler_icons_tsx/": "https://deno.land/x/tabler_icons_tsx@0.0.4/tsx/",
"fresh_charts/": "https://deno.land/x/fresh_charts@0.3.1/"
},
"exclude": ["coverage/", "_fresh/", "**/_fresh/*"],
"lint": { "rules": { "tags": ["fresh", "recommended"] } }
}