-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
128 lines (128 loc) · 3.57 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
{
"name": "orgrek-frontend",
"version": "0.1.0",
"private": true,
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.11.0",
"@mui/material": "^5.11.7",
"@mui/utils": "^5.11.9",
"@mui/x-data-grid": "^6.6.0",
"@mui/x-date-pickers": "^5.0.17",
"bootstrap": "^5.1.3",
"classnames": "^2.3.2",
"date-fns": "^2.29.3",
"date-fns-tz": "^2.0.0",
"dateformat": "^5.0.3",
"i18next": "^21.1.0",
"i18next-browser-languagedetector": "^6.1.2",
"i18next-chained-backend": "^4.2.0",
"i18next-http-backend": "^1.3.1",
"i18next-resources-to-backend": "^1.1.3",
"lodash": "^4.17.21",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-datepicker": "^4.3.0",
"react-dom": "^18.2.0",
"react-i18next": "^11.12.0",
"react-redux": "^7.2.4",
"react-redux-i18n": "^1.9.3",
"react-router-dom": "^6.11.1",
"redux": "^4.1.1",
"redux-thunk": "^2.3.0",
"styled-components": "^5.3.5",
"web-vitals": "^1.0.1",
"yup": "^1.1.0"
},
"devDependencies": {
"@babel/preset-env": "^7.15.8",
"@babel/preset-react": "^7.14.5",
"@reduxjs/toolkit": "^1.6.2",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.0.1",
"@testing-library/user-event": "^14.4.3",
"ajv": "^8.17.1",
"axe-playwright": "^2.0.0",
"concurrently": "^7.6.0",
"cypress": "^10.1.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-cypress": "^3.6.0",
"eslint-plugin-react": "^7.26.1",
"http-server": "^14.1.1",
"husky": "^8.0.3",
"i18next-scanner": "^4.2.0",
"jest": "^28.1.3",
"jest-environment-jsdom": "^29.5.0",
"jest-fixed-jsdom": "^0.0.9",
"json-server": "1.0.0-beta.3",
"lint-staged": "^13.1.1",
"msw": "^2.0.0",
"prettier": "2.8.4",
"react-scripts": "^5.0.1",
"react-test-renderer": "^18.2.0"
},
"jest": {
"testEnvironment": "jsdom",
"setupFilesAfterEnv": [
"<rootDir>/src/setupTests.js"
],
"collectCoverageFrom": [
"src/**/*.{js,jsx}",
"!src/**/*.stories.{js,jsx}",
"!<rootDir>/node_modules/",
"!<rootDir>/path/to/dir/"
]
},
"scripts": {
"start": "react-scripts start",
"start:server": "json-server --watch db.json --routes routes.json --port 3003",
"dev": "REACT_APP_GIT_HASH=\"$(git rev-parse --short=7 HEAD)\" react-scripts start",
"build": "REACT_APP_GIT_HASH=\"$(git rev-parse --short=7 HEAD)\" react-scripts build",
"postbuild": "rm build/mockServiceWorker.js",
"test": "TZ=Europe/Helsinki jest --coverage --testEnvironment jest-fixed-jsdom",
"eject": "react-scripts eject",
"lint": "eslint --fix .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"cypress:open": "cypress open",
"i18n": "i18next-scanner --config i18next-scanner.config.js",
"prepare": "husky install"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
],
"overrides": [
{
"files": [
"**/*.stories.*"
],
"rules": {
"import/no-anonymous-default-export": "off"
}
}
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"lint-staged": {
"*.{js,jsx}": "eslint --cache --fix",
"*.{js,jsx,json,css,html,yml,md}": "prettier --write"
},
"msw": {
"workerDirectory": "public"
}
}