Skip to content

Commit c19b235

Browse files
committed
Refactor package.json
1 parent 530e681 commit c19b235

File tree

1 file changed

+41
-41
lines changed

1 file changed

+41
-41
lines changed

package.json

+41-41
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,9 @@
11
{
2-
"name": "hast-util-select",
3-
"version": "6.0.2",
4-
"description": "hast utility for `querySelector`, `querySelectorAll`, and `matches`",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"hast",
9-
"hast-util",
10-
"util",
11-
"utility",
12-
"html",
13-
"css",
14-
"select",
15-
"selectall",
16-
"selector",
17-
"query",
18-
"match",
19-
"matches"
20-
],
21-
"repository": "syntax-tree/hast-util-select",
22-
"bugs": "https://github.com/syntax-tree/hast-util-select/issues",
23-
"funding": {
24-
"type": "opencollective",
25-
"url": "https://opencollective.com/unified"
26-
},
272
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
3+
"bugs": "https://github.com/syntax-tree/hast-util-select/issues",
284
"contributors": [
295
"Titus Wormer <[email protected]> (https://wooorm.com)"
306
],
31-
"sideEffects": false,
32-
"type": "module",
33-
"exports": "./index.js",
34-
"files": [
35-
"lib/",
36-
"index.d.ts.map",
37-
"index.d.ts",
38-
"index.js"
39-
],
407
"dependencies": {
418
"@types/hast": "^3.0.0",
429
"@types/unist": "^3.0.0",
@@ -54,6 +21,7 @@
5421
"unist-util-visit": "^5.0.0",
5522
"zwitch": "^2.0.0"
5623
},
24+
"description": "hast utility for `querySelector`, `querySelectorAll`, and `matches`",
5725
"devDependencies": {
5826
"@types/node": "^22.0.0",
5927
"c8": "^10.0.0",
@@ -66,14 +34,34 @@
6634
"unist-builder": "^4.0.0",
6735
"xo": "^0.59.0"
6836
},
69-
"scripts": {
70-
"prepack": "npm run build && npm run format",
71-
"build": "tsc --build --clean && tsc --build && type-coverage",
72-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
73-
"test-api": "node --conditions development test/index.js",
74-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
75-
"test": "npm run build && npm run format && npm run test-coverage"
37+
"exports": "./index.js",
38+
"files": [
39+
"lib/",
40+
"index.d.ts.map",
41+
"index.d.ts",
42+
"index.js"
43+
],
44+
"funding": {
45+
"type": "opencollective",
46+
"url": "https://opencollective.com/unified"
7647
},
48+
"keywords": [
49+
"css",
50+
"hast-util",
51+
"hast",
52+
"html",
53+
"match",
54+
"matches",
55+
"query",
56+
"selectall",
57+
"selector",
58+
"select",
59+
"unist",
60+
"utility",
61+
"util"
62+
],
63+
"license": "MIT",
64+
"name": "hast-util-select",
7765
"prettier": {
7866
"bracketSpacing": false,
7967
"semi": false,
@@ -87,12 +75,24 @@
8775
"remark-preset-wooorm"
8876
]
8977
},
78+
"repository": "syntax-tree/hast-util-select",
79+
"scripts": {
80+
"build": "tsc --build --clean && tsc --build && type-coverage",
81+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
82+
"prepack": "npm run build && npm run format",
83+
"test-api": "node --conditions development test/index.js",
84+
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
85+
"test": "npm run build && npm run format && npm run test-coverage"
86+
},
87+
"sideEffects": false,
9088
"typeCoverage": {
9189
"atLeast": 100,
9290
"detail": true,
9391
"ignoreCatch": true,
9492
"strict": true
9593
},
94+
"type": "module",
95+
"version": "6.0.2",
9696
"xo": {
9797
"overrides": [
9898
{

0 commit comments

Comments
 (0)