Skip to content

Commit d4f2303

Browse files
committed
Refactor package.json
1 parent dc2265f commit d4f2303

File tree

1 file changed

+39
-42
lines changed

1 file changed

+39
-42
lines changed

package.json

Lines changed: 39 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,9 @@
11
{
2-
"name": "remark-rehype",
3-
"version": "11.1.1",
4-
"description": "remark plugin that turns markdown into HTML to support rehype",
5-
"license": "MIT",
6-
"keywords": [
7-
"hast",
8-
"html",
9-
"markdown",
10-
"mdast",
11-
"plugin",
12-
"rehype",
13-
"rehype-plugin",
14-
"remark",
15-
"remark-plugin",
16-
"unified"
17-
],
18-
"repository": "remarkjs/remark-rehype",
19-
"bugs": "https://github.com/remarkjs/remark-rehype/issues",
20-
"funding": {
21-
"type": "opencollective",
22-
"url": "https://opencollective.com/unified"
23-
},
242
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
3+
"bugs": "https://github.com/remarkjs/remark-rehype/issues",
254
"contributors": [
26-
"Titus Wormer <[email protected]> (https://wooorm.com)",
27-
"John Otander <[email protected]> (https://johno.com)"
28-
],
29-
"sideEffects": false,
30-
"type": "module",
31-
"exports": "./index.js",
32-
"files": [
33-
"lib/",
34-
"index.d.ts.map",
35-
"index.d.ts",
36-
"index.js"
5+
"John Otander <[email protected]> (https://johno.com)",
6+
"Titus Wormer <[email protected]> (https://wooorm.com)"
377
],
388
"dependencies": {
399
"@types/hast": "^3.0.0",
@@ -42,6 +12,7 @@
4212
"unified": "^11.0.0",
4313
"vfile": "^6.0.0"
4414
},
15+
"description": "remark plugin that turns markdown into HTML to support rehype",
4516
"devDependencies": {
4617
"@types/node": "^22.0.0",
4718
"c8": "^10.0.0",
@@ -56,14 +27,31 @@
5627
"typescript": "^5.0.0",
5728
"xo": "^0.60.0"
5829
},
59-
"scripts": {
60-
"build": "tsc --build --clean && tsc --build && type-coverage",
61-
"format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
62-
"prepack": "npm run build && npm run format",
63-
"test": "npm run build && npm run format && npm run test-coverage",
64-
"test-api": "node --conditions development test.js",
65-
"test-coverage": "c8 --100 --reporter lcov npm run test-api"
30+
"exports": "./index.js",
31+
"files": [
32+
"index.d.ts.map",
33+
"index.d.ts",
34+
"index.js",
35+
"lib/"
36+
],
37+
"funding": {
38+
"type": "opencollective",
39+
"url": "https://opencollective.com/unified"
6640
},
41+
"keywords": [
42+
"hast",
43+
"html",
44+
"markdown",
45+
"mdast",
46+
"plugin",
47+
"rehype-plugin",
48+
"rehype",
49+
"remark-plugin",
50+
"remark",
51+
"unified"
52+
],
53+
"license": "MIT",
54+
"name": "remark-rehype",
6755
"prettier": {
6856
"bracketSpacing": false,
6957
"singleQuote": true,
@@ -77,12 +65,21 @@
7765
"remark-preset-wooorm"
7866
]
7967
},
68+
"repository": "remarkjs/remark-rehype",
69+
"scripts": {
70+
"build": "tsc --build --clean && tsc --build && type-coverage",
71+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
72+
"test-api": "node --conditions development test.js",
73+
"test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
74+
"test": "npm run build && npm run format && npm run test-coverage"
75+
},
76+
"sideEffects": false,
8077
"typeCoverage": {
8178
"atLeast": 100,
82-
"detail": true,
83-
"ignoreCatch": true,
8479
"strict": true
8580
},
81+
"type": "module",
82+
"version": "11.1.1",
8683
"xo": {
8784
"prettier": true
8885
}

0 commit comments

Comments
 (0)