-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
109 lines (109 loc) · 2.45 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
{
"name": "konva-polygon-drawing",
"description": "A simple polygon drawing app using react-konva, redux, redux-saga",
"version": "0.1.0",
"author": "Alireza Esfahani <[email protected]>",
"license": "Apache-2.0",
"scripts": {
"start": "craco start",
"build": "craco build",
"eject": "craco eject"
},
"dependencies": {
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@mui/icons-material": "^5.10.16",
"@mui/material": "^5.10.17",
"@reduxjs/toolkit": "^1.9.1",
"keyboardjs": "^2.7.0",
"konva": "^8.3.14",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-konva": "^18.2.3",
"react-redux": "^8.0.5",
"react-scripts": "5.0.1",
"react-use": "^17.4.0",
"redux-saga": "^1.2.1"
},
"devDependencies": {
"@craco/craco": "^7.0.0",
"@types/jest": "^27.5.2",
"@types/node": "^17.0.45",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"eslint-plugin-simple-import-sort": "^8.0.0",
"prettier": "^2.8.1",
"typescript": "^4.9.3",
"web-vitals": "^2.1.4"
},
"eslintConfig": {
"extends": [
"react-app"
],
"plugins": [
"simple-import-sort"
],
"rules": {
"simple-import-sort/imports": "error",
"simple-import-sort/exports": "error"
},
"overrides": [
{
"files": [
"**/*.js",
"**/*.ts",
"**/*.tsx"
],
"rules": {
"simple-import-sort/imports": [
"error",
{
"groups": [
[
"^react$",
"^next",
"^[a-z]"
],
[
"^@"
],
[
"^~"
],
[
"^\\.\\.(?!/?$)",
"^\\.\\./?$"
],
[
"^\\./(?=.*/)(?!/?$)",
"^\\.(?!/?$)",
"^\\./?$"
]
]
}
]
}
}
]
},
"prettier": {
"semi": false,
"singleQuote": true,
"printWidth": 80,
"trailingComma": "none",
"arrowParens": "avoid",
"endOfLine": "auto"
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
}
}