/
package.json
146 lines (146 loc) · 3.7 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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "tradevise",
"version": "1.0.0",
"license": "MIT",
"private": true,
"scripts": {
"build": "next build",
"dev": "next dev",
"format": "prettier --write .",
"lint": "eslint .",
"prepare": "husky install",
"start": "next start",
"test": "jest"
},
"dependencies": {
"@fortawesome/fontawesome-svg-core": "^1.3.0",
"@fortawesome/free-solid-svg-icons": "^6.0.0",
"@fortawesome/react-fontawesome": "^0.1.17",
"axios": "^0.26.0",
"classnames": "^2.3.1",
"next": "^12.1.0",
"next-seo": "^5.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"swr": "^1.2.2"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.16.2",
"@testing-library/react": "^12.1.3",
"@types/node": "^17.0.19",
"@types/react": "^17.0.39",
"@typescript-eslint/eslint-plugin": "^5.12.1",
"@typescript-eslint/parser": "^5.12.1",
"autoprefixer": "^10.4.2",
"eslint": "^8.9.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-next": "^12.1.0",
"eslint-config-prettier": "^8.4.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"postcss": "^8.4.6",
"prettier": "^2.5.1",
"react-test-renderer": "^17.0.2",
"tailwindcss": "^3.0.23",
"typescript": "^4.5.5"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write ."
]
},
"browserslist": [
">1%",
"not ie 11",
"not dead",
"not op_mini all"
],
"prettier": {
"singleQuote": true,
"printWidth": 100,
"trailingComma": "all",
"arrowParens": "always",
"endOfLine": "lf"
},
"eslintConfig": {
"ignorePatterns": [
"**/node_modules/",
"out/",
".next/",
".husky/"
],
"extends": [
"airbnb-base",
"prettier"
],
"overrides": [
{
"files": [
"*.ts?(x)"
],
"extends": [
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"airbnb",
"airbnb-typescript",
"next/core-web-vitals",
"prettier"
],
"parserOptions": {
"project": "./tsconfig.json"
},
"rules": {
"prefer-arrow-callback": [
"error",
{
"allowNamedFunctions": true
}
],
"react/jsx-props-no-spreading": "off",
"react/function-component-definition": [
"warn",
{
"namedComponents": "arrow-function",
"unnamedComponents": "arrow-function"
}
],
"import/prefer-default-export": "off",
"import/no-default-export": "warn",
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal"
],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": [
"react"
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
]
}
}
]
}
}