-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
98 lines (98 loc) · 2.85 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
{
"name": "infraohjelmointi-ui",
"version": "0.1.0",
"private": true,
"dependencies": {
"@react-pdf/renderer": "^3.1.12",
"@reduxjs/toolkit": "^1.9.0",
"@types/autosize": "^4.0.1",
"@types/file-saver": "^2.0.5",
"@types/jest": "^27.5.2",
"@types/jwt-decode": "^3.1.0",
"@types/lodash": "^4.14.191",
"@types/node": "^16.18.3",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.8",
"autosize": "^6.0.1",
"axios": "^1.7.8",
"craco": "^0.0.3",
"file-saver": "^2.0.5",
"hds-core": "^4.0.0",
"hds-react": "^4.0.0",
"i18next": "^22.0.4",
"i18next-browser-languagedetector": "^7.0.1",
"i18next-http-backend": "^2.0.1",
"jwt-decode": "^3.1.2",
"lodash": "^4.17.21",
"moment": "^2.29.4",
"oidc-client-ts": "^2.2.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.39.5",
"react-i18next": "^12.0.0",
"react-intersection-observer": "^9.4.1",
"react-oidc-context": "^2.2.2",
"react-redux": "^8.0.5",
"react-router": "6.8.2",
"react-router-dom": "6.8.2",
"react-scripts": "5.0.1",
"typescript": "^4.8.4",
"use-deep-compare-effect": "^1.8.1"
},
"scripts": {
"start": "PORT=4000 craco start",
"build": "craco build",
"test": "react-scripts test --env=jsdom",
"test:coverage": "yarn test --coverage",
"test:ci": "CI=true yarn test:coverage --ci",
"lint": "eslint 'src/**/*.{js,jsx,ts,tsx,json}'",
"lint:fix": "eslint --fix 'src/**/*.{js,jsx,ts,tsx,json}'",
"format": "prettier --write 'src/**/*.{js,jsx,ts,tsx,css,md,json}' --config ./.prettierrc.json",
"create-env": "cp .env.template .env.development && cp .env.template .env.production"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"jest": {
"transformIgnorePatterns": [
"node_modules/(?!your-module-name)/\""
],
"moduleNameMapper": {
"^@/(.*)$": "<rootDir>/src/$1"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^14.4.3",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"css-loader": "^6.7.1",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-import-resolver-typescript": "^3.5.2",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react-hooks": "^4.6.0",
"prettier": "^2.8.4",
"prettier-plugin-tailwindcss": "^0.2.3",
"tailwindcss": "^3.2.7",
"ts-node": "^10.9.1"
}
}