-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
68 lines (68 loc) · 2.72 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
{
"name": "aboutme",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"eslint": "./node_modules/.bin/eslint \"app/**/*.{js,jsx,ts,tsx}\" --ignore-pattern \"app/lib/\" --ignore-pattern \"app/shared/\"",
"check-types": "tsc --noemit",
"eslint:commit": "git diff --cached --name-only | grep -E 'src.*\\.[jt]sx?$' | xargs ./node_modules/.bin/eslint --quiet",
"eslint:quiet": "./node_modules/.bin/eslint \"app/**/*.{js,jsx,ts,tsx}\" --ignore-pattern \"app/lib/\" --ignore-pattern \"app/shared/\" --quiet",
"prettier:single": "./node_modules/.bin/prettier --single-quote --no-semi --trailing-comma es5 --print-width 120 --tab-width 4 --arrow-parens avoid --write",
"prettier": "./node_modules/.bin/prettier --single-quote --no-semi --trailing-comma es5 --print-width 120 --tab-width 4 --arrow-parens avoid --write \"app/**/*.{js,jsx,ts,tsx}\"",
"prettier:svg": "./node_modules/.bin/prettier --single-quote --no-semi --trailing-comma es5 --print-width 120 --tab-width 4 --arrow-parens avoid --write \"public/**/*.svg\"",
"prettier:check": "npm run prettier -- --list-different",
"lint-staged": "lint-staged"
},
"precommit": "lint-staged",
"lint-staged": {
"app/**/*.{js,jsx,ts,tsx}": [
"npm run eslint:commit",
"prettier --single-quote --no-semi --trailing-comma es5 --print-width 120 --tab-width 4 --arrow-parens avoid --write \"!app/lib/**\" \"!app/shared/**\"",
"git add"
]
},
"dependencies": {
"@headlessui/react": "^1.7.16",
"@reduxjs/toolkit": "^1.9.5",
"@types/node": "^20.4.4",
"@types/react": "^18.2.16",
"@types/react-dom": "^18.2.7",
"autoprefixer": "^10.4.14",
"dayjs": "^1.11.9",
"dotenv": "^16.3.1",
"eslint": "8.45.0",
"eslint-config-next": "^13.4.12",
"lodash": "^4.17.21",
"next": "^14.2.3",
"postcss": "8.4.27",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "^8.1.1",
"redux-devtools-extension": "^2.13.9",
"redux-thunk": "^2.4.2",
"tailwindcss": "3.3.3",
"typescript": "5.1.6",
"universal-cookie": "^4.0.4"
},
"devDependencies": {
"@types/lodash": "^4.14.192",
"@typescript-eslint/eslint-plugin": "^5.59.5",
"@typescript-eslint/parser": "^5.59.5",
"babel-loader": "^9.1.2",
"eslint": "^8.40.0",
"eslint-config-react-app": "^7.0.1",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"eslint-plugin-react-hooks": "^4.6.0",
"lint-staged": "^13.2.2",
"pre-commit": "^1.2.2",
"prettier": "^2.8.8"
}
}