Skip to content

Commit 750b595

Browse files
committed
Refactor package.json
1 parent 233b134 commit 750b595

File tree

1 file changed

+40
-42
lines changed

1 file changed

+40
-42
lines changed

package.json

+40-42
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,9 @@
11
{
2-
"name": "mdast-util-to-markdown",
3-
"version": "2.1.0",
4-
"description": "mdast utility to serialize markdown",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"mdast",
9-
"mdast-util",
10-
"util",
11-
"utility",
12-
"markdown",
13-
"markup",
14-
"serialize",
15-
"stringify",
16-
"compile",
17-
"syntax",
18-
"tree",
19-
"ast"
20-
],
21-
"repository": "syntax-tree/mdast-util-to-markdown",
22-
"bugs": "https://github.com/syntax-tree/mdast-util-to-markdown/issues",
23-
"funding": {
24-
"type": "opencollective",
25-
"url": "https://opencollective.com/unified"
26-
},
272
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
3+
"bugs": "https://github.com/syntax-tree/mdast-util-to-markdown/issues",
284
"contributors": [
295
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
306
],
31-
"sideEffects": false,
32-
"type": "module",
33-
"exports": "./index.js",
34-
"files": [
35-
"lib/",
36-
"index.d.ts",
37-
"index.js"
38-
],
397
"dependencies": {
408
"@types/mdast": "^4.0.0",
419
"@types/unist": "^3.0.0",
@@ -46,6 +14,7 @@
4614
"unist-util-visit": "^5.0.0",
4715
"zwitch": "^2.0.0"
4816
},
17+
"description": "mdast utility to serialize markdown",
4918
"devDependencies": {
5019
"@types/node": "^22.0.0",
5120
"c8": "^10.0.0",
@@ -58,14 +27,33 @@
5827
"unist-util-remove-position": "^5.0.0",
5928
"xo": "^0.59.0"
6029
},
61-
"scripts": {
62-
"prepack": "npm run build && npm run format",
63-
"build": "tsc --build --clean && tsc --build && type-coverage",
64-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
65-
"test-api": "node --conditions development test/index.js",
66-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
67-
"test": "npm run build && npm run format && npm run test-coverage"
30+
"exports": "./index.js",
31+
"files": [
32+
"lib/",
33+
"index.d.ts",
34+
"index.js"
35+
],
36+
"funding": {
37+
"type": "opencollective",
38+
"url": "https://opencollective.com/unified"
6839
},
40+
"keywords": [
41+
"ast",
42+
"compile",
43+
"markdown",
44+
"markup",
45+
"mdast-util",
46+
"mdast",
47+
"serialize",
48+
"stringify",
49+
"syntax",
50+
"tree",
51+
"unist",
52+
"utility",
53+
"util"
54+
],
55+
"license": "MIT",
56+
"name": "mdast-util-to-markdown",
6957
"prettier": {
7058
"bracketSpacing": false,
7159
"semi": false,
@@ -79,15 +67,25 @@
7967
"remark-preset-wooorm"
8068
]
8169
},
70+
"repository": "syntax-tree/mdast-util-to-markdown",
71+
"version": "2.1.0",
72+
"scripts": {
73+
"prepack": "npm run build && npm run format",
74+
"build": "tsc --build --clean && tsc --build && type-coverage",
75+
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
76+
"test-api": "node --conditions development test/index.js",
77+
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
78+
"test": "npm run build && npm run format && npm run test-coverage"
79+
},
80+
"sideEffects": false,
8281
"typeCoverage": {
8382
"atLeast": 100,
84-
"detail": true,
8583
"ignoreFiles": [
8684
"lib/types.d.ts"
8785
],
88-
"ignoreCatch": true,
8986
"strict": true
9087
},
88+
"type": "module",
9189
"xo": {
9290
"overrides": [
9391
{

0 commit comments

Comments
 (0)