Skip to content

Commit bcdc5b3

Browse files
committed
Refactor package.json
1 parent c44e246 commit bcdc5b3

File tree

1 file changed

+60
-63
lines changed

1 file changed

+60
-63
lines changed

package.json

+60-63
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,51 @@
11
{
2-
"name": "react-markdown",
3-
"version": "9.0.3",
4-
"description": "React component to render markdown",
5-
"license": "MIT",
6-
"keywords": [
7-
"ast",
8-
"commonmark",
9-
"component",
10-
"gfm",
11-
"markdown",
12-
"react",
13-
"react-component",
14-
"remark",
15-
"unified"
16-
],
17-
"repository": "remarkjs/react-markdown",
18-
"bugs": "https://github.com/remarkjs/react-markdown/issues",
19-
"funding": {
20-
"type": "opencollective",
21-
"url": "https://opencollective.com/unified"
22-
},
232
"author": "Espen Hovlandsdal <[email protected]>",
3+
"bugs": "https://github.com/remarkjs/react-markdown/issues",
244
"contributors": [
5+
"Alexander Wallin <[email protected]>",
6+
"Alexander Wong <[email protected]>",
7+
"André Staltz <[email protected]>",
8+
"Angus MacIsaac <[email protected]>",
9+
"Beau Roberts <[email protected]>",
10+
"Charlie Chen <[email protected]>",
11+
"Christian Murphy <[email protected]>",
12+
"Christoph Werner <[email protected]>",
13+
"Danny <[email protected]>",
14+
"Dennis S <[email protected]>",
2515
"Espen Hovlandsdal <[email protected]>",
26-
"Titus Wormer <[email protected]> (https://wooorm.com)",
27-
"Thomas Lindstrøm <[email protected]>",
16+
"Evan Hensleigh <[email protected]>",
2817
"Fabian Irsara <[email protected]>",
29-
"René Kooi <[email protected]>",
30-
"Nicolas Venegas <[email protected]>",
31-
"Christian Murphy <[email protected]>",
32-
"Linus Unnebäck <[email protected]>",
33-
"Peng Guanwen <[email protected]>",
34-
"mudrz <[email protected]>",
35-
"Jesse Pinho <[email protected]>",
3618
"Florentin Luca Rieger <[email protected]>",
3719
"Frank <[email protected]>",
3820
"Igor Kamyshev <[email protected]>",
3921
"Jack Williams <[email protected]>",
4022
"Jakub Chrzanowski <[email protected]>",
4123
"Jeremy Moseley <[email protected]>",
24+
"Jesse Pinho <[email protected]>",
4225
"Kelvin Chan <[email protected]>",
4326
"Kohei Asai <[email protected]>",
27+
"Linus Unnebäck <[email protected]>",
4428
"Marshall Smith <[email protected]>",
4529
"Nathan Bierema <[email protected]>",
30+
"Nicolas Venegas <[email protected]>",
31+
"Peng Guanwen <[email protected]>",
4632
"Petr Gazarov <[email protected]>",
4733
"Phil Rajchgot <[email protected]>",
4834
"Rasmus Eneman <[email protected]>",
35+
"René Kooi <[email protected]>",
4936
"Riku Rouvila <[email protected]>",
5037
"Robin Wieruch <[email protected]>",
5138
"Rostyslav Melnychuk <[email protected]>",
5239
"Ted Piotrowski <[email protected]>",
5340
"Thibaud Courtoison <[email protected]>",
41+
"Thomas Lindstrøm <[email protected]>",
5442
"Tiago Roldão <[email protected]>",
43+
"Titus Wormer <[email protected]> (https://wooorm.com)",
5544
"cerkiewny <[email protected]>",
5645
"evoye <[email protected]>",
5746
"gRoberts84 <[email protected]>",
58-
"Alexander Wallin <[email protected]>",
59-
"vanchagreen <[email protected]>",
60-
"Alexander Wong <[email protected]>",
61-
"André Staltz <[email protected]>",
62-
"Angus MacIsaac <[email protected]>",
63-
"Beau Roberts <[email protected]>",
64-
"Charlie Chen <[email protected]>",
65-
"Christoph Werner <[email protected]>",
66-
"Danny <[email protected]>",
67-
"Dennis S <[email protected]>",
68-
"Evan Hensleigh <[email protected]>"
69-
],
70-
"sideEffects": false,
71-
"type": "module",
72-
"exports": "./index.js",
73-
"files": [
74-
"lib/",
75-
"index.d.ts.map",
76-
"index.d.ts",
77-
"index.js"
47+
"mudrz <[email protected]>",
48+
"vanchagreen <[email protected]>"
7849
],
7950
"dependencies": {
8051
"@types/hast": "^3.0.0",
@@ -88,10 +59,7 @@
8859
"unist-util-visit": "^5.0.0",
8960
"vfile": "^6.0.0"
9061
},
91-
"peerDependencies": {
92-
"@types/react": ">=18",
93-
"react": ">=18"
94-
},
62+
"description": "React component to render markdown",
9563
"devDependencies": {
9664
"@types/node": "^22.0.0",
9765
"@types/react": "^19.0.0",
@@ -111,13 +79,33 @@
11179
"typescript": "^5.0.0",
11280
"xo": "^0.60.0"
11381
},
114-
"scripts": {
115-
"build": "tsc --build --clean && tsc --build && type-coverage",
116-
"format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
117-
"prepack": "npm run build && npm run format",
118-
"test": "npm run build && npm run format && npm run test-coverage",
119-
"test-api": "node --conditions development --experimental-loader=./script/load-jsx.js --no-warnings test.jsx",
120-
"test-coverage": "c8 --100 --exclude script/ --reporter lcov npm run test-api"
82+
"exports": "./index.js",
83+
"files": [
84+
"index.d.ts.map",
85+
"index.d.ts",
86+
"index.js",
87+
"lib/"
88+
],
89+
"funding": {
90+
"type": "opencollective",
91+
"url": "https://opencollective.com/unified"
92+
},
93+
"keywords": [
94+
"ast",
95+
"commonmark",
96+
"component",
97+
"gfm",
98+
"markdown",
99+
"react",
100+
"react-component",
101+
"remark",
102+
"unified"
103+
],
104+
"license": "MIT",
105+
"name": "react-markdown",
106+
"peerDependencies": {
107+
"@types/react": ">=18",
108+
"react": ">=18"
121109
},
122110
"prettier": {
123111
"bracketSpacing": false,
@@ -136,12 +124,21 @@
136124
]
137125
]
138126
},
127+
"repository": "remarkjs/react-markdown",
128+
"scripts": {
129+
"build": "tsc --build --clean && tsc --build && type-coverage",
130+
"format": "remark --frail --output --quiet -- . && prettier --log-level warn --write -- . && xo --fix",
131+
"test-api": "node --conditions development --experimental-loader=./script/load-jsx.js --no-warnings test.jsx",
132+
"test-coverage": "c8 --100 --exclude script/ --reporter lcov -- npm run test-api",
133+
"test": "npm run build && npm run format && npm run test-coverage"
134+
},
135+
"sideEffects": false,
139136
"typeCoverage": {
140137
"atLeast": 100,
141-
"detail": true,
142-
"ignoreCatch": true,
143138
"strict": true
144139
},
140+
"type": "module",
141+
"version": "9.0.3",
145142
"xo": {
146143
"envs": [
147144
"shared-node-browser"

0 commit comments

Comments
 (0)