-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
127 lines (127 loc) · 4.29 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
{
"name": "open-city-profile-ui",
"version": "1.16.2",
"license": "MIT",
"private": true,
"dependencies": {
"@apollo/client": "^3.9.6",
"@react-aria/visually-hidden": "^3.2.1",
"@sentry/react": "^7.103.0",
"@sinonjs/fake-timers": "^8.1.0",
"@testing-library/dom": "^9.3.4",
"@testing-library/jest-dom": "^6.4.2",
"@testing-library/react": "^12.1.4",
"@testing-library/react-hooks": "^8.0.0",
"@testing-library/user-event": "^14.5.2",
"@types/dompurify": "^2.2.2",
"@types/file-saver": "^2.0.1",
"@types/lodash": "^4.14.170",
"@types/node": "^20.11.18",
"@types/react": "^17.0.2",
"@types/react-dom": "17.0.11",
"@types/react-helmet": "^6.0.0",
"@types/react-router-dom": "^5.1.0",
"@types/sinonjs__fake-timers": "^8.1.0",
"@types/uuid": "^8.0.0",
"@types/validator": "^13.1.4",
"@types/yup": "^0.26.24",
"@vitejs/plugin-react-swc": "^3.6.0",
"ahooks": "^3.3.10",
"await-to-js": "^3.0.0",
"classnames": "^2.2.6",
"date-fns": "^2.9.0",
"dompurify": "^2.5.4",
"dotenv": "^16.4.5",
"eslint": "^8.56.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-sonarjs": "^0.13.0",
"eslint-plugin-vitest-globals": "^1.4.0",
"esrun": "^3.2.26",
"file-saver": "^2.0.2",
"formik": "^2.0.4",
"graphql": "^15.8.0",
"graphql-tag": "2.12.6",
"hds-core": "^3.8.0",
"hds-design-tokens": "^3.8.0",
"hds-react": "^3.8.0",
"history": "^4.9.0",
"http-status-typed": "^1.0.0",
"i18n-iso-countries": "^7.0.0",
"i18next": "^21.6.16",
"i18next-browser-languagedetector": "^6.1.2",
"lodash": "^4.17.21",
"oidc-client-ts": "^2.4.0",
"path": "^0.12.7",
"postcss-normalize": "^10.0.1",
"prettier": "^1.18.2",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-helmet": "^6.0.0",
"react-i18next": "^14.1.1",
"react-router": "^5.1.2",
"react-router-dom": "^5.1.2",
"react-test-renderer": "^16.13.1",
"ts-node": "^10.9.2",
"typescript": "4.9.5",
"uuid": "^8.1.0",
"validator": "^13.7.0",
"vite": "^5.2.14",
"vite-plugin-eslint": "^1.8.1",
"vite-plugin-node-polyfills": "^0.21.0",
"vite-plugin-svgr": "^4.2.0",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^1.5.2",
"vitest-fetch-mock": "^0.2.2",
"yup": "^0.32.5"
},
"scripts": {
"start": "yarn clear-babel-cache && yarn update-runtime-env && vite",
"build": "yarn typecheck && vite build",
"preview": "yarn clear-babel-cache && yarn update-runtime-env && vite preview",
"test": "cross-env NODE_ENV=test yarn update-runtime-env && vitest",
"test:e2e": "yarn playwright test",
"ci": "cross-env CI=true yarn test --coverage",
"lint": "eslint --ext js,ts,tsx src",
"codegen": "graphql-codegen --config codegen.yml",
"update-translations": "esrun --tsconfig=./scripts/tsconfig.json scripts/update-translations.ts",
"update-runtime-env": "esrun --tsconfig=./scripts/tsconfig.json scripts/update-runtime-env.ts",
"update-country-calling-codes": "esrun --tsconfig=./scripts/tsconfig.json scripts/update-country-calling-codes.ts",
"clear-babel-cache": "rm -rf ./node_modules/.cache/@babel",
"typecheck": "tsc --skipLibCheck --noEmit --project tsconfig.json",
"postinstall": "if test \"$NODE_ENV\" != \"production\" ; then husky install ; fi && yarn update-runtime-env"
},
"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": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@graphql-codegen/cli": "^5.0.2",
"@graphql-codegen/typescript": "^4.0.6",
"@graphql-codegen/typescript-operations": "^4.2.0",
"@playwright/test": "^1.44.1",
"@vitest/coverage-istanbul": "^1.3.1",
"cross-env": "^7.0.3",
"helsinki-utils": "City-of-Helsinki/helsinki-utils-js#0.1.0",
"husky": "^9.0.11",
"jsdom": "^24.0.0"
},
"resolutions": {
"node-fetch": "^2.6.7",
"braces": "^3.0.3",
"micromatch": "^4.0.6"
}
}