Skip to content

Commit 5a2471c

Browse files
committed
Refactor package.json
1 parent 2ebeef1 commit 5a2471c

File tree

1 file changed

+43
-46
lines changed

1 file changed

+43
-46
lines changed

package.json

Lines changed: 43 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,9 @@
11
{
2-
"name": "mdast-util-gfm",
3-
"version": "3.0.0",
4-
"description": "mdast extension to parse and serialize GFM (GitHub Flavored Markdown)",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"mdast",
9-
"mdast-util",
10-
"util",
11-
"utility",
12-
"markdown",
13-
"markup",
14-
"table",
15-
"strikethrough",
16-
"tasklist",
17-
"autolink",
18-
"tagfilter",
19-
"github",
20-
"gfm"
21-
],
22-
"repository": "syntax-tree/mdast-util-gfm",
23-
"bugs": "https://github.com/syntax-tree/mdast-util-gfm/issues",
24-
"funding": {
25-
"type": "opencollective",
26-
"url": "https://opencollective.com/unified"
27-
},
282
"author": "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
3+
"bugs": "https://github.com/syntax-tree/mdast-util-gfm/issues",
294
"contributors": [
305
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)"
316
],
32-
"sideEffects": false,
33-
"type": "module",
34-
"exports": "./index.js",
35-
"files": [
36-
"lib/",
37-
"index.d.ts",
38-
"index.js"
39-
],
407
"dependencies": {
418
"mdast-util-from-markdown": "^2.0.0",
429
"mdast-util-gfm-autolink-literal": "^2.0.0",
@@ -46,6 +13,7 @@
4613
"mdast-util-gfm-task-list-item": "^2.0.0",
4714
"mdast-util-to-markdown": "^2.0.0"
4815
},
16+
"description": "mdast extension to parse and serialize GFM (GitHub Flavored Markdown)",
4917
"devDependencies": {
5018
"@types/node": "^22.0.0",
5119
"c8": "^10.0.0",
@@ -61,17 +29,34 @@
6129
"undici": "^7.0.0",
6230
"xo": "^0.60.0"
6331
},
64-
"scripts": {
65-
"crawl": "node --conditions development script/crawl-tests.js",
66-
"prepack": "npm run build && npm run format",
67-
"build": "tsc --build --clean && tsc --build && type-coverage",
68-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
69-
"test-api-prod": "node --conditions production test/index.js",
70-
"test-api-dev": "node --conditions development test/index.js",
71-
"test-api": "npm run test-api-dev && npm run test-api-prod",
72-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
73-
"test": "npm run build && npm run format && npm run test-coverage"
32+
"exports": "./index.js",
33+
"files": [
34+
"index.d.ts",
35+
"index.js",
36+
"lib/"
37+
],
38+
"funding": {
39+
"type": "opencollective",
40+
"url": "https://opencollective.com/unified"
7441
},
42+
"keywords": [
43+
"autolink",
44+
"gfm",
45+
"github",
46+
"markdown",
47+
"markup",
48+
"mdast-util",
49+
"mdast",
50+
"strikethrough",
51+
"table",
52+
"tagfilter",
53+
"tasklist",
54+
"unist",
55+
"utility",
56+
"util"
57+
],
58+
"license": "MIT",
59+
"name": "mdast-util-gfm",
7560
"prettier": {
7661
"bracketSpacing": false,
7762
"semi": false,
@@ -85,12 +70,24 @@
8570
"remark-preset-wooorm"
8671
]
8772
},
73+
"repository": "syntax-tree/mdast-util-gfm",
74+
"scripts": {
75+
"build": "tsc --build --clean && tsc --build && type-coverage",
76+
"crawl": "node --conditions development script/crawl-tests.js",
77+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
78+
"test-api-prod": "node --conditions production test/index.js",
79+
"test-api-dev": "node --conditions development test/index.js",
80+
"test-api": "npm run test-api-dev && npm run test-api-prod",
81+
"test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
82+
"test": "npm run build && npm run format && npm run test-coverage"
83+
},
84+
"sideEffects": false,
8885
"typeCoverage": {
8986
"atLeast": 100,
90-
"detail": true,
91-
"ignoreCatch": true,
9287
"strict": true
9388
},
89+
"type": "module",
90+
"version": "3.0.0",
9491
"xo": {
9592
"overrides": [
9693
{

0 commit comments

Comments
 (0)