-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
78 lines (78 loc) · 3.08 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
{
"name": "saituri-9000",
"version": "1.0.0",
"license": "MIT",
"packageManager": "[email protected]",
"type": "module",
"devDependencies": {
"@biomejs/biome": "^1.9.2",
"@playwright/test": "^1.47.2",
"@prisma/client": "5.20.0",
"@reduxjs/toolkit": "^2.2.7",
"@swc-node/register": "^1.10.9",
"@swc/core": "^1.7.26",
"@tabler/icons-react": "^3.19.0",
"@types/cookie-parser": "^1.4.7",
"@types/lodash": "^4.17.9",
"@types/luxon": "^3.4.2",
"@types/node": "^22.7.4",
"@types/qrcode": "^1.5.5",
"@types/react": "^18.3.10",
"@types/react-dom": "^18.3.0",
"axios": "^1.7.7",
"nodemon": "^3.1.7",
"qrcode": "^1.5.4",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.26.2",
"styled-components": "^6.1.13",
"typescript": "^5.6.2",
"vite": "^5.4.8"
},
"dependencies": {
"body-parser": "^1.20.3",
"cookie-parser": "^1.4.6",
"express": "^4.21.0",
"express-basic-auth": "^1.2.1",
"fp-ts": "^2.16.9",
"io-ts": "^2.2.21",
"lodash": "^4.17.21",
"luxon": "^3.5.0",
"pino": "^9.4.0",
"pino-http": "^10.3.0",
"pino-pretty": "^11.2.2",
"prisma": "^5.20.0",
"typera-express": "^2.4.4"
},
"scripts": {
"backend:dev:start": "SAITURI_ENV=development nodemon --watch src/backend -e ts --exec 'node --loader @swc-node/register/esm src/backend/index.ts'",
"backend:test:start": "SAITURI_ENV=test nodemon --watch src/backend -e ts --exec 'node --loader @swc-node/register/esm src/backend/testServer.ts'",
"backend:build": "NODE_ENV=production tsc",
"backend:prod:start": "NODE_ENV=production SAITURI_ENV=production node build/backend/index.js",
"frontend:dev:start": "SAITURI_ENV=development PORT=1234 vite serve src/frontend",
"frontend:build": "NODE_ENV=production vite build --base=/assets src/frontend",
"frontend:test:watch": "SAITURI_ENV=test vite build --watch --base=/assets src/frontend",
"frontend:test:build": "SAITURI_ENV=test vite build --base=/assets src/frontend",
"build": "yarn backend:build && yarn frontend:build",
"clean": "rm -rf build dist",
"infra:dev:up": "docker compose -f db-compose.yaml up -d",
"infra:dev:down": "docker compose -f db-compose.yaml down",
"infra:prod:up": "docker compose -f saituri-compose.yaml up",
"infra:prod:down": "docker compose -f saituri-compose.yaml down",
"db:generate-client": "prisma generate",
"db:dev:migrate": "prisma migrate dev",
"db:prod:migrate": "prisma migrate deploy",
"tsc:check": "tsc --noEmit",
"tsc:watch": "tsc --noEmit --watch",
"lint:check": "biome check src",
"test:e2e:ui": "e2e-tests/test-ui.sh",
"test:e2e:ci": "e2e-tests/test-ci.sh",
"db:test:start": "docker compose -f test-db-compose.yaml up -d --wait",
"db:test:stop": "docker compose -f test-db-compose.yaml down",
"dev:start": "yarn infra:dev:up; tmux new-session -d -s saituri-9000 'yarn backend:dev:start' \\; split-window -h 'yarn frontend:dev:start' \\; setw -g mouse on \\; attach"
},
"prisma": {
"schema": "db/schema.prisma"
}
}