-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
54 lines (54 loc) · 2.11 KB
/
Copy pathpackage.json
File metadata and controls
54 lines (54 loc) · 2.11 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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
{
"name": "grantledger-platform",
"private": true,
"workspaces": [
"apps/*",
"packages/*"
],
"scripts": {
"build": "npm run --workspaces --if-present build",
"lint": "eslint \"{apps,packages}/**/*.ts\"",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"typecheck": "tsc -b",
"test:watch": "vitest",
"quality:gate": "npm run lint && npm run build && npm run openapi:check && npm run test:demo && npm run test:coverage",
"test:workspaces": "npm run --workspaces --if-present test",
"test:pg": "node ./scripts/verify-pg-test-env.mjs && RUN_PG_TESTS=1 vitest run packages/infra-postgres/src",
"db:up": "docker compose up -d postgres",
"db:down": "docker compose down",
"db:migrate": "node ./scripts/db-migrate.mjs",
"selfhost:smoke": "bash ./scripts/smoke-self-hosted.sh",
"api:dev": "npm run --workspace @grantledger/api dev",
"api:start": "npm run --workspace @grantledger/api start",
"worker:dev": "npm run --workspace @grantledger/worker dev",
"worker:start": "npm run --workspace @grantledger/worker start",
"openapi:generate": "tsx ./scripts/generate-openapi.ts",
"openapi:validate": "redocly lint docs/openapi/openapi.json --config .redocly.yaml",
"openapi:drift:check": "git diff --exit-code -- docs/openapi/openapi.json",
"openapi:check": "npm run openapi:generate && npm run openapi:validate && npm run openapi:drift:check",
"demo:seed": "tsx ./scripts/demo-seed.ts",
"demo:selfhost": "tsx ./scripts/demo-self-hosted.ts",
"test:demo": "vitest run --config vitest.scripts.config.ts"
},
"packageManager": "npm@10.9.2",
"engines": {
"node": ">=22 <23",
"npm": ">=10 <11"
},
"devDependencies": {
"@redocly/cli": "^2.21.1",
"@types/luxon": "^3.7.1",
"@types/node": "^22.13.10",
"@typescript-eslint/eslint-plugin": "^8.57.0",
"@typescript-eslint/parser": "^8.57.0",
"@vitest/coverage-v8": "^4.1.0",
"eslint": "^8.57.1",
"prettier": "^3.5.3",
"tsx": "^4.21.0",
"typescript": "^5.8.2",
"vite-tsconfig-paths": "^6.1.1",
"vitest": "^4.1.0",
"yaml": "^2.8.2"
}
}