Skip to content

Commit 4f3cf32

Browse files
committed
Refactor package.json
1 parent f962b07 commit 4f3cf32

File tree

1 file changed

+37
-40
lines changed

1 file changed

+37
-40
lines changed

package.json

+37-40
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,9 @@
11
{
2-
"name": "hast-util-raw",
3-
"version": "9.0.4",
4-
"description": "hast utility to reparse a tree",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"hast",
9-
"hast-util",
10-
"util",
11-
"utility",
12-
"parse",
13-
"raw",
14-
"html"
15-
],
16-
"repository": "syntax-tree/hast-util-raw",
17-
"bugs": "https://github.com/syntax-tree/hast-util-raw/issues",
18-
"funding": {
19-
"type": "opencollective",
20-
"url": "https://opencollective.com/unified"
21-
},
222
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
3+
"bugs": "https://github.com/syntax-tree/hast-util-raw/issues",
234
"contributors": [
24-
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
25-
"Christian Murphy <christian.murphy.42@gmail.com>"
26-
],
27-
"sideEffects": false,
28-
"type": "module",
29-
"exports": "./index.js",
30-
"files": [
31-
"lib/",
32-
"index.d.ts.map",
33-
"index.d.ts",
34-
"index.js"
5+
"Christian Murphy <christian.murphy.42@gmail.com>",
6+
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
357
],
368
"dependencies": {
379
"@types/hast": "^3.0.0",
@@ -48,6 +20,7 @@
4820
"web-namespaces": "^2.0.0",
4921
"zwitch": "^2.0.0"
5022
},
23+
"description": "hast utility to reparse a tree",
5124
"devDependencies": {
5225
"@types/node": "^22.0.0",
5326
"@types/ungap__structured-clone": "^1.0.0",
@@ -64,14 +37,29 @@
6437
"unist-builder": "^4.0.0",
6538
"xo": "^0.59.0"
6639
},
67-
"scripts": {
68-
"prepack": "npm run build && npm run format",
69-
"build": "tsc --build --clean && tsc --build && type-coverage",
70-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
71-
"test-api": "node --conditions development test.js",
72-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
73-
"test": "npm run build && npm run format && npm run test-coverage"
40+
"exports": "./index.js",
41+
"files": [
42+
"index.d.ts.map",
43+
"index.d.ts",
44+
"index.js",
45+
"lib/"
46+
],
47+
"funding": {
48+
"type": "opencollective",
49+
"url": "https://opencollective.com/unified"
7450
},
51+
"keywords": [
52+
"hast-util",
53+
"hast",
54+
"html",
55+
"unist",
56+
"utility",
57+
"util",
58+
"parse",
59+
"raw"
60+
],
61+
"license": "MIT",
62+
"name": "hast-util-raw",
7563
"prettier": {
7664
"bracketSpacing": false,
7765
"semi": false,
@@ -86,12 +74,21 @@
8674
"remark-api"
8775
]
8876
},
77+
"repository": "syntax-tree/hast-util-raw",
78+
"scripts": {
79+
"build": "tsc --build --clean && tsc --build && type-coverage",
80+
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
81+
"test-api": "node --conditions development test.js",
82+
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
83+
"test": "npm run build && npm run format && npm run test-coverage"
84+
},
85+
"sideEffects": false,
8986
"typeCoverage": {
9087
"atLeast": 100,
91-
"detail": true,
92-
"ignoreCatch": true,
9388
"strict": true
9489
},
90+
"type": "module",
91+
"version": "9.0.4",
9592
"xo": {
9693
"overrides": [
9794
{

0 commit comments

Comments
 (0)