-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
165 lines (165 loc) · 5.82 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
{
"name": "grapa",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "docker compose up",
"start:prod": "NODE_ENV=production node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm src/server/index.ts",
"start:test": "NODE_ENV=test node --loader ts-node/esm src/server/index.ts",
"start:dev": "NODE_ENV=development concurrently \"nodemon --exec node --no-warnings --experimental-specifier-resolution=node --loader ts-node/esm src/server/index.ts\" \"vite\"",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testMatch '**/server/**/*.test.*' --setupFilesAfterEnv ./setupTests.ts",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testMatch '**/server/**/*.test.*' --setupFilesAfterEnv ./setupTests.ts --watchAll",
"test:front": "node --experimental-vm-modules node_modules/jest/bin/jest.js --testMatch '**/client/**/*.test.*' --setupFilesAfterEnv ./setupTests.ts",
"test:front:watch": "DEBUG_PRINT_LIMIT=100000 node --experimental-vm-modules node_modules/jest/bin/jest.js --testMatch '**/client/**/*.test.*' --setupFilesAfterEnv ./setupTests.ts --watchAll",
"test:integration": "NODE_ENV=test PORT=8001 DATABASE_URL=postgres://postgres:postgres@localhost:5433/postgres node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --testMatch '**/*.integration-test.*' --globalSetup ./setupDbForTests.cjs --globalTeardown ./teardownDbForTests.cjs --setupFilesAfterEnv ./setupIntegrationTests.ts --forceExit",
"test:integration:watch": "NODE_ENV=test PORT=8001 DATABASE_URL=postgres://postgres:postgres@localhost:5433/postgres node --experimental-vm-modules node_modules/jest/bin/jest.js --runInBand --testMatch '**/*.integration-test.*' --globalSetup ./setupDbForTests.cjs --globalTeardown ./teardownDbForTests.cjs --setupFilesAfterEnv ./setupIntegrationTests.ts --watchAll",
"lint": "eslint 'src/**/*.{ts,tsx}'",
"format": "prettier --write '**/*.{ts,tsx,json,css,md}'",
"build": "DISABLE_ESLINT_PLUGIN=true vite build",
"prepare": "husky"
},
"jest": {
"extensionsToTreatAsEsm": [
".ts",
".tsx",
".jsx"
],
"moduleNameMapper": {
"^uuid$": "uuid"
}
},
"dependencies": {
"@emotion/react": "^11.11.4",
"@emotion/styled": "^11.11.5",
"@fontsource/roboto": "^5.0.12",
"@mui/icons-material": "^6.1.5",
"@mui/material": "^6.1.5",
"@mui/x-data-grid": "^7.21.0",
"@mui/x-date-pickers": "^7.21.0",
"@sentry/browser": "^8.0.0",
"@sentry/node": "^8.0.0",
"@tanstack/react-query": "^5.32.0",
"@tanstack/react-query-devtools": "^5.32.0",
"@testing-library/react": "^16.0.0",
"@testing-library/user-event": "^14.5.2",
"axios": "^1.6.8",
"connect-redis": "^7.1.1",
"cors": "^2.8.5",
"dayjs": "^1.11.11",
"diff": "^7.0.0",
"dotenv": "^16.4.5",
"express": "^4.19.2",
"express-async-errors": "^3.1.1",
"express-session": "^1.18.0",
"i18next": "^23.11.2",
"ioredis": "^5.3.2",
"jest-extended": "^4.0.2",
"lodash-es": "^4.17.21",
"morgan": "^1.10.0",
"multer": "^1.4.5-lts.1",
"node-cron": "^3.0.3",
"notistack": "^3.0.1",
"npm": "^10.6.0",
"openid-client": "^5.6.5",
"passport": "^0.7.0",
"pg": "^8.11.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-dropzone-esm": "^15.0.1",
"react-i18next": "^15.0.0",
"react-router-dom": "^6.22.3",
"sequelize": "^6.37.3",
"umzug": "^3.8.0",
"uuid": "^11.0.0",
"winston": "^3.13.0",
"winston-gelf-transporter": "^1.0.2",
"zod": "^3.23.8"
},
"devDependencies": {
"@babel/eslint-parser": "^7.24.1",
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@babel/register": "^7.23.7",
"@eslint/js": "^9.13.0",
"@jest/globals": "^29.7.0",
"@testing-library/jest-dom": "^6.4.5",
"@types/connect-redis": "^0.0.23",
"@types/cors": "^2.8.17",
"@types/eslint": "^9.0.0",
"@types/diff": "^6.0.0",
"@types/express": "^5.0.0",
"@types/express-session": "^1.18.0",
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.12",
"@types/morgan": "^1.9.9",
"@types/multer": "^1.4.11",
"@types/node": "^22.0.0",
"@types/node-cron": "^3.0.11",
"@types/passport": "^1.0.16",
"@types/prettier": "^3.0.0",
"@types/react-dom": "^18.2.25",
"@types/react-router-dom": "^5.3.3",
"@types/supertest": "^6.0.2",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.11.0",
"@typescript-eslint/parser": "^8.11.0",
"@vitejs/plugin-react": "^4.2.1",
"babel-jest": "^29.7.0",
"concurrently": "^9.0.0",
"eslint": "^9.13.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-react": "^7.37.2",
"globals": "^15.11.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"sequelize-cli": "^6.6.2",
"supertest": "^7.0.0",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"typescript-eslint": "^8.11.0",
"vite": "^5.2.9"
},
"babel": {
"presets": [
[
"@babel/preset-typescript",
{
"allowDeclareFields": true
}
],
[
"@babel/preset-react",
{
"runtime": "automatic"
}
]
]
},
"prettier": {
"trailingComma": "es5",
"semi": false,
"singleQuote": true
},
"lint-staged": {
"src/**/*.{ts,tsx}": "eslint",
"**/*.{ts,tsx,json,css,md}": "prettier --write"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"proxy": "http://localhost:8000"
}