Skip to content

Commit 3719ee3

Browse files
committed
Refactor package.json
1 parent d1c98fb commit 3719ee3

File tree

1 file changed

+34
-37
lines changed

1 file changed

+34
-37
lines changed

package.json

Lines changed: 34 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,14 @@
11
{
2-
"name": "unist-util-find-before",
3-
"version": "4.0.0",
4-
"description": "unist utility to find a node before another node",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"unist-util",
9-
"util",
10-
"utility",
11-
"node",
12-
"find",
13-
"before"
14-
],
15-
"repository": "syntax-tree/unist-util-find-before",
16-
"bugs": "https://github.com/syntax-tree/unist-util-find-before/issues",
17-
"funding": {
18-
"type": "opencollective",
19-
"url": "https://opencollective.com/unified"
20-
},
212
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
3+
"bugs": "https://github.com/syntax-tree/unist-util-find-before/issues",
224
"contributors": [
235
"Titus Wormer <[email protected]> (https://wooorm.com)"
246
],
25-
"sideEffects": false,
26-
"type": "module",
27-
"exports": "./index.js",
28-
"files": [
29-
"lib/",
30-
"index.d.ts",
31-
"index.js"
32-
],
337
"dependencies": {
348
"@types/unist": "^3.0.0",
359
"unist-util-is": "^6.0.0"
3610
},
11+
"description": "unist utility to find a node before another node",
3712
"devDependencies": {
3813
"@types/mdast": "^4.0.0",
3914
"@types/node": "^22.0.0",
@@ -47,14 +22,27 @@
4722
"typescript": "^5.0.0",
4823
"xo": "^0.60.0"
4924
},
50-
"scripts": {
51-
"prepack": "npm run build && npm run format",
52-
"build": "tsc --build --clean && tsc --build && tsd && type-coverage",
53-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
54-
"test-api": "node --conditions development test.js",
55-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
56-
"test": "npm run build && npm run format && npm run test-coverage"
25+
"exports": "./index.js",
26+
"files": [
27+
"lib/",
28+
"index.d.ts",
29+
"index.js"
30+
],
31+
"funding": {
32+
"type": "opencollective",
33+
"url": "https://opencollective.com/unified"
5734
},
35+
"keywords": [
36+
"before",
37+
"find",
38+
"node",
39+
"unist-util",
40+
"unist",
41+
"utility",
42+
"util"
43+
],
44+
"license": "MIT",
45+
"name": "unist-util-find-before",
5846
"prettier": {
5947
"bracketSpacing": false,
6048
"semi": false,
@@ -68,16 +56,25 @@
6856
"remark-preset-wooorm"
6957
]
7058
},
59+
"repository": "syntax-tree/unist-util-find-before",
60+
"scripts": {
61+
"build": "tsc --build --clean && tsc --build && tsd && type-coverage",
62+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
63+
"test-api": "node --conditions development test.js",
64+
"test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
65+
"test": "npm run build && npm run format && npm run test-coverage"
66+
},
67+
"sideEffects": false,
7168
"typeCoverage": {
7269
"atLeast": 100,
73-
"detail": true,
74-
"ignoreCatch": true,
75-
"#": "needed `any`s",
70+
"ignoreFiles#": "needed `any`s",
7671
"ignoreFiles": [
7772
"lib/index.d.ts"
7873
],
7974
"strict": true
8075
},
76+
"type": "module",
77+
"version": "4.0.0",
8178
"xo": {
8279
"prettier": true
8380
}

0 commit comments

Comments
 (0)