-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdeno.json
More file actions
36 lines (36 loc) · 1.98 KB
/
Copy pathdeno.json
File metadata and controls
36 lines (36 loc) · 1.98 KB
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
{
"compilerOptions": {
"jsx": "react-jsx",
"jsxImportSource": "react",
"lib": ["deno.ns", "dom", "dom.iterable", "esnext"],
"noUncheckedIndexedAccess": true,
"strict": true
},
"imports": {
"@oak/oak": "jsr:@oak/oak@17.2.0",
"@std/assert": "jsr:@std/assert@1.0.19",
"@std/path": "jsr:@std/path@1.1.6",
"effect": "npm:effect@3.16.7"
},
"nodeModulesDir": "auto",
"tasks": {
"build": "deno run -A npm:vite@8.1.3 build --config frontend/vite.config.ts",
"check": "deno check api frontend qa tests",
"ci": "deno fmt --check && deno lint && deno task check && deno task test && deno task qa:api:full && deno task build",
"dev": "deno run -A npm:concurrently@9.2.1 --kill-others-on-fail --names api,web \"deno task dev:api\" \"deno task dev:web\"",
"dev:api": "STACKDRAFT_DATABASE_PATH=./data/dev/stackdraft.sqlite STACKDRAFT_PRINT_ROUTES=true deno run --watch=api,migrations --allow-env --allow-net --allow-read --allow-write api/main.ts",
"dev:web": "deno run -A npm:vite@8.1.3 --config frontend/vite.config.ts",
"db:migrate:dev": "STACKDRAFT_DATABASE_PATH=./data/dev/stackdraft.sqlite deno run --allow-env --allow-read --allow-write api/commands/db.ts migrate",
"db:reset:dev": "STACKDRAFT_DATABASE_PATH=./data/dev/stackdraft.sqlite deno run --allow-env --allow-read --allow-write api/commands/db.ts reset",
"fmt": "deno fmt",
"lint": "deno lint",
"qa:api:full": "deno run --allow-env --allow-net --allow-read --allow-write --allow-run qa/api-suite.ts --mode full",
"qa:api:smoke": "deno run --allow-net qa/api-suite.ts --mode smoke",
"setup": "bash scripts/setup.sh",
"setup:git-hooks": "bash scripts/setup-git-hooks.sh",
"start": "deno run --allow-env --allow-net --allow-read --allow-write api/main.ts",
"test": "deno task test:api && deno task test:web",
"test:api": "deno test --allow-env --allow-read --allow-write tests",
"test:web": "deno run -A npm:vitest@3.2.4 run --config frontend/vitest.config.ts"
}
}