Skip to content

Commit eb2c856

Browse files
committed
chore: sort package.json
1 parent 49467c0 commit eb2c856

File tree

1 file changed

+63
-63
lines changed

1 file changed

+63
-63
lines changed

package.json

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -2,37 +2,79 @@
22
"name": "@eslint-community/eslint-plugin-eslint-comments",
33
"version": "0.0.0-semantically-released",
44
"description": "Additional ESLint rules for ESLint directive comments.",
5-
"engines": {
6-
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
5+
"keywords": [
6+
"eslint",
7+
"eslintplugin",
8+
"eslint-plugin",
9+
"plugin",
10+
"comment",
11+
"comments",
12+
"directive",
13+
"global",
14+
"globals",
15+
"exported",
16+
"eslint-env",
17+
"eslint-enable",
18+
"eslint-disable",
19+
"eslint-disable-line",
20+
"eslint-disable-next-line"
21+
],
22+
"homepage": "https://github.com/eslint-community/eslint-plugin-eslint-comments#readme",
23+
"bugs": {
24+
"url": "https://github.com/eslint-community/eslint-plugin-eslint-comments/issues"
725
},
8-
"main": "index.js",
9-
"types": "./types/index.d.ts",
26+
"repository": {
27+
"type": "git",
28+
"url": "https://github.com/eslint-community/eslint-plugin-eslint-comments"
29+
},
30+
"funding": "https://opencollective.com/eslint",
31+
"license": "MIT",
32+
"author": "Toru Nagashima",
1033
"type": "commonjs",
11-
"files": [
12-
"configs.js",
13-
"lib",
14-
"types"
15-
],
1634
"exports": {
17-
"./package.json": "./package.json",
35+
".": {
36+
"types": "./types/index.d.ts",
37+
"default": "./index.js"
38+
},
1839
"./configs": {
1940
"types": "./types/configs.d.ts",
2041
"default": "./configs.js"
2142
},
22-
".": {
23-
"types": "./types/index.d.ts",
24-
"default": "./index.js"
25-
}
43+
"./package.json": "./package.json"
2644
},
45+
"main": "index.js",
46+
"types": "./types/index.d.ts",
2747
"typesVersions": {
2848
"*": {
2949
"configs": [
3050
"./types/configs.d.ts"
3151
]
3252
}
3353
},
34-
"peerDependencies": {
35-
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
54+
"files": [
55+
"configs.js",
56+
"lib",
57+
"types"
58+
],
59+
"scripts": {
60+
"check-exports": "attw --pack",
61+
"clean": "rimraf .nyc_output coverage docs/.vitepress/cache",
62+
"coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html",
63+
"debug": "mocha \"tests/lib/**/*.js\" --reporter dot --timeout 8000",
64+
"docs:build": "vitepress build docs",
65+
"docs:watch": "vitepress dev docs",
66+
"format": "npm run -s format:prettier -- --write",
67+
"format:check": "npm run -s format:prettier -- --check",
68+
"format:prettier": "prettier .",
69+
"lint": "run-p lint:*",
70+
"lint:eslint": "eslint lib scripts tests",
71+
"lint:format": "npm run -s format:check",
72+
"test": "nyc npm run debug",
73+
"test:types": "tsc -p tsconfig.json",
74+
"preversion": "npm test",
75+
"version": "node scripts/update && git add .",
76+
"postversion": "git push && git push --tags",
77+
"watch": "npm run -s test -- --watch --growl"
3678
},
3779
"dependencies": {
3880
"escape-string-regexp": "^4.0.0",
@@ -64,52 +106,10 @@
64106
"vite-plugin-eslint4b": "^0.2.5",
65107
"vitepress": "^1.6.4"
66108
},
67-
"scripts": {
68-
"preversion": "npm test",
69-
"version": "node scripts/update && git add .",
70-
"postversion": "git push && git push --tags",
71-
"clean": "rimraf .nyc_output coverage docs/.vitepress/cache",
72-
"docs:build": "vitepress build docs",
73-
"docs:watch": "vitepress dev docs",
74-
"format": "npm run -s format:prettier -- --write",
75-
"format:prettier": "prettier .",
76-
"format:check": "npm run -s format:prettier -- --check",
77-
"lint": "run-p lint:*",
78-
"lint:eslint": "eslint lib scripts tests",
79-
"lint:format": "npm run -s format:check",
80-
"test": "nyc npm run debug",
81-
"debug": "mocha \"tests/lib/**/*.js\" --reporter dot --timeout 8000",
82-
"test:types": "tsc -p tsconfig.json",
83-
"check-exports": "attw --pack",
84-
"coverage": "nyc report --reporter lcov && opener coverage/lcov-report/index.html",
85-
"watch": "npm run -s test -- --watch --growl"
86-
},
87-
"repository": {
88-
"type": "git",
89-
"url": "https://github.com/eslint-community/eslint-plugin-eslint-comments"
90-
},
91-
"keywords": [
92-
"eslint",
93-
"eslintplugin",
94-
"eslint-plugin",
95-
"plugin",
96-
"comment",
97-
"comments",
98-
"directive",
99-
"global",
100-
"globals",
101-
"exported",
102-
"eslint-env",
103-
"eslint-enable",
104-
"eslint-disable",
105-
"eslint-disable-line",
106-
"eslint-disable-next-line"
107-
],
108-
"author": "Toru Nagashima",
109-
"license": "MIT",
110-
"bugs": {
111-
"url": "https://github.com/eslint-community/eslint-plugin-eslint-comments/issues"
109+
"peerDependencies": {
110+
"eslint": "^6.0.0 || ^7.0.0 || ^8.0.0 || ^9.0.0"
112111
},
113-
"homepage": "https://github.com/eslint-community/eslint-plugin-eslint-comments#readme",
114-
"funding": "https://opencollective.com/eslint"
112+
"engines": {
113+
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
114+
}
115115
}

0 commit comments

Comments
 (0)