-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
212 lines (212 loc) · 6.71 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
{
"name": "next-tailwind-starter",
"version": "12.11.3",
"private": true,
"scripts": {
"dev": "next dev",
"build": "NEXT_TELEMETRY_DISABLED=1 next build",
"start": "next start --port ${PORT:=3000}",
"lint": "next lint",
"lint:fix": "eslint src --fix && yarn format",
"format": "prettier --write src",
"build-stats": "cross-env ANALYZE=true npm run build",
"export": "next export",
"build-prod": "run-s clean build export",
"clean": "rimraf .next out",
"build-types": "tsc --noEmit --pretty",
"prepare": "husky install",
"build:docker": "docker build -t $npm_package_name:latest -t $npm_package_name:v$npm_package_version .",
"run:docker": "docker run -p 3000:3000 $npm_package_name:latest"
},
"dependencies": {
"@floating-ui/react-dom": "^0.3.3",
"@headlessui/react": "^1.4.3",
"@heroicons/react": "^1.0.5",
"@splitbee/web": "^0.3.0",
"@supabase/supabase-js": "^1.29.4",
"@tailwindcss/forms": "^0.4.0",
"@tailwindcss/line-clamp": "^0.3.0",
"@tailwindcss/typography": "^0.5.0",
"akar-icons": "^1.9.5",
"framer-motion": "^5.5.4",
"next": "12.0.7",
"next-themes": "^0.0.15",
"phosphor-react": "^1.3.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"styled-jsx-plugin-postcss": "^4.0.1"
},
"devDependencies": {
"@babel/core": "^7.16.5",
"@next/bundle-analyzer": "^12.0.7",
"@types/node": "^17.0.4",
"@types/react": "^17.0.38",
"@types/tailwindcss": "^2.2.4",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"autoprefixer": "^10.4.0",
"clsx": "^1.1.1",
"cross-env": "^7.0.3",
"cssnano": "^5.0.14",
"eslint": "^8.5.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-airbnb-typescript": "^16.1.0",
"eslint-config-next": "^12.0.7",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.28.0",
"eslint-plugin-react-hooks": "^4.3.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^2.0.0",
"husky": "^7.0.4",
"lint-staged": "^12.1.4",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.5",
"prettier": "^2.5.1",
"rimraf": "^3.0.2",
"sharp": "^0.29.3",
"tailwindcss": "^3.0.7",
"typescript": "^4.5.4"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,}": [
"eslint --fix",
"prettier -w"
],
"**/*.ts?(x)": [
"npm run build-types"
],
"src/**/*.{json,css,scss,md}": [
"prettier -w"
]
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"eslintConfig": {
"env": {
"browser": true,
"es2021": true,
"node": true
},
"plugins": [
"@typescript-eslint",
"simple-import-sort"
],
"extends": [
"eslint:recommended",
"next",
"next/core-web-vitals",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-unused-vars": "off",
"no-console": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-var-requires": "off",
"@next/next/no-img-element": "off",
"simple-import-sort/exports": "warn",
"simple-import-sort/imports": [
"warn",
{
"groups": [
[
"^@?\\w",
"^\\u0000"
],
[
"^.+\\.s?css$"
],
[
"^@/lib",
"^@/hooks"
],
[
"^@/assets"
],
[
"^@/components"
],
[
"^@/"
],
[
"^\\./?$",
"^\\.(?!/?$)",
"^\\.\\./?$",
"^\\.\\.(?!/?$)",
"^\\.\\./\\.\\./?$",
"^\\.\\./\\.\\.(?!/?$)",
"^\\.\\./\\.\\./\\.\\./?$",
"^\\.\\./\\.\\./\\.\\.(?!/?$)"
],
[
"^@/types"
],
[
"^"
]
]
}
],
"import/order": [
"error",
{
"groups": [
"builtin",
"external",
"internal"
],
"pathGroups": [
{
"pattern": "react",
"group": "external",
"position": "before"
}
],
"pathGroupsExcludedImportTypes": [
"react"
],
"newlines-between": "always",
"alphabetize": {
"order": "asc",
"caseInsensitive": true
}
}
],
"@typescript-eslint/no-unused-vars": "off",
"unused-imports/no-unused-imports": "error",
"unused-imports/no-unused-vars": [
"error",
{
"argsIgnorePattern": "^_"
}
]
},
"globals": {
"React": true,
"JSX": true
}
},
"eslintIgnore": [
"build"
],
"prettier": {
"arrowParens": "always",
"bracketSpacing": true,
"jsxSingleQuote": true,
"printWidth": 125,
"semi": false,
"singleQuote": true,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
}
}