-
Notifications
You must be signed in to change notification settings - Fork 9
/
package.json
125 lines (125 loc) · 3.4 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
{
"name": "imc-prosperity-visualizer",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"preview": "vite preview",
"lint": "yarn lint:eslint && yarn lint:prettier",
"lint:eslint": "eslint --format codeframe 'src/**/*.ts' 'src/**/*.tsx' vite.config.ts",
"lint:prettier": "prettier --check --ignore-path .gitignore '**/*.{ts,tsx,html,yml,json}'",
"fix": "yarn fix:eslint && yarn fix:prettier",
"fix:eslint": "yarn lint:eslint --fix",
"fix:prettier": "prettier --write --ignore-path .gitignore '**/*.{ts,tsx,html,yml,json}'"
},
"dependencies": {
"@emotion/react": "^11.10.6",
"@mantine/core": "^6.0.2",
"@mantine/dropzone": "^6.0.4",
"@mantine/hooks": "^6.0.2",
"@mantine/notifications": "^6.0.2",
"@mantine/prism": "^6.0.2",
"@tabler/icons-react": "^2.11.0",
"apexcharts": "^3.37.1",
"axios": "^1.3.4",
"date-fns": "^2.29.3",
"highcharts": "^10.3.3",
"highcharts-react-official": "^3.2.0",
"lodash": "^4.17.21",
"react": "^18.2.0",
"react-apexcharts": "^1.4.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.9.0",
"zustand": "^4.3.6"
},
"devDependencies": {
"@types/lodash": "^4.14.191",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.36.0",
"eslint-config-prettier": "^8.8.0",
"eslint-formatter-codeframe": "^7.32.1",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "4.3.8",
"lint-staged": "^13.2.0",
"prettier": "^2.8.5",
"typescript": "^5.0.2",
"vite": "^4.2.1"
},
"eslintConfig": {
"root": true,
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:react-hooks/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"prettier"
],
"plugins": [
"@typescript-eslint"
],
"parser": "@typescript-eslint/parser",
"env": {
"browser": true,
"node": true
},
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-member-accessibility": "error",
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-var-requires": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/explicit-function-return-type": [
"error",
{
"allowExpressions": true
}
],
"react/react-in-jsx-scope": "off",
"react-hooks/exhaustive-deps": "off",
"import/order": [
"error",
{
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"no-constant-condition": [
"error",
{
"checkLoops": false
}
]
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged --concurrent false"
}
},
"lint-staged": {
"*.{ts,tsx}": [
"eslint --format codeframe --fix"
],
"*.{ts,tsx,html,yml,json}": [
"prettier --write"
]
},
"prettier": {
"singleQuote": true,
"trailingComma": "all",
"printWidth": 120,
"arrowParens": "avoid"
}
}