-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
178 lines (178 loc) · 5.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
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
{
"name": "palvelutarjotin-admin",
"version": "1.14.0",
"license": "MIT",
"contributors": [
"Jori Lindell"
],
"private": true,
"type": "module",
"engines": {
"node": ">=18.19.1"
},
"//": [
"@testing-library/dom:",
"Multiple versions of @testing-library/dom cause issues with user-event",
"See https://github.com/testing-library/user-event/discussions/906",
"That's why @testing-library/dom has been added to resolutions.",
"",
"@apollo/client:",
"@apollo/client is resolved to 3.8.1 in order to:",
" - Not have multiple versions of @apollo/client installed",
" - To have the exact same version of @apollo/client as is in",
" react-helsinki-headless-cms v1.0.0-alpha264's yarn.lock"
],
"resolutions": {
"@testing-library/dom": "^9.3.4",
"@apollo/client": "3.8.1"
},
"dependencies": {
"@apollo/client": "3.8.1",
"@datepicker-react/hooks": "^2.8.4",
"@faker-js/faker": "^8.4.1",
"@reduxjs/toolkit": "^1.9.7",
"@sentry/browser": "^7.110.0",
"@testing-library/jest-dom": "^6.4.5",
"@testing-library/react": "^15.0.7",
"@testing-library/react-hooks": "^8.0.1",
"@testing-library/testcafe": "^5.0.1",
"@testing-library/user-event": "^14.5.2",
"@types/apollo-upload-client": "^18.0.0",
"@types/classnames": "^2.3.1",
"@types/dompurify": "^3.0.5",
"@types/draft-js": "^0.11.18",
"@types/draftjs-to-html": "^0.8.4",
"@types/file-saver": "^2.0.7",
"@types/html-to-draftjs": "^1.4.3",
"@types/lodash": "^4.17.0",
"@types/node": "^20.11.28",
"@types/pretty": "^2.0.3",
"@types/react": "18.2.19",
"@types/react-dom": "18.2.19",
"@types/react-draft-wysiwyg": "^1.13.8",
"@types/react-helmet": "^6.1.11",
"@types/react-modal": "^3.16.3",
"@types/react-redux": "^7.1.33",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@types/react-table": "^7.7.19",
"@vitejs/plugin-react": "^4.2.1",
"@vitejs/plugin-react-swc": "^3.6.0",
"@vitest/coverage-v8": "^1.6.0",
"apollo-upload-client": "^18.0.1",
"axios": "^1.6.7",
"classnames": "^2.5.1",
"cross-env": "^7.0.3",
"date-fns": "^2.30.0",
"dompurify": "^3.1.0",
"dotenv": "^16.4.5",
"draft-js": "^0.11.7",
"draftjs-to-html": "^0.9.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-testcafe": "^0.2.1",
"file-saver": "^2.0.5",
"formik": "^2.4.5",
"graphql": "^16.8.1",
"graphql-tag": "^2.12.6",
"hds-design-tokens": "^3.9.0",
"hds-react": "^3.9.0",
"html-react-parser": "^5.1.10",
"html-to-draftjs": "^1.5.0",
"i18next": "^23.11.1",
"i18next-browser-languagedetector": "^7.2.1",
"i18next-intervalplural-postprocessor": "^3.0.0",
"ics": "^3.7.2",
"jsdom": "^24.0.0",
"msw": "^1.3.2",
"oidc-client": "^1.11.5",
"path": "^0.12.7",
"react": "^18.2.0",
"react-content-loader": "^7.0.0",
"react-dom": "^18.2.0",
"react-draft-wysiwyg": "^1.15.0",
"react-helmet": "^6.1.0",
"react-helsinki-headless-cms": "1.0.0-alpha305",
"react-i18next": "^13.5.0",
"react-idle-timer": "^5.7.2",
"react-modal": "^3.16.1",
"react-redux": "^8.1.3",
"react-router": "^6.22.3",
"react-router-dom": "^6.22.3",
"react-table": "^7.8.0",
"react-toastify": "^9.1.3",
"redux-oidc": "^4.0.0-beta1",
"redux-persist": "^6.0.0",
"sass": "^1.77.1",
"testcafe": "^3.6.0",
"typescript": "^5.4.5",
"use-deep-compare-effect": "^1.8.1",
"vite": "^5.2.11",
"vite-plugin-eslint": "^1.8.1",
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0",
"vitest-axe": "^0.1.0",
"vitest-sonar-reporter": "^2.0.0",
"waait": "^1.0.5",
"yup": "^1.4.0"
},
"scripts": {
"app:version": "node printVersion.js",
"prepare": "husky install",
"dev": "vite",
"build": "tsc && vite build",
"serve": "vite preview",
"test": "cross-env TZ=Europe/Helsinki vitest run",
"test:changed": "yarn test --changed",
"test:coverage": "yarn test --coverage",
"test:debug": "yarn test --inspect-brk ----no-file-parallelism",
"test:staged": "cross-env TZ=Europe/Helsinki vitest related --run",
"test:watch": "cross-env TZ=Europe/Helsinki vitest watch",
"ci": "yarn test:coverage",
"lint": "eslint --ext js,ts,tsx src",
"lint:fix": "eslint --ext js,ts,tsx src --fix",
"typecheck": "tsc --project ./tsconfig.json --noEmit",
"browser-test": "testcafe \"chrome --window-size='1920,1080'\" testcafe/e2e/",
"browser-test:ci": "testcafe \"chrome:headless --disable-gpu --window-size='1920,1080'\" --screenshots takeOnFails=true,path=report,fullPage=true --video report testcafe/e2e/",
"browser-test:ci:chromium": "testcafe \"chromium:headless --disable-gpu --window-size='1920,1080'\" --screenshots takeOnFails=true,path=report,fullPage=true --video report testcafe/e2e/",
"codegen": "cross-env DOTENV_CONFIG_PATH=\"./.env.development.local\" graphql-codegen -r dotenv/config --config codegen.yml"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@commitlint/cli": "^19.2.1",
"@commitlint/config-conventional": "^19.1.0",
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@graphql-codegen/typescript-react-apollo": "^4.3.0",
"dequal": "^2.0.3",
"husky": "^9.0.11",
"lint-staged": "^15.2.2",
"postcss-scss": "^4.0.9",
"prettier": "^3.2.5",
"pretty": "^2.0.0",
"yarn-deduplicate": "^6.0.2"
},
"lint-staged": {
"src/**/*.{tsx,ts}": [
"eslint --fix",
"yarn test:staged",
"prettier --write"
]
}
}