Skip to content

Commit b581ec8

Browse files
committed
rearrange package.json file to common format and optimize gitignore file
1 parent 4c2ce9f commit b581ec8

2 files changed

Lines changed: 58 additions & 42 deletions

File tree

.gitignore

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1-
node_modules
1+
# Dependencies
2+
/node_modules
3+
4+
# Misc
5+
.DS_Store
6+
7+
# Debug
8+
npm-debug.log*
9+
10+
# IDE
11+
/.idea
12+
/.vscode
13+
14+
# Build
215
*.tsbuildinfo
16+
17+
# ESLint
18+
.eslintcache

package.json

Lines changed: 41 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,36 @@
22
"name": "@aboutbits/eslint-config",
33
"version": "2.2.3",
44
"description": "AboutBits' ESLint config presets",
5+
"author": "AboutBits",
6+
"license": "MIT",
7+
"homepage": "https://github.com/aboutbits/eslint-config",
8+
"repository": {
9+
"type": "git",
10+
"url": "git+https://github.com/aboutbits/eslint-config"
11+
},
12+
"bugs": {
13+
"url": "https://github.com/aboutbits/eslint-config/issues"
14+
},
15+
"keywords": [
16+
"eslint-config",
17+
"eslintconfig",
18+
"eslint",
19+
"typescript",
20+
"react"
21+
],
522
"private": false,
623
"publishConfig": {
724
"access": "public"
825
},
26+
"prettier": "@aboutbits/prettier-config",
27+
"main": "ts.js",
928
"files": [
1029
"readme.md",
1130
"ts.js",
1231
"ts-react.js",
1332
"ts-next.js",
1433
"formatjs.js"
1534
],
16-
"main": "ts.js",
1735
"engines": {
1836
"npm": ">=8",
1937
"node": ">=16"
@@ -30,27 +48,31 @@
3048
"ts-next:typecheck": "tsc --project tsconfig.ts-next.json --noEmit",
3149
"postversion": "git push && git push --tags"
3250
},
33-
"repository": {
34-
"type": "git",
35-
"url": "git+https://github.com/aboutbits/eslint-config"
36-
},
37-
"keywords": [
38-
"eslint-config",
39-
"eslintconfig",
40-
"eslint",
41-
"typescript",
42-
"react"
43-
],
44-
"author": "AboutBits",
45-
"license": "MIT",
46-
"bugs": {
47-
"url": "https://github.com/aboutbits/eslint-config/issues"
48-
},
49-
"homepage": "https://github.com/aboutbits/eslint-config",
5051
"dependencies": {
5152
"@typescript-eslint/parser": "^6.1.0",
5253
"eslint-config-prettier": "^8.8.0"
5354
},
55+
"devDependencies": {
56+
"@aboutbits/prettier-config": "^1.6.0",
57+
"@aboutbits/ts-config": "^1.1.2",
58+
"@types/react": "^18.2.16",
59+
"@types/react-dom": "^18.2.7",
60+
"eslint-plugin-react": "^7.33.0",
61+
"react": "^18.2.0",
62+
"react-dom": "^18.2.0",
63+
"@next/eslint-plugin-next": "^13.4.11",
64+
"@typescript-eslint/eslint-plugin": "^6.1.0",
65+
"eslint": "^8.45.0",
66+
"eslint-import-resolver-typescript": "^3.5.5",
67+
"eslint-plugin-formatjs": "^4.5.0",
68+
"eslint-plugin-import": "^2.27.5",
69+
"eslint-plugin-jsx-a11y": "^6.7.1",
70+
"eslint-plugin-prettier": "^5.0.0",
71+
"eslint-plugin-react-hooks": "^4.6.0",
72+
"eslint-plugin-tailwindcss": "^3.13.0",
73+
"prettier": "^3.0.0",
74+
"typescript": "^4.9.0 || ^5.0.0"
75+
},
5476
"peerDependencies": {
5577
"@next/eslint-plugin-next": "^13.4.11",
5678
"@typescript-eslint/eslint-plugin": "^6.1.0",
@@ -88,27 +110,5 @@
88110
"eslint-plugin-tailwindcss": {
89111
"optional": true
90112
}
91-
},
92-
"devDependencies": {
93-
"@aboutbits/prettier-config": "^1.6.0",
94-
"@aboutbits/ts-config": "^1.1.2",
95-
"@types/react": "^18.2.16",
96-
"@types/react-dom": "^18.2.7",
97-
"eslint-plugin-react": "^7.33.0",
98-
"react": "^18.2.0",
99-
"react-dom": "^18.2.0",
100-
"@next/eslint-plugin-next": "^13.4.11",
101-
"@typescript-eslint/eslint-plugin": "^6.1.0",
102-
"eslint": "^8.45.0",
103-
"eslint-import-resolver-typescript": "^3.5.5",
104-
"eslint-plugin-formatjs": "^4.5.0",
105-
"eslint-plugin-import": "^2.27.5",
106-
"eslint-plugin-jsx-a11y": "^6.7.1",
107-
"eslint-plugin-prettier": "^5.0.0",
108-
"eslint-plugin-react-hooks": "^4.6.0",
109-
"eslint-plugin-tailwindcss": "^3.13.0",
110-
"prettier": "^3.0.0",
111-
"typescript": "^4.9.0 || ^5.0.0"
112-
},
113-
"prettier": "@aboutbits/prettier-config"
113+
}
114114
}

0 commit comments

Comments
 (0)