-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
65 lines (65 loc) Β· 2.62 KB
/
Copy pathpackage.json
File metadata and controls
65 lines (65 loc) Β· 2.62 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
55
56
57
58
59
60
61
62
63
64
65
{
"name": "mashov-workspace",
"version": "1.0.0",
"private": true,
"scripts": {
"lint": "npm run lint:backend && npm run typecheck:backend && npm run lint:frontend && npm run lint:tests",
"lint:backend": "npm --prefix backend run lint",
"typecheck:backend": "npm --prefix backend run typecheck",
"lint:frontend": "npm --prefix frontend run lint",
"lint:tests": "backend/node_modules/.bin/eslint --resolve-plugins-relative-to backend --config tests/.eslintrc.cjs \"tests/**/*.ts\" --max-warnings 0",
"format": "npm run format:backend && npm run format:frontend && npm run format:tests",
"format:backend": "npm --prefix backend run lint -- --fix",
"format:frontend": "npm --prefix frontend run lint -- --fix",
"format:tests": "backend/node_modules/.bin/eslint --resolve-plugins-relative-to backend --config tests/.eslintrc.cjs \"tests/**/*.ts\" --fix",
"audit": "npm run audit:backend && npm run audit:frontend",
"audit:backend": "npm --prefix backend audit",
"audit:frontend": "npm --prefix frontend audit",
"audit:fix": "npm run audit:fix:backend && npm run audit:fix:frontend",
"audit:fix:backend": "npm --prefix backend audit fix",
"audit:fix:frontend": "npm --prefix frontend audit fix",
"test:unit": "docker compose -f docker-compose.yml --profile test up --build --abort-on-container-exit --exit-code-from unit unit",
"test:integration": "docker compose -f docker-compose.yml --profile test up --build --abort-on-container-exit --exit-code-from integration integration",
"test:e2e": "docker compose -f docker-compose.yml --profile test up --build --abort-on-container-exit --exit-code-from e2e e2e",
"test:e2e:fast": "docker compose -f docker-compose.yml --profile test up --abort-on-container-exit --exit-code-from e2e e2e"
},
"overrides": {
"multer": ">=2.1.1",
"file-type": ">=21.3.3",
"lodash": ">=4.17.21"
},
"devDependencies": {
"@playwright/test": "^1.41.0",
"@types/jest": "^29.5.11",
"@types/node": "^22.0.0",
"@types/supertest": "^6.0.2",
"jest": "^29.7.0",
"supertest": "^6.3.4",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": ".",
"testRegex": "tests/integration/.*\\.test\\.ts$",
"transform": {
"^.+\\.(t|j)s$": [
"ts-jest",
{
"tsconfig": "tsconfig.integration.json"
}
]
},
"testEnvironment": "node",
"modulePathIgnorePatterns": [
"<rootDir>/frontend/.next/"
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/frontend/src/$1"
}
}
}