-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
70 lines (70 loc) · 3.03 KB
/
package.json
File metadata and controls
70 lines (70 loc) · 3.03 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
66
67
68
69
70
{
"name": "jore4-ui",
"version": "0.1.0",
"private": true,
"license": "EUPL-1.2",
"engines": {
"node": ">=24",
"yarn": "1.x"
},
"scripts": {
"ws:codegen": "yarn workspace @hsl/jore4-codegen",
"ws:db": "yarn workspace @hsl/jore4-test-db-manager",
"ws:ui": "yarn workspace @hsl/jore4-ui",
"ws:e2e": "yarn workspace @hsl/jore4-cypress",
"ws:tdi": "yarn workspace @hsl/timetables-data-inserter",
"dev": "yarn check-hasura-metadata && concurrently -p \"[{name}]\" -n \"UI,DB,GQL\" -c \"bgGreen.bold,bgMagenta.bold,bgBlue.bold\" \"yarn ws:ui dev\" \"yarn ws:db build --watch\" \"yarn ws:codegen generate --watch\"",
"check-hasura-metadata": "./scripts/ensure-consistent-hasura-metadata.sh",
"ts:check": "yarn ws:codegen ts:check && yarn ws:db ts:check && yarn ws:ui ts:check && yarn ws:e2e ts:check",
"prettier": "prettier --write .",
"prettier:check": "prettier --check .",
"lint": "eslint './**/*.{ts,tsx}' './ui/src/locales/**/*.json' --max-warnings=0",
"test": "yarn ws:ui test:unit",
"test:integration": "yarn ws:ui test:integration",
"test:e2e": "yarn ws:db build && yarn ws:tdi timetables-data-inserter:build && CYPRESS=true yarn ws:e2e cypress run --browser chrome",
"test:e2e:fast": "yarn test:e2e --config-file cypress.config.fast.ts",
"test:e2e:open": "yarn check-hasura-metadata --e2e && yarn ws:db build && yarn ws:tdi timetables-data-inserter:build && CYPRESS=true yarn ws:e2e cypress open",
"test:e2e:list": "yarn ws:e2e print-tests 'e2e/**.cy.ts'",
"qa": "yarn --frozen-lockfile && yarn ws:db build && yarn ws:tdi timetables-data-inserter:build && yarn ts:check && yarn prettier:check && yarn lint && yarn test && yarn test:integration && yarn test:e2e",
"qa:fast": "yarn qa --config-file cypress.config.fast.ts",
"qa:fix": "yarn lint --fix --cache && yarn prettier --log-level warn --cache"
},
"devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
"@eslint/js": "^9.39.4",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/jest": "^30.0.0",
"@types/node": "^24.12.2",
"concurrently": "^9.2.1",
"confusing-browser-globals": "^1.0.11",
"eslint": "^9.39.4",
"eslint-config-prettier": "^10.1.8",
"eslint-import-resolver-typescript": "^4.4.4",
"eslint-plugin-cypress": "^6.4.0",
"eslint-plugin-i18n-json": "4.0.1",
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-jest": "^29.15.2",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-lodash": "^8.0.0",
"eslint-plugin-n": "^17.24.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.1.1",
"globals": "^17.5.0",
"jest": "^30.3.0",
"jest-environment-jsdom": "^30.3.0",
"prettier": "^3.8.3",
"prettier-plugin-tailwindcss": "^0.8.0",
"ts-jest": "^29.4.9",
"ts-node": "^10.9.2",
"typescript": "^6.0.3",
"typescript-eslint": "^8.59.1",
"zod": "^3.25.76"
},
"workspaces": [
"codegen",
"cypress",
"test-db-manager",
"jore4-hasura/test/hasura",
"ui"
]
}