-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathpackage.json
61 lines (61 loc) · 2.15 KB
/
package.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
{
"name": "rboard",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {
"@types/lodash": "^4.14.164",
"lodash": "^4.17.20",
"uuid": "^8.3.0"
},
"devDependencies": {
"@playwright/test": "^1.41.1",
"@types/uuid": "^8.3.0",
"husky": "4",
"lint-staged": "^10.5.4",
"npm-run-all": "^4.1.5",
"prettier": "^2.2.1",
"tsx": "3.13.0",
"typescript": "^5.3",
"vitest": "^1.3.1"
},
"private": true,
"engines": {
"node": ">=18 <21"
},
"workspaces": [
"frontend",
"backend",
"perf-tester"
],
"scripts": {
"dev": "npm-run-all --parallel dev:db watch:frontend dev:backend typecheck:dev:frontend",
"dev-with-keycloak": "npm-run-all --parallel dev:keycloak dev",
"dev:no-db": "npm-run-all --parallel watch:frontend dev:backend",
"dev:db": "docker-compose up db||true",
"dev:keycloak": "docker-compose up keycloak||true",
"watch:frontend": "yarn --cwd frontend watch",
"dev:backend": "yarn --cwd backend dev",
"start": "yarn start:backend",
"start:backend": "yarn --cwd backend start",
"benchmark": "tsx benchmark/benchmark.ts",
"build": "yarn build:frontend && yarn build:backend && yarn build:perf-tester",
"build:frontend": "yarn --cwd frontend build",
"build:backend": "yarn --cwd backend build",
"build:perf-tester": "yarn --cwd perf-tester build",
"test:unit": "vitest --run",
"test:unit:watch": "vitest",
"test:integration": "TEST_TARGET=integration vitest --run",
"test:integration:watch": "TEST_TARGET=integration vitest",
"test:playwright": "yarn playwright test",
"test:playwright:debug": "PWDEBUG=1 yarn playwright test",
"prettier:check": "prettier --check .",
"lint": "yarn prettier:check && yarn --cwd backend lint",
"typecheck:dev:frontend": "cd frontend && tsc --noEmit --preserveWatchOutput --watch",
"perf-test:prod": "node perf-tester/dist/perf-tester/src/index.js",
"format": "prettier --write .",
"apidocs": "cd backend && yarn apidocs",
"wait-for-db": "cd backend && tsx src/tools/wait-for-db.ts",
"psql": "psql postgres://r-board:secret@localhost:13338/r-board"
}
}