-
-
Notifications
You must be signed in to change notification settings - Fork 859
/
package.json
166 lines (166 loc) · 4.82 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
{
"name": "react-markdown",
"version": "9.0.1",
"description": "React component to render markdown",
"license": "MIT",
"keywords": [
"ast",
"commonmark",
"component",
"gfm",
"markdown",
"react",
"react-component",
"remark",
"unified"
],
"repository": "remarkjs/react-markdown",
"bugs": "https://github.com/remarkjs/react-markdown/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Espen Hovlandsdal <[email protected]>",
"contributors": [
"Espen Hovlandsdal <[email protected]>",
"Titus Wormer <[email protected]> (https://wooorm.com)",
"Thomas Lindstrøm <[email protected]>",
"Fabian Irsara <[email protected]>",
"René Kooi <[email protected]>",
"Nicolas Venegas <[email protected]>",
"Christian Murphy <[email protected]>",
"Linus Unnebäck <[email protected]>",
"Peng Guanwen <[email protected]>",
"mudrz <[email protected]>",
"Jesse Pinho <[email protected]>",
"Florentin Luca Rieger <[email protected]>",
"Frank <[email protected]>",
"Igor Kamyshev <[email protected]>",
"Jack Williams <[email protected]>",
"Jakub Chrzanowski <[email protected]>",
"Jeremy Moseley <[email protected]>",
"Kelvin Chan <[email protected]>",
"Kohei Asai <[email protected]>",
"Marshall Smith <[email protected]>",
"Nathan Bierema <[email protected]>",
"Petr Gazarov <[email protected]>",
"Phil Rajchgot <[email protected]>",
"Rasmus Eneman <[email protected]>",
"Riku Rouvila <[email protected]>",
"Robin Wieruch <[email protected]>",
"Rostyslav Melnychuk <[email protected]>",
"Ted Piotrowski <[email protected]>",
"Thibaud Courtoison <[email protected]>",
"Tiago Roldão <[email protected]>",
"cerkiewny <[email protected]>",
"evoye <[email protected]>",
"gRoberts84 <[email protected]>",
"Alexander Wallin <[email protected]>",
"vanchagreen <[email protected]>",
"Alexander Wong <[email protected]>",
"André Staltz <[email protected]>",
"Angus MacIsaac <[email protected]>",
"Beau Roberts <[email protected]>",
"Charlie Chen <[email protected]>",
"Christoph Werner <[email protected]>",
"Danny <[email protected]>",
"Dennis S <[email protected]>",
"Evan Hensleigh <[email protected]>"
],
"sideEffects": false,
"type": "module",
"exports": "./index.js",
"files": [
"lib/",
"index.d.ts",
"index.js"
],
"dependencies": {
"@types/hast": "^3.0.0",
"devlop": "^1.0.0",
"hast-util-to-jsx-runtime": "^2.0.0",
"html-url-attributes": "^3.0.0",
"mdast-util-to-hast": "^13.0.0",
"remark-parse": "^11.0.0",
"remark-rehype": "^11.0.0",
"unified": "^11.0.0",
"unist-util-visit": "^5.0.0",
"vfile": "^6.0.0"
},
"peerDependencies": {
"@types/react": ">=18",
"react": ">=18"
},
"devDependencies": {
"@types/node": "^22.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"c8": "^10.0.0",
"esbuild": "^0.21.0",
"eslint-plugin-react": "^7.0.0",
"prettier": "^3.0.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"rehype-raw": "^7.0.0",
"remark-cli": "^12.0.0",
"remark-gfm": "^4.0.0",
"remark-preset-wooorm": "^10.0.0",
"remark-toc": "^9.0.0",
"type-coverage": "^2.0.0",
"typescript": "^5.0.0",
"xo": "^0.59.0"
},
"scripts": {
"build": "tsc --build --clean && tsc --build && type-coverage",
"format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
"prepack": "npm run build && npm run format",
"test": "npm run build && npm run format && npm run test-coverage",
"test-api": "node --conditions development --experimental-loader=./script/load-jsx.js --no-warnings test.jsx",
"test-coverage": "c8 --100 --exclude script/ --reporter lcov npm run test-api"
},
"prettier": {
"bracketSpacing": false,
"singleQuote": true,
"semi": false,
"tabWidth": 2,
"trailingComma": "none",
"useTabs": false
},
"remarkConfig": {
"plugins": [
"remark-preset-wooorm",
[
"remark-lint-no-html",
false
]
]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"ignoreCatch": true,
"strict": true
},
"xo": {
"envs": [
"shared-node-browser"
],
"extends": "plugin:react/jsx-runtime",
"overrides": [
{
"files": [
"**/*.jsx"
],
"rules": {
"no-unused-vars": "off"
}
}
],
"prettier": true,
"rules": {
"complexity": "off",
"n/file-extension-in-import": "off",
"unicorn/prevent-abbreviations": "off"
}
}
}