generated from UniversityOfHelsinkiCS/toskaboiler
-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
189 lines (189 loc) · 6.78 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
{
"name": "palaute",
"version": "1.0.0",
"description": "Norppa is THE software for student feedback",
"scripts": {
"start": "docker compose up",
"start:dev": "NODE_ENV=development concurrently -k \"npm run start:dev:server\" \"npm run start:dev:front\"",
"start:dev:front": "vite",
"start:dev:server": "NODE_OPTIONS='--no-warnings --loader ts-node/esm' nodemon --watch 'src/server/**/*' -e js,ts --exec ts-node src/server/index.ts",
"start:tau": "docker compose -f docker-compose.lw-dev.yml up",
"start:redis:tau": "docker compose -f docker-compose.redis.yml up",
"start:client:tau": "npm run ts-check:client && cross-env NODE_CONFIG_ENV=tau NODE_ENV=development vite",
"start:server:tau": "npm run clean-build:server && npm run build:server && cross-env NODE_CONFIG_ENV=tau NODE_ENV=development concurrently -k \"npx tsc --project src/server/tsconfig.json --watch\" \"nodemon --inspect=0.0.0.0 -L --env-file .env ./build/server/index.js\"",
"start:prod": "NODE_ENV=production node --max-old-space-size=4096 ./build/server/index.js",
"start:test": "NODE_ENV=test node --max-old-space-size=4096 ./build/server/index.js",
"build": "npm run clean-build && npm run build:server && npm run build:client",
"build:client": "npm run ts-check:client && DISABLE_ESLINT_PLUGIN=true tsc && vite build",
"build:server": "cross-env NODE_ENV=development && tsc --build src/server",
"clean-build": "rimraf ./build",
"clean-build:server": "rimraf ./build/server",
"test": "npm run test:setup && sleep 10 && npm run test:e2e",
"test:setup": "docker compose down && docker compose -f docker-compose.ci.yml rm -vf && docker compose -f docker-compose.ci.yml up -d --build",
"test:setuplocal": "docker compose -f docker-compose.test.yml up",
"test:e2e": "CYPRESS_BASE_URL=http://localhost:8000 cypress run",
"test:cypress": "cypress open",
"test:run": "cypress run",
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,json,css,md}'",
"lint": "concurrently --kill-others-on-fail --raw \"npm run ts-check\" \"eslint 'src/**/*.{js,jsx,ts,tsx}'\"",
"bash": "docker-compose run app bash",
"reset": "docker-compose down -v && docker-compose up --build",
"ts-check:client": "tsc --skipLibCheck --noEmit --project src/client/tsconfig.json",
"ts-check:server": "tsc --skipLibCheck --noEmit --project src/server/tsconfig.json",
"ts-check": "concurrently --kill-others-on-fail --raw \"npm run ts-check:client\" \"npm run ts-check:server\"",
"prepare": "husky",
"translations": "node ./tools/analyzeTranslations.js",
"ndc": "npx no-dead-code@latest --ignore .eslintrc.js config prettier.config.js"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": "eslint",
"**/*.{js,jsx,ts,tsx,json,css,md}": "prettier --write"
},
"engines": {
"node": "23.3.0"
},
"author": "Toska",
"license": "MIT",
"dependencies": {
"@emotion/react": "11.13.5",
"@emotion/styled": "11.13.5",
"@mui/icons-material": "6.1.8",
"@mui/lab": "5.0.0-alpha.173",
"@mui/material": "6.1.8",
"@mui/utils": "6.1.8",
"@mui/x-date-pickers": "7.22.3",
"@sentry/browser": "8.40.0",
"@sentry/node": "8.40.0",
"@sentry/tracing": "7.114.0",
"@sentry/vite-plugin": "2.22.6",
"@vitejs/plugin-react-swc": "3.7.2",
"axios": "1.7.8",
"buffer": "6.0.3",
"chart.js": "3.9.1",
"chartjs-adapter-date-fns": "3.0.0",
"chartjs-plugin-annotation": "2.2.1",
"chartjs-plugin-datalabels": "2.2.0",
"classnames": "2.5.1",
"compression": "1.7.5",
"config": "3.3.12",
"date-fns": "2.30.0",
"date-fns-timezone": "0.1.4",
"dotenv": "16.4.5",
"express": "4.21.1",
"express-async-errors": "3.1.1",
"formik": "2.4.6",
"i18next": "24.0.2",
"i18next-browser-languagedetector": "8.0.0",
"i18next-fs-backend": "2.6.0",
"i18next-http-backend": "3.0.1",
"immer": "10.1.1",
"intersection-observer": "0.12.2",
"jsonwebtoken": "9.0.2",
"lodash": "4.17.21",
"lodash-es": "4.17.21",
"morgan": "1.10.0",
"node-cron": "3.0.3",
"notistack": "3.0.1",
"pg": "8.13.1",
"qs": "6.13.1",
"react": "18.3.1",
"react-chartjs-2": "4.3.1",
"react-dom": "18.3.1",
"react-dropzone": "14.3.5",
"react-helmet": "6.1.0",
"react-i18next": "15.1.2",
"react-intersection-observer": "9.13.1",
"react-markdown": "9.0.1",
"react-qr-code": "2.0.15",
"react-query": "3.39.3",
"react-router": "7.0.1",
"react-router-dom": "7.0.1",
"react-to-print": "3.0.2",
"redis": "4.7.0",
"resize-observer-polyfill": "1.5.1",
"sequelize": "6.37.5",
"umzug": "3.8.2",
"unfack-winston-gelf-transporter": "1.0.2",
"unfuck-spa-shibboleth-session": "4.1.0",
"unfuck-utf8-headers-middleware": "1.0.1",
"uuid": "11.0.3",
"vite": "5.4.11",
"winston": "3.17.0",
"xlsx": "^0.18.5",
"yup": "1.4.0"
},
"devDependencies": {
"@babel/eslint-parser": "7.25.9",
"@babel/preset-react": "7.25.9",
"@babel/preset-typescript": "7.26.0",
"@types/compression": "1.7.5",
"@types/jest": "29.5.14",
"@types/lodash": "4.17.13",
"@types/lodash-es": "4.17.12",
"@types/minimist": "1.2.5",
"@types/node": "22.10.0",
"@types/react": "18.3.12",
"@types/react-dom": "18.3.1",
"@types/react-router-dom": "5.3.3",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"browserify-fs": "1.0.0",
"concurrently": "9.1.0",
"cross-env": "7.0.3",
"cypress": "13.16.0",
"eslint": "8.57.1",
"eslint-config-airbnb": "19.0.4",
"eslint-config-airbnb-typescript": "18.0.0",
"eslint-config-prettier": "9.1.0",
"eslint-config-react-app": "7.0.1",
"eslint-plugin-cypress": "3.6.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-jsx-a11y": "6.10.2",
"eslint-plugin-prettier": "5.2.1",
"eslint-plugin-react": "7.37.2",
"husky": "9.1.7",
"lint-staged": "15.2.10",
"minimist": "1.2.8",
"nodemon": "3.1.7",
"os-browserify": "0.3.0",
"path-browserify": "1.0.1",
"prettier": "3.4.1",
"process": "0.11.10",
"react-error-overlay": "6.0.11",
"rimraf": "6.0.1",
"stream-browserify": "3.0.0",
"ts-node": "10.9.2",
"typescript": "5.7.2",
"util": "0.12.5",
"vite-plugin-eslint": "1.8.1"
},
"optionalDependencies": {
"@rollup/rollup-darwin-arm64": "4.27.4"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"nodemonConfig": {
"ignore": [
"cypress",
"src/client",
"build/client",
"**/**.log"
],
"delay": "2500"
},
"jest": {
"modulePathIgnorePatterns": [
"<rootDir>/cypress"
]
}
}