-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
119 lines (119 loc) · 2.93 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
{
"name": "react-burger",
"version": "0.1.0",
"private": true,
"homepage": "/",
"dependencies": {
"@testing-library/jest-dom": "^5.11.4",
"@testing-library/react": "^11.1.0",
"@testing-library/user-event": "^12.1.10",
"@types/jest": "^26.0.15",
"@types/node": "^12.0.0",
"@types/react": "^17.0.38",
"@types/react-dom": "^17.0.0",
"@ya.praktikum/react-developer-burger-ui-components": "^1.12.0",
"history": "4.10.1",
"prop-types": "^15.7.2",
"react": "^17.0.2",
"react-dnd": "^14.0.4",
"react-dnd-html5-backend": "^14.0.2",
"react-dom": "^17.0.2",
"react-redux": "^7.2.6",
"react-router-dom": "5",
"react-scripts": "4.0.3",
"redux": "^4.1.2",
"redux-devtools-extension": "^2.13.9",
"redux-thunk": "^2.4.1",
"typescript": "^4.1.2",
"uuid": "^8.3.2",
"web-vitals": "^1.0.1"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --watchAll=false",
"eject": "react-scripts eject",
"cypress": "cypress open cache clear",
"predeploy-to-github": "cross-env PUBLIC_URL=/react-burger yarn build",
"deploy-to-github": "gh-pages -d build",
"predeploy-to-yandex": "yarn build",
"deploy-to-yandex": "scp -r ./build/* praktikum@84.201.178.244:/home/praktikum/react-burger"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest",
"airbnb",
"airbnb-typescript"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"indent": [
"error",
4
],
"linebreak-style": "off",
"no-empty": [
"error",
{
"allowEmptyCatch": true
}
],
"no-restricted-syntax": "off",
"no-use-before-define": "off",
"object-curly-newline": "off",
"react/jsx-filename-extension": [
"error",
{
"extensions": [
".jsx",
".tsx"
]
}
],
"react/jsx-indent": [
"error",
4
],
"react/jsx-indent-props": [
"error",
4
],
"react/prop-types": "off",
"jsx-a11y/click-events-have-key-events": "off",
"jsx-a11y/no-static-element-interactions": "off",
"@typescript-eslint/indent": [
"error",
4,
{
"SwitchCase": 0
}
]
}
},
"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/history": "^4.7.10",
"@types/react-router-dom": "^5.3.2",
"@types/uuid": "^8.3.4",
"cross-env": "^7.0.3",
"cypress": "^9.4.1",
"eslint-config-airbnb": "18.2.1",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-plugin-cypress": "^2.12.1",
"gh-pages": "^3.2.3"
}
}