Skip to content

Commit 4b8b916

Browse files
committed
Refactor package.json
1 parent dfce9c9 commit 4b8b916

1 file changed

Lines changed: 50 additions & 53 deletions

File tree

‎package.json‎

Lines changed: 50 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,19 @@
11
{
2-
"name": "unist-util-select",
3-
"version": "5.1.0",
4-
"description": "unist utility to select nodes with CSS-like selectors",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"unist-util",
9-
"util",
10-
"utility",
11-
"visit",
12-
"tree",
13-
"ast",
14-
"node",
15-
"visit",
16-
"walk",
17-
"select",
18-
"selector",
19-
"child",
20-
"descendant",
21-
"sibling",
22-
"type",
23-
"attribute",
24-
"expression",
25-
"filter",
26-
"find",
27-
"match"
28-
],
29-
"repository": "syntax-tree/unist-util-select",
30-
"bugs": "https://github.com/syntax-tree/unist-util-select/issues",
31-
"funding": {
32-
"type": "opencollective",
33-
"url": "https://opencollective.com/unified"
34-
},
352
"author": "Eugene Sharygin <eush77@gmail.com>",
3+
"bugs": "https://github.com/syntax-tree/unist-util-select/issues",
364
"contributors": [
375
"Eugene Sharygin <eush77@gmail.com>",
386
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
397
"Christian Murphy <christian.murphy.42@gmail.com>"
408
],
41-
"sideEffects": false,
42-
"type": "module",
43-
"exports": "./index.js",
44-
"files": [
45-
"lib/",
46-
"index.d.ts.map",
47-
"index.d.ts",
48-
"index.js"
49-
],
509
"dependencies": {
5110
"@types/unist": "^3.0.0",
5211
"css-selector-parser": "^3.0.0",
5312
"devlop": "^1.1.0",
5413
"nth-check": "^2.0.0",
5514
"zwitch": "^2.0.0"
5615
},
16+
"description": "unist utility to select nodes with CSS-like selectors",
5717
"devDependencies": {
5818
"@types/node": "^25.0.0",
5919
"c8": "^11.0.0",
@@ -65,19 +25,46 @@
6525
"unist-builder": "^4.0.0",
6626
"xo": "^2.0.0"
6727
},
28+
"exports": "./index.js",
29+
"files": [
30+
"lib/",
31+
"index.d.ts.map",
32+
"index.d.ts",
33+
"index.js"
34+
],
35+
"funding": {
36+
"type": "opencollective",
37+
"url": "https://opencollective.com/unified"
38+
},
39+
"keywords": [
40+
"ast",
41+
"attribute",
42+
"child",
43+
"descendant",
44+
"expression",
45+
"filter",
46+
"find",
47+
"match",
48+
"node",
49+
"selector",
50+
"select",
51+
"sibling",
52+
"tree",
53+
"type",
54+
"unist-util",
55+
"unist",
56+
"utility",
57+
"util",
58+
"visit",
59+
"walk"
60+
],
61+
"license": "MIT",
62+
"name": "unist-util-select",
6863
"overrides": {
6964
"c8": {
7065
"yargs": "^18.0.0"
7166
}
7267
},
73-
"scripts": {
74-
"prepack": "npm run build && npm run format",
75-
"build": "tsc --build --clean && tsc --build && type-coverage",
76-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
77-
"test-api": "node --conditions development test/index.js",
78-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
79-
"test": "npm run build && npm run format && npm run test-coverage"
80-
},
8168
"prettier": {
8269
"bracketSpacing": false,
8370
"semi": false,
@@ -91,10 +78,20 @@
9178
"remark-preset-wooorm"
9279
]
9380
},
81+
"repository": "syntax-tree/unist-util-select",
82+
"scripts": {
83+
"build": "tsc --build --clean && tsc --build && type-coverage",
84+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
85+
"prepack": "npm run build && npm run format",
86+
"test-api": "node --conditions development test/index.js",
87+
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
88+
"test": "npm run build && npm run format && npm run test-coverage"
89+
},
90+
"sideEffects": false,
9491
"typeCoverage": {
9592
"atLeast": 100,
96-
"detail": true,
97-
"ignoreCatch": true,
9893
"strict": true
99-
}
94+
},
95+
"type": "module",
96+
"version": "5.1.0"
10097
}

0 commit comments

Comments
 (0)