-
-
Notifications
You must be signed in to change notification settings - Fork 13
/
package.json
166 lines (166 loc) · 6.62 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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "thecombine",
"version": "2.0.0",
"license": "MIT",
"private": true,
"scripts": {
"analyze": "source-map-explorer 'build/static/js/*.js'",
"backend": "dotnet watch --project Backend/BackendFramework.csproj",
"build": "react-scripts build",
"database": "mongod --dbpath=./mongo_database",
"drop-database": "tsc scripts/dropDB.ts && node scripts/dropDB.js",
"eject": "react-scripts eject",
"find-circular-deps": "npx -y madge -c src/index.tsx",
"fmt-backend": " dotnet format && dotnet format Backend.Tests",
"fmt-backend-check": "dotnet format --verify-no-changes && dotnet format --verify-no-changes Backend.Tests",
"fmt-frontend": " prettier --write \"./{.github,.vscode,certmgr,deploy,docs,public,scripts,src}/**/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
"fmt-frontend-check": "prettier --check \"./{.github,.vscode,certmgr,deploy,docs,public,scripts,src}/**/*.{js,jsx,ts,tsx,json,md,yml,yaml}\"",
"frontend": "npm run set-release && react-scripts start",
"gen-backend-coverage-report": "tsc scripts/genBackendCoverageReport.ts && node scripts/genBackendCoverageReport.js",
"license-report-backend": " nuget-license --include-transitive --input ./Backend/BackendFramework.csproj --output JsonPretty > docs/user_guide/assets/licenses/backend_licenses.json | exit 0 && node scripts/createBackendLicenses.js",
"license-summary-backend": "nuget-license --include-transitive --input ./Backend/BackendFramework.csproj",
"license-report-frontend": " npm install && license-checker-rseidelsohn --production --excludePrivatePackages --plainVertical --out docs/user_guide/assets/licenses/frontend_licenses.txt",
"license-summary-frontend": "npm install && license-checker-rseidelsohn --production --excludePrivatePackages --summary",
"lint": " eslint --max-warnings=0 --ext js,ts,tsx,jsx src",
"lint:fix-layout": "eslint --max-warnings=0 --ext js,ts,tsx,jsx src --fix --fix-type layout,suggestion",
"predatabase": "tsc scripts/setupMongo.ts && node scripts/setupMongo.js",
"set-admin-user": "tsc scripts/setAdminUser.ts && node scripts/setAdminUser.js",
"set-release": "node scripts/setRelease.js",
"start": "npm install && npm run set-release && npm-run-all --parallel backend database frontend",
"test": "npm run test-backend && npm run test-frontend",
"test-backend": " dotnet test Backend.Tests/Backend.Tests.csproj",
"test-backend:coverage": "dotnet test Backend.Tests/Backend.Tests.csproj /p:CollectCoverage=true /p:CoverletOutputFormat=lcov /p:Threshold=77",
"test-frontend": " react-scripts test",
"test-frontend:coverage": "react-scripts test --coverage --watchAll=false",
"test-frontend:debug": " react-scripts --inspect-brk test --runInBand --no-cache",
"test:ci": "dotnet test Backend.Tests/Backend.Tests.csproj && CI=true react-scripts test --ci --all --testResultsProcessor jest-teamcity-reporter",
"wordlist": "npx -y hunspell-reader words"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@emotion/styled": "^11.11.0",
"@loadable/component": "^5.16.3",
"@marsidev/react-turnstile": "^0.7.2",
"@microsoft/signalr": "^8.0.0",
"@mui/icons-material": "^5.15.7",
"@mui/material": "^5.14.16",
"@mui/x-date-pickers": "^6.18.7",
"@redux-devtools/extension": "^3.2.5",
"@reduxjs/toolkit": "^1.9.5",
"@segment/analytics-next": "^1.55.0",
"axios": "^1.7.7",
"chart.js": "^4.4.0",
"crypto-js": "^4.2.0",
"dayjs": "^1.11.9",
"distinct-colors": "^3.0.0",
"history": "^5.3.0",
"http-status-codes": "^2.3.0",
"i18next": "^23.14.0",
"i18next-browser-languagedetector": "^8.0.0",
"i18next-http-backend": "^2.6.0",
"js-base64": "^3.7.7",
"levenshtein-search": "^0.1.2",
"make-dir": "^4.0.0",
"material-react-table": "^2.9.2",
"motion": "^10.16.2",
"mui-language-picker": "^2.1.5",
"notistack": "^3.0.1",
"nspell": "^2.1.5",
"punycode": "^2.3.0",
"react": "^18.2.0",
"react-beautiful-dnd": "^13.1.1",
"react-chartjs-2": "^5.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^15.0.1",
"react-modal": "^3.16.1",
"react-redux": "^8.1.3",
"react-router-dom": "^6.16.0",
"react-toastify": "^9.1.3",
"recordrtc": "^5.6.1",
"redux": "^4.2.1",
"redux-persist": "^6.0.0",
"redux-thunk": "^2.4.0",
"ts-key-enum": "^2.0.12",
"uuid": "^9.0.1",
"validator": "^13.11.0",
"vanilla-cookieconsent": "^3.0.1"
},
"devDependencies": {
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@testing-library/jest-dom": "^6.4.8",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/crypto-js": "^4.2.2",
"@types/css-mediaquery": "^0.1.2",
"@types/jest": "^29.5.5",
"@types/loadable__component": "^5.13.8",
"@types/node": "^20.14.0",
"@types/nspell": "^2.1.5",
"@types/react": "^18.2.61",
"@types/react-beautiful-dnd": "^13.1.8",
"@types/react-dom": "^18.2.15",
"@types/react-modal": "^3.16.1",
"@types/react-test-renderer": "^18.0.7",
"@types/recordrtc": "^5.6.12",
"@types/redux-mock-store": "^1.0.4",
"@types/segment-analytics": "^0.0.37",
"@types/uuid": "^9.0.8",
"@types/validator": "^13.11.1",
"@typescript-eslint/eslint-plugin": "^7.1.0",
"@typescript-eslint/parser": "^7.18.0",
"css-mediaquery": "^0.1.2",
"eslint": "^8.51.0",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-unused-imports": "^3.1.0",
"jest-canvas-mock": "^2.5.2",
"license-checker-rseidelsohn": "^4.3.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.3.3",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.2.0",
"redux-mock-store": "^1.5.4",
"source-map-explorer": "^2.5.3",
"typescript": "^4.9.5"
},
"jest": {
"coverageReporters": [
"cobertura",
"lcov",
"text",
"text-summary"
],
"transformIgnorePatterns": [
"/node_modules/(!${axios})"
]
},
"prettier": {
"overrides": [
{
"files": "**/*.md",
"options": {
"proseWrap": "always",
"printWidth": 120
}
}
],
"trailingComma": "es5"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"volta": {
"node": "20.14.0"
}
}