/
package.json
118 lines (118 loc) · 4.98 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
{
"name": "heartbeat-frontend",
"license": "MIT",
"author": "HeartBeat Team <heartbeat@thoughtworks.com>",
"description": "HeartBeat is a tool for tracking project delivery metrics that can help you get a better understanding of delivery performance. This product allows you easily get all aspects of source data faster and more accurate to analyze team delivery performance which enables delivery teams and team leaders focusing on driving continuous improvement and enhancing team productivity and efficiency.",
"private": false,
"version": "0.0.0",
"scripts": {
"start": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "eslint -c .eslintrc.json ./ && prettier --check ./",
"fix": "eslint -c .eslintrc.json --fix && npx prettier --write . --ignore-unknown",
"audit": "npx audit-ci@^6 --config ./audit-ci.jsonc",
"test": "jest",
"test:watch": "jest --watchAll",
"coverage": "jest --env=jsdom --watchAll=false --coverage",
"coverage:silent": "jest --env=jsdom --watchAll=false --coverage --silent",
"pre-e2e": "./scripts/generate-config-files.sh",
"e2e": "pnpm exec playwright test",
"e2e:major": "pnpm run pre-e2e && pnpm exec playwright test /major-path --project='Google Chrome'",
"e2e:ci": "pnpm run env:ci pnpm run pre-e2e && pnpm run env:ci pnpm run e2e",
"e2e:major-ci": "pnpm run env:ci pnpm run e2e:major",
"e2e:with-server": "pnpm run pre-e2e && ts-node --project tsconfig.scripts.json ./scripts/runE2eWithServer.ts 'pnpm run e2e:local'",
"e2e:debug": "pnpm run pre-e2e && pnpm run e2e:local --debug",
"e2e:ui": "pnpm run env:local pnpm run pre-e2e && pnpm run env:local pnpm exec playwright test --ui --headed",
"e2e:local": "pnpm run env:local pnpm run pre-e2e && pnpm run env:local pnpm exec playwright test --ui",
"e2e:report": "pnpm run pre-e2e && pnpm exec playwright show-report",
"e2e:codegen": "pnpm run pre-e2e && pnpm exec playwright codegen 13.215.41.120:4321",
"e2e:build-docker-image": "docker build -t 'heartbeat_e2e:latest' ../ -f ../ops/infra/Dockerfile.e2e",
"e2e:updateSnapshots": "pnpm run e2e:local --update-snapshots",
"e2e:updateSnapshots-docker": "docker run --rm --network=host -e APP_ORIGIN='http://host.docker.internal:4321' -v $(pwd)/e2e:/app/e2e -w /app -it heartbeat_e2e:latest pnpm run e2e:updateSnapshots",
"env:local": "dotenvx run --env-file=./e2e/.env.local --",
"env:ci": "dotenvx run --env-file=./e2e/.env.ci --",
"prepare": "cd .. && husky install frontend/.husky",
"license-compliance": "license-compliance -r detailed",
"type-check": "tsc --noEmit"
},
"lint-staged": {
"**/*.(ts|tsx)": [
"npm run lint",
"tsc-files --noEmit",
"npx prettier --write . --ignore-unknown"
]
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.0",
"@fontsource/roboto": "^5.0.12",
"@mui/icons-material": "^5.15.14",
"@mui/material": "^5.15.14",
"@mui/x-date-pickers": "^7.0.0",
"@reduxjs/toolkit": "^2.2.2",
"axios": "^1.6.8",
"dayjs": "^1.11.10",
"lodash": "^4.17.21",
"lodash.camelcase": "^4.3.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-error-boundary": "^4.0.13",
"react-redux": "^9.0.0",
"react-router-dom": "^6.22.3",
"typescript": "^5.4.2",
"vite": "^5.2.2",
"vite-plugin-pwa": "^0.19.5"
},
"devDependencies": {
"@dotenvx/dotenvx": "^0.27.0",
"@playwright/test": "^1.42.1",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^14.2.2",
"@testing-library/user-event": "^14.5.2",
"@types/jest": "^29.5.12",
"@types/lodash": "^4.17.0",
"@types/lodash.camelcase": "^4.3.9",
"@types/node": "^20.11.30",
"@types/node-fetch": "^2.6.11",
"@types/react": "^18.2.67",
"@types/react-dom": "^18.2.22",
"@types/react-redux": "^7.1.33",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"@vitejs/plugin-react-swc": "^3.6.0",
"audit-ci": "^6.6.1",
"autoprefixer": "^10.4.18",
"csv-parse": "^5.5.5",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"execa": "^8.0.1",
"husky": "^9.0.11",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"license-compliance": "^2.0.1",
"lint-staged": "^15.2.2",
"msw": "^1.3.3",
"node-fetch": "^3.3.2",
"prettier": "3.2.5",
"prettier-plugin-sort-imports": "^1.8.4",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tsc-files": "^1.1.4"
},
"engines": {
"node": ">=16.18.0"
},
"repository": "https://github.com/thoughtworks/HeartBeat.git",
"bugs": {
"url": "https://github.com/thoughtworks/HeartBeat/issues",
"email": "heartbeat@thoughtworks.com"
}
}