Skip to content

Commit 558ba39

Browse files
committed
Refactor package.json
1 parent 50631e8 commit 558ba39

File tree

1 file changed

+42
-45
lines changed

1 file changed

+42
-45
lines changed

package.json

Lines changed: 42 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,49 +1,17 @@
11
{
2-
"name": "mdast-util-gfm-autolink-literal",
3-
"version": "2.0.1",
4-
"description": "mdast extension to parse and serialize GFM autolink literals",
5-
"license": "MIT",
6-
"keywords": [
7-
"unist",
8-
"mdast",
9-
"mdast-util",
10-
"util",
11-
"utility",
12-
"markdown",
13-
"markup",
14-
"autolink",
15-
"auto",
16-
"link",
17-
"literal",
18-
"url",
19-
"raw",
20-
"gfm"
21-
],
22-
"repository": "syntax-tree/mdast-util-gfm-autolink-literal",
23-
"bugs": "https://github.com/syntax-tree/mdast-util-gfm-autolink-literal/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-autolink-literal/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
"@types/mdast": "^4.0.0",
429
"ccount": "^2.0.0",
4310
"devlop": "^1.0.0",
4411
"mdast-util-find-and-replace": "^3.0.0",
4512
"micromark-util-character": "^2.0.0"
4613
},
14+
"description": "mdast extension to parse and serialize GFM autolink literals",
4715
"devDependencies": {
4816
"@types/node": "^22.0.0",
4917
"c8": "^10.0.0",
@@ -59,16 +27,34 @@
5927
"typescript": "^5.0.0",
6028
"xo": "^0.60.0"
6129
},
62-
"scripts": {
63-
"prepack": "npm run build && npm run format",
64-
"build": "tsc --build --clean && tsc --build && type-coverage",
65-
"format": "remark . -qfo && prettier . -w --log-level warn && xo --fix",
66-
"test-api-prod": "node --conditions production test/index.js",
67-
"test-api-dev": "node --conditions development test/index.js",
68-
"test-api": "npm run test-api-dev && npm run test-api-prod",
69-
"test-coverage": "c8 --100 --reporter lcov npm run test-api",
70-
"test": "npm run build && npm run format && npm run test-coverage"
30+
"exports": "./index.js",
31+
"files": [
32+
"index.d.ts",
33+
"index.js",
34+
"lib/"
35+
],
36+
"funding": {
37+
"type": "opencollective",
38+
"url": "https://opencollective.com/unified"
7139
},
40+
"keywords": [
41+
"autolink",
42+
"auto",
43+
"gfm",
44+
"link",
45+
"literal",
46+
"markdown",
47+
"markup",
48+
"mdast-util",
49+
"mdast",
50+
"raw",
51+
"unist",
52+
"url",
53+
"utility",
54+
"util"
55+
],
56+
"license": "MIT",
57+
"name": "mdast-util-gfm-autolink-literal",
7258
"prettier": {
7359
"bracketSpacing": false,
7460
"semi": false,
@@ -82,12 +68,23 @@
8268
"remark-preset-wooorm"
8369
]
8470
},
71+
"repository": "syntax-tree/mdast-util-gfm-autolink-literal",
72+
"scripts": {
73+
"build": "tsc --build --clean && tsc --build && type-coverage",
74+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
75+
"test-api-dev": "node --conditions development test/index.js",
76+
"test-api-prod": "node --conditions production test/index.js",
77+
"test-api": "npm run test-api-dev && npm run test-api-prod",
78+
"test-coverage": "c8 --100 --reporter lcov -- npm run test-api",
79+
"test": "npm run build && npm run format && npm run test-coverage"
80+
},
81+
"sideEffects": false,
8582
"typeCoverage": {
8683
"atLeast": 100,
87-
"detail": true,
88-
"ignoreCatch": true,
8984
"strict": true
9085
},
86+
"type": "module",
87+
"version": "2.0.1",
9188
"xo": {
9289
"overrides": [
9390
{

0 commit comments

Comments
 (0)