forked from denoland/saaskit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdeno.json
44 lines (44 loc) · 2.5 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
{
"lock": false,
"tasks": {
"init:stripe": "deno run --allow-read --allow-env --allow-net tasks/init_stripe.ts",
"db:dump": "deno run --allow-read --allow-env --unstable tasks/db_dump.ts",
"db:restore": "deno run --allow-read --allow-env --unstable tasks/db_restore.ts",
"db:seed": "deno run --allow-read --allow-env --allow-net --unstable tasks/db_seed.ts",
"db:migrate": "deno run --allow-read --allow-env --allow-net --unstable tasks/db_migrate.ts",
"db:reset": "deno run --allow-read --allow-env --unstable tasks/db_reset.ts",
"start": "deno run --unstable -A --watch=static/,routes/ --env dev.ts",
"test": "DENO_KV_PATH=:memory: GITHUB_CLIENT_ID=xxx GITHUB_CLIENT_SECRET=xxx deno test -A --unstable --parallel --coverage=./cov",
"check:license": "deno run --allow-read --allow-write tasks/check_license.ts",
"check:types": "deno check **/*.ts && deno check **/*.tsx",
"ok": "deno fmt --check && deno lint && deno task check:license --check && deno task check:types && deno task test",
"cov:clean": "rm -rf cov html_cov cov.lcov",
"cov:gen": "deno coverage ./cov/ --lcov --exclude='.tsx' --output=cov.lcov",
"cov:view": "genhtml -o html_cov cov.lcov && open html_cov/index.html",
"update": "deno run -A -r https://fresh.deno.dev/update .",
"build": "deno run -A --unstable dev.ts build",
"preview": "deno run -A --unstable main.ts"
},
"compilerOptions": { "jsx": "react-jsx", "jsxImportSource": "preact" },
"imports": {
"@/": "./",
"$fresh/": "https://deno.land/x/[email protected]/",
"$gfm": "https://deno.land/x/[email protected]/mod.ts",
"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]",
"twind-preset-tailwind/": "https://esm.sh/@twind/[email protected]/",
"twind-preset-ext": "https://esm.sh/@twind/[email protected]/",
"std/": "https://deno.land/[email protected]/",
"stripe": "npm:/[email protected]",
"feed": "npm:/[email protected]",
"kv_oauth/": "https://deno.land/x/[email protected]/",
"tabler_icons_tsx/": "https://deno.land/x/[email protected]/tsx/",
"@twind/core": "https://esm.sh/@twind/[email protected]",
"fresh_charts/": "https://deno.land/x/[email protected]/"
},
"exclude": ["cov/", "_fresh/", "**/_fresh/*"],
"lint": { "rules": { "tags": ["fresh", "recommended"] } }
}