-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
deno.jsonc
71 lines (65 loc) · 2.5 KB
/
deno.jsonc
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
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react",
"allowJs": true,
"allowArbitraryExtensions": true,
"checkJs": true,
"noImplicitOverride": true,
"noImplicitReturns": true,
"noPropertyAccessFromIndexSignature": true,
"noUncheckedIndexedAccess": true,
"strict": true,
"exactOptionalPropertyTypes": false
},
"lock": false,
"importMap": "./import_map.json",
"lint": {
"rules": {
"tags": [
"recommended",
"fresh"
]
},
"exclude": [
"./pkg/web/_lime/",
"./tmp/"
]
},
"fmt": {
"exclude": [
"./pkg/web/_lime/",
"./tmp/"
]
},
"test": {
"include": [
"./src/**/*.test.[js,jsx,ts,tsx]"
]
},
"bench": {
"include": [
"./src/**/*.bench.[js,jsx,ts,tsx]"
]
},
"tasks": {
"cleanup": "rm deno.lock && deno cache --unstable --reload ./pkg/api/mod.ts",
"generate": "deno task api:data-seed",
"test": "deno test --unstable --allow-sys --allow-net --allow-env --allow-read --allow-write --allow-run --parallel --watch",
"test:run": "deno test --unstable --allow-sys --allow-net --allow-env --allow-read --allow-write --allow-run --parallel --coverage=./etc/coverage/",
"test:coverage": "deno coverage ./etc/coverage/",
"test:generate-lcov": "deno coverage ./etc/coverage --lcov > ./etc/coverage/cov_profile.lcov",
"api:check": "deno run --unstable --check --reload ./pkg/api/mod.ts",
"api:cli": "deno repl --unstable --allow-all --eval-file=./pkg/api/cli-init.ts",
"api:data-seed": "deno run --unstable --allow-all ./pkg/api/data/seed.ts",
"api:deploy": "export $(grep -v '^#' .env.local | xargs -0) && deployctl deploy --project=$DENO_DEPLOY_PROJECT_ID ./pkg/api/main.ts",
"api:dev": "deno run --unstable --watch --allow-all ./pkg/api/main.ts",
"api:start": "deno run --unstable --allow-all ./pkg/api/main.ts",
"web:build": "deno run --allow-all ./pkg/web/dev.ts build",
"web:check": "deno check --reload ./pkg/web/dev.ts",
"web:deploy": "export $(grep -v '^#' .env.local | xargs -0) && deployctl deploy --project=$DENO_DEPLOY_PROJECT_ID ./pkg/web/main.ts",
"web:dev": "deno run --allow-sys --allow-net --allow-env --allow-read --allow-write --allow-run --watch=./pkg/web/shared/assets/,./pkg/web/routes/ ./pkg/web/dev.ts",
"web:preview": "deno run --allow-all ./pkg/web/main.ts",
"web:start": "deno run --allow-sys --allow-net --allow-env --allow-read --allow-write --allow-run ./pkg/web/main.ts"
}
}