Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
39 lines (39 loc) · 1.5 KB
/
Copy pathpackage.json
File metadata and controls
39 lines (39 loc) · 1.5 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
37
38
39
{
"name": "gov-portal",
"private": true,
"type": "module",
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"setup": "bun run scripts/setup.ts",
"dev": "bun run --cwd apps/api dev",
"build": "bun run --cwd apps/api build",
"start": "bun run --cwd apps/api start",
"test": "bun run --cwd apps/api test",
"typecheck": "bun run --cwd apps/api typecheck",
"db:up": "docker compose up -d db",
"db:down": "docker compose down",
"db:generate": "bun run --cwd apps/api db:generate",
"db:migrate": "bun run --cwd apps/api db:migrate",
"db:init": "bun run --cwd apps/api db:init",
"sync:github": "bun run --cwd apps/api sync:github",
"dev:session": "bun run --cwd apps/api dev:session",
"api:lint": "redocly lint --config packages/api-contract/redocly.yaml packages/api-contract/openapi.yaml",
"api:generate": "openapi-typescript packages/api-contract/openapi.yaml -o packages/api-client/src/schema.gen.ts && biome format --write packages/api-client/src/schema.gen.ts",
"api:check": "bun run api:lint && bun run api:generate && git diff --exit-code -- packages/api-client/src/schema.gen.ts",
"lint": "biome check .",
"format": "biome format --write .",
"prepare": "husky"
},
"devDependencies": {
"@biomejs/biome": "2.5.13",
"@commitlint/cli": "^21.2.2",
"@commitlint/config-conventional": "^21.2.2",
"@redocly/cli": "^2.53.3",
"husky": "^9.1.7",
"lint-staged": "^17.5.1",
"openapi-typescript": "^7.13.0"
}
}