-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpackage.json
125 lines (125 loc) · 4.83 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
{
"name": "kukkuu-admin",
"version": "3.6.0",
"private": true,
"type": "module",
"scripts": {
"app:version": "echo \"$npm_package_version\"",
"start": "vite",
"build": "cross-env NODE_OPTIONS=--max-old-space-size=8192 tsc && vite build",
"serve": "vite preview",
"typecheck": "tsc",
"test": "cross-env TZ=Europe/Helsinki vitest run",
"test:coverage": "cross-env TZ=Europe/Helsinki NODE_OPTIONS=--max-old-space-size=8192 vitest run --coverage",
"test:staged": "cross-env TZ=Europe/Helsinki vitest related --run",
"test:watch": "cross-env TZ=Europe/Helsinki vitest",
"lint": "eslint --ext js,jsx,ts,tsx,cjs,mjs .",
"format:code": "yarn lint --fix",
"format:markup": "prettier --config .prettierrc.json --write \"./**/*.{html,json,css,scss,md,mdx}\"",
"generate:graphql": "cross-env DOTENV_CONFIG_PATH=./.env graphql-codegen -r dotenv/config --config ./codegen.ts",
"test:browser": "testcafe \"chrome --window-size='1920,1080' --disable-search-engine-choice-screen\" browser-tests/ --live",
"test:browser:wsl2win": "testcafe 'path:`/mnt/c/Program Files/Google/Chrome/Application/chrome.exe`' browser-tests/ --live --dev --lang=fi-FI",
"test:browser:ci": "testcafe \"chrome:headless --disable-gpu --window-size='1920,1080' --disable-search-engine-choice-screen\" --lang=fi-FI -s path=report,takeOnFails=true --video report --reporter spec,html:report/index.html browser-tests/",
"test:browser:ci:chromium": "testcafe \"chromium:headless --disable-gpu --window-size='1920,1080' --disable-search-engine-choice-screen\" --lang=fi-FI -s path=report,takeOnFails=true --video report --reporter spec,html:report/index.html browser-tests/",
"prepare": "husky"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"dependencies": {
"@apollo/client": "^3.8.4",
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
"@hookform/resolvers": "^3.3.1",
"@mui/icons-material": "^5.14.11",
"@mui/lab": "^5.0.0-alpha.146",
"@mui/material": "^5.14.11",
"@mui/styles": "^5.14.11",
"@sentry/browser": "^7.72.0",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.5.1",
"@types/apollo-upload-client": "^17.0.3",
"@types/classnames": "^2.3.4",
"@types/dotenv": "^8.2.3",
"@types/history": "^5.0.0",
"@types/lodash": "^4.14.199",
"@types/node": "^20.7.1",
"@types/react": "^18.2.23",
"@types/react-dom": "^18.2.8",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@typescript-eslint/eslint-plugin": "^8.22.0",
"@typescript-eslint/parser": "^8.22.0",
"@vitejs/plugin-react": "^4.3.4",
"@vitest/coverage-v8": "^3.0.4",
"@vitest/eslint-plugin": "^1.1.25",
"apollo-upload-client": "^17.0.0",
"axios": "^1.5.1",
"classnames": "^2.5.1",
"codecov": "^3.8.3",
"cross-env": "^7.0.3",
"dotenv": "^16.4.7",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.0.1",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-n": "^17.15.1",
"eslint-plugin-prettier": "^5.2.3",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.4",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-vitest": "^0.5.4",
"eslint-plugin-vitest-globals": "^1.5.0",
"graphql": "^16.8.1",
"history": "^5.3.0",
"jsonwebtoken": "^9.0.2",
"moment": "^2.29.4",
"moment-timezone": "^0.5.43",
"oidc-client-ts": "^3.0.1",
"prettier": "^3.4.2",
"prop-types": "^15.8.1",
"query-string": "^8.1.0",
"ra-data-fakerest": "^4.14.3",
"ra-language-english": "^4.14.3",
"ra-language-finnish": "^4.13.0",
"ra-language-swedish": "^1.0.0",
"react": "^18.2.0",
"react-admin": "^4.16.10",
"react-dom": "^18.2.0",
"react-idle-timer": "^5.7.2",
"typescript": "<5.4.0",
"vite": "^6.0.11",
"vite-plugin-eslint": "^1.8.1",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.0.4",
"vitest-localstorage-mock": "^0.1.2",
"vitest-sonar-reporter": "^2.0.0",
"yup": "^1.3.2"
},
"devDependencies": {
"@commitlint/cli": "^19.6.1",
"@commitlint/config-conventional": "^19.6.0",
"@ffmpeg-installer/ffmpeg": "^1.1.0",
"@graphql-codegen/add": "^5.0.0",
"@graphql-codegen/cli": "^5.0.0",
"@graphql-codegen/typescript": "^4.0.1",
"@graphql-codegen/typescript-operations": "^4.0.1",
"@graphql-codegen/typescript-react-apollo": "^4.1.0",
"@testing-library/testcafe": "^5.0.0",
"doctoc": "^2.2.1",
"full-icu": "^1.5.0",
"husky": "^9.1.7",
"jsdom": "^25.0.1",
"lint-staged": "^15.4.3",
"testcafe": "^3.7.1",
"testcafe-reporter-html": "^1.4.6"
}
}