-
Notifications
You must be signed in to change notification settings - Fork 150
/
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/[email protected]",
"preact/": "https://esm.sh/[email protected]/",
"preact-render-to-string": "https://esm.sh/*[email protected]",
"@preact/signals": "https://esm.sh/*@preact/[email protected]",
"@preact/signals-core": "https://esm.sh/*@preact/[email protected]",
"tailwindcss": "npm:[email protected]",
"tailwindcss/": "npm:/[email protected]/",
"tailwindcss/plugin": "npm:/[email protected]/plugin.js",
"$std/": "https://deno.land/[email protected]/",
"stripe": "npm:/[email protected]",
"kv_oauth/": "https://deno.land/x/[email protected]/",
"tabler_icons_tsx/": "https://deno.land/x/[email protected]/tsx/",
"fresh_charts/": "https://deno.land/x/[email protected]/"
},
"exclude": ["coverage/", "_fresh/", "**/_fresh/*"],
"lint": { "rules": { "tags": ["fresh", "recommended"] } }
}