Skip to content

Commit 3f4555f

Browse files
committed
Refactor package.json
1 parent fbc58b1 commit 3f4555f

File tree

1 file changed

+38
-41
lines changed

1 file changed

+38
-41
lines changed

package.json

Lines changed: 38 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,17 @@
11
{
2-
"name": "mdast-util-gfm-footnote",
3-
"version": "2.0.0",
4-
"description": "mdast extension to parse and serialize GFM footnotes",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"mdast",
9-
"mdast-util",
10-
"util",
11-
"utility",
12-
"markdown",
13-
"markup",
14-
"gfm",
15-
"footnote",
16-
"note"
17-
],
18-
"repository": "syntax-tree/mdast-util-gfm-footnote",
19-
"bugs": "https://github.com/syntax-tree/mdast-util-gfm-footnote/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/syntax-tree/mdast-util-gfm-footnote/issues",
254
"contributors": [
265
"Titus Wormer <[email protected]> (https://wooorm.com)"
276
],
28-
"sideEffects": false,
29-
"type": "module",
30-
"exports": "./index.js",
31-
"files": [
32-
"lib/",
33-
"index.d.ts",
34-
"index.js"
35-
],
367
"dependencies": {
378
"@types/mdast": "^4.0.0",
389
"devlop": "^1.1.0",
3910
"mdast-util-from-markdown": "^2.0.0",
4011
"mdast-util-to-markdown": "^2.0.0",
4112
"micromark-util-normalize-identifier": "^2.0.0"
4213
},
14+
"description": "mdast extension to parse and serialize GFM footnotes",
4315
"devDependencies": {
4416
"@types/node": "^22.0.0",
4517
"c8": "^10.0.0",
@@ -51,16 +23,30 @@
5123
"typescript": "^5.0.0",
5224
"xo": "^0.60.0"
5325
},
54-
"scripts": {
55-
"prepack": "npm run build && npm run format",
56-
"build": "tsc --build --clean && tsc --build && type-coverage",
57-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
58-
"test-api-dev": "node --conditions development test.js",
59-
"test-api-prod": "node --conditions production test.js",
60-
"test-api": "npm run test-api-dev && npm run test-api-prod",
61-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
62-
"test": "npm run build && npm run format && npm run test-coverage"
26+
"exports": "./index.js",
27+
"files": [
28+
"index.d.ts",
29+
"index.js",
30+
"lib/"
31+
],
32+
"funding": {
33+
"type": "opencollective",
34+
"url": "https://opencollective.com/unified"
6335
},
36+
"keywords": [
37+
"footnote",
38+
"gfm",
39+
"markdown",
40+
"markup",
41+
"mdast-util",
42+
"mdast",
43+
"note",
44+
"unist",
45+
"utility",
46+
"util"
47+
],
48+
"license": "MIT",
49+
"name": "mdast-util-gfm-footnote",
6450
"prettier": {
6551
"bracketSpacing": false,
6652
"semi": false,
@@ -74,12 +60,23 @@
7460
"remark-preset-wooorm"
7561
]
7662
},
63+
"repository": "syntax-tree/mdast-util-gfm-footnote",
64+
"scripts": {
65+
"build": "tsc --build --clean && tsc --build && type-coverage",
66+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
67+
"test-api-dev": "node --conditions development test.js",
68+
"test-api-prod": "node --conditions production test.js",
69+
"test-api": "npm run test-api-dev && npm run test-api-prod",
70+
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
71+
"test": "npm run build && npm run format && npm run test-coverage"
72+
},
73+
"sideEffects": false,
7774
"typeCoverage": {
7875
"atLeast": 100,
79-
"detail": true,
80-
"ignoreCatch": true,
8176
"strict": true
8277
},
78+
"type": "module",
79+
"version": "2.0.0",
8380
"xo": {
8481
"overrides": [
8582
{

0 commit comments

Comments
 (0)