-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
152 lines (152 loc) · 4.96 KB
/
Copy pathpackage.json
File metadata and controls
152 lines (152 loc) · 4.96 KB
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
{
"name": "palvelutarjotin-admin",
"version": "1.22.0",
"license": "MIT",
"contributors": [
"Jori Lindell"
],
"private": true,
"type": "module",
"packageManager": "pnpm@11.9.0",
"engines": {
"node": ">=24.15.0",
"pnpm": ">=11.9.0"
},
"dependencies": {
"@apollo/client": "^3.14.0",
"@city-of-helsinki/react-helsinki-headless-cms": "^3.0.1",
"@date-fns/tz": "^1.2.0",
"@faker-js/faker": "^9.7.0",
"@nabla/vite-plugin-eslint": "^3.0.1",
"@playwright/test": "^1.60.0",
"@sentry/browser": "^10.25.0",
"@stylistic/eslint-plugin": "^5.10.0",
"@tanstack/react-table": "^8.20.0",
"@types/apollo-upload-client": "^18.0.0",
"@types/draft-js": "^0.11.20",
"@types/draftjs-to-html": "^0.8.4",
"@types/file-saver": "^2.0.7",
"@types/html-to-draftjs": "^1.5.0",
"@types/jsonwebtoken": "^9.0.9",
"@types/lodash": "^4.17.16",
"@types/node": "^20.17.43",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@types/react-draft-wysiwyg": "^1.13.9",
"@types/react-helmet": "^6.1.11",
"@eslint-react/eslint-plugin": "^5.10.0",
"@eslint/js": "^10.0.1",
"@typescript-eslint/eslint-plugin": "^8.62.1",
"@typescript-eslint/parser": "^8.62.1",
"@vitejs/plugin-react": "^6.0.3",
"@vitest/coverage-v8": "^4.1.9",
"apollo-upload-client": "^18.0.1",
"apollo3-cache-persist": "^0.15.0",
"axios": "^1.18.1",
"classnames": "^2.5.1",
"cross-env": "^7.0.3",
"date-fns": "^4.1.0",
"dotenv": "^16.5.0",
"draft-js": "^0.11.7",
"draftjs-to-html": "^0.9.1",
"eslint": "^10.6.0",
"eslint-import-resolver-typescript": "^4.4.5",
"eslint-plugin-import-x": "^4.17.1",
"eslint-plugin-jsx-a11y": "^6.10.2",
"eslint-plugin-no-only-tests": "^3.4.0",
"eslint-plugin-prettier": "^5.5.6",
"eslint-plugin-react-hooks": "^7.1.1",
"file-saver": "^2.0.5",
"formik": "^2.4.6",
"globals": "^16.1.0",
"graphql": "^16.11.0",
"graphql-tag": "^2.12.6",
"hds-design-tokens": "^6.0.2",
"hds-react": "^6.0.2",
"html-to-draftjs": "^1.5.0",
"i18next": "^24.2.3",
"i18next-browser-languagedetector": "^8.1.0",
"i18next-intervalplural-postprocessor": "^3.0.0",
"ics": "^3.8.1",
"jsdom": "^26.1.0",
"jsonwebtoken": "^9.0.3",
"msw": "^2.7.6",
"path": "^0.12.7",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-draft-wysiwyg": "^1.15.0",
"react-helmet": "^6.1.0",
"react-i18next": "^15.5.1",
"react-idle-timer": "^5.7.2",
"react-router": "^7.15.0",
"sass": "^1.87.0",
"typescript": "^5.8.3",
"use-deep-compare-effect": "^1.8.1",
"vite": "^8.1.2",
"vitest": "^4.1.9",
"vitest-axe": "^0.1.0",
"vitest-sonar-reporter": "^3.0.0",
"waait": "^1.0.5",
"yup": "^1.6.1"
},
"scripts": {
"app:version": "node printVersion.js",
"prepare": "husky",
"dev": "pnpm update-runtime-env && vite",
"update-runtime-env": "tsx --tsconfig ./scripts/tsconfig.json scripts/update-runtime-env.ts",
"build": "pnpm update-runtime-env && tsc && vite build",
"serve": "vite preview",
"test": "cross-env NODE_ENV=test TZ=Europe/Helsinki pnpm update-runtime-env && cross-env TZ=Europe/Helsinki vitest run",
"test:changed": "pnpm test --changed",
"test:coverage": "pnpm test --coverage",
"test:debug": "pnpm 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": "pnpm test:coverage",
"lint": "eslint src",
"format:code": "eslint src --fix",
"typecheck": "tsc --project ./tsconfig.json --noEmit",
"codegen": "cross-env DOTENV_CONFIG_PATH=\"./.env.development.local\" graphql-codegen -r dotenv/config --config codegen.yml",
"codegen:browser": "playwright codegen",
"test:browser:install": "playwright install",
"test:browser": "playwright test --ui",
"test:browser:ci": "playwright test",
"test:browser:report": "playwright show-report report/html"
},
"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": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"@graphql-codegen/cli": "^5.0.6",
"@graphql-codegen/typescript": "^4.1.6",
"@graphql-codegen/typescript-operations": "^4.6.1",
"@graphql-codegen/typescript-react-apollo": "^4.3.2",
"@testing-library/dom": "^10.4.1",
"@testing-library/jest-dom": "^6.9.1",
"@testing-library/react": "^16.3.2",
"@testing-library/user-event": "^14.6.1",
"doctoc": "^2.3.0",
"husky": "^9.1.7",
"lint-staged": "^16.4.0",
"prettier": "^3.5.3",
"tsx": "4.22.3"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,cjs,mjs}": [
"eslint --fix",
"prettier --write",
"pnpm test:staged"
]
}
}