-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
85 lines (85 loc) · 2.09 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
{
"name": "hotelBookApp",
"version": "0.1.0",
"private": true,
"dependencies": {
"@craco/craco": "^7.0.0",
"@heroicons/react": "^2.0.12",
"@reduxjs/toolkit": "^1.8.6",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@types/jest": "^27.5.2",
"@types/node": "^16.18.2",
"@types/react": "^18.0.23",
"@types/react-dom": "^18.0.7",
"classnames": "^2.3.2",
"cypress": "^10.11.0",
"eslint-plugin-cypress": "^2.12.1",
"jest-transform-css": "^6.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-id-generator": "^3.0.2",
"react-redux": "^8.0.4",
"react-scripts": "5.0.1",
"sass": "^1.55.0",
"swiper": "^8.4.4",
"typescript": "^4.8.4",
"web-vitals": "^2.1.4"
},
"scripts": {
"start": "craco start",
"build": "craco build",
"test": "craco test",
"eject": "craco eject",
"predeploy": "npm run build",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"plugin:cypress/recommended"
],
"rules": {
"react-hooks/exhaustive-deps": "warn",
"react-hooks/rules-of-hooks": "error",
"react/no-array-index-key": "error"
}
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/redux-mock-store": "^1.0.3",
"autoprefixer": "^10.4.13",
"gh-pages": "^5.0.0",
"msw": "0.47.4",
"postcss": "^8.4.16",
"redux-mock-store": "^1.5.4",
"tailwindcss": "^3.1.8",
"ts-jest": "^27.0.5"
},
"jest": {
"moduleNameMapper": {
"swiper/react": "swiper/react/swiper-react.js",
"swiper/css": "swiper/swiper.min.css"
},
"transform": {
"^.+\\.css$": "jest-transform-css"
},
"transformIgnorePatterns": [
"node_modules/(?!(swiper|ssr-window|dom7)/)"
]
},
"cracoConfig": "craco.config.js"
}