1 | {
|
2 | "name": "react-markdown",
|
3 | "version": "9.0.1",
|
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 | },
|
23 | "author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
|
24 | "contributors": [
|
25 | "Espen Hovlandsdal <espen@hovlandsdal.com>",
|
26 | "Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
27 | "Thomas Lindstrøm <t@hom.as>",
|
28 | "Fabian Irsara <info@fabianirsara.com>",
|
29 | "René Kooi <renee@kooi.me>",
|
30 | "Nicolas Venegas <nvenegas@atlassian.com>",
|
31 | "Christian Murphy <christian.murphy.42@gmail.com>",
|
32 | "Linus Unnebäck <linus@folkdatorn.se>",
|
33 | "Peng Guanwen <pg999w@outlook.com>",
|
34 | "mudrz <mudrz@outlook.com>",
|
35 | "Jesse Pinho <jesse@jessepinho.com>",
|
36 | "Florentin Luca Rieger <florentin.rieger@gmail.com>",
|
37 | "Frank <frankieali4@gmail.com>",
|
38 | "Igor Kamyshev <garik.novel@gmail.com>",
|
39 | "Jack Williams <jsw547@gmail.com>",
|
40 | "Jakub Chrzanowski <jakub@chrzanowski.info>",
|
41 | "Jeremy Moseley <jeremy@jeremymoseley.net>",
|
42 | "Kelvin Chan <kchan@securitycompass.com>",
|
43 | "Kohei Asai <me@axross.io>",
|
44 | "Marshall Smith <marshall@radialdevgroup.com>",
|
45 | "Nathan Bierema <nbierema@gmail.com>",
|
46 | "Petr Gazarov <petrgazarov@gmail.com>",
|
47 | "Phil Rajchgot <tophil@outlook.com>",
|
48 | "Rasmus Eneman <rasmus@eneman.eu>",
|
49 | "Riku Rouvila <riku.rouvila@gmail.com>",
|
50 | "Robin Wieruch <wrobin@gmx.net>",
|
51 | "Rostyslav Melnychuk <blackswordgc@gmail.com>",
|
52 | "Ted Piotrowski <tppiotrowski@gmail.com>",
|
53 | "Thibaud Courtoison <do.not.press.enter@gmail.com>",
|
54 | "Tiago Roldão <focus5.6@gmail.com>",
|
55 | "cerkiewny <mstarzycki@gmail.com>",
|
56 | "evoye <rosej@gmx.net>",
|
57 | "gRoberts84 <gavin@gav-roberts.co.uk>",
|
58 | "Alexander Wallin <office@alexanderwallin.com>",
|
59 | "vanchagreen <vanchagreen@gmail.com>",
|
60 | "Alexander Wong <admin@alexander-wong.com>",
|
61 | "André Staltz <andre@staltz.com>",
|
62 | "Angus MacIsaac <angus.macisaac@busbud.com>",
|
63 | "Beau Roberts <beau.roberts@autodesk.com>",
|
64 | "Charlie Chen <doveccl@live.com>",
|
65 | "Christoph Werner <christoph@codepunkt.de>",
|
66 | "Danny <dannyharding10@gmail.com>",
|
67 | "Dennis S <denis.s@svsg.co>",
|
68 | "Evan Hensleigh <futuraprime@gmail.com>"
|
69 | ],
|
70 | "sideEffects": false,
|
71 | "type": "module",
|
72 | "exports": "./index.js",
|
73 | "files": [
|
74 | "lib/",
|
75 | "index.d.ts",
|
76 | "index.js"
|
77 | ],
|
78 | "dependencies": {
|
79 | "@types/hast": "^3.0.0",
|
80 | "devlop": "^1.0.0",
|
81 | "hast-util-to-jsx-runtime": "^2.0.0",
|
82 | "html-url-attributes": "^3.0.0",
|
83 | "mdast-util-to-hast": "^13.0.0",
|
84 | "remark-parse": "^11.0.0",
|
85 | "remark-rehype": "^11.0.0",
|
86 | "unified": "^11.0.0",
|
87 | "unist-util-visit": "^5.0.0",
|
88 | "vfile": "^6.0.0"
|
89 | },
|
90 | "peerDependencies": {
|
91 | "@types/react": ">=18",
|
92 | "react": ">=18"
|
93 | },
|
94 | "devDependencies": {
|
95 | "@types/node": "^20.0.0",
|
96 | "@types/react": "^18.0.0",
|
97 | "@types/react-dom": "^18.0.0",
|
98 | "c8": "^8.0.0",
|
99 | "esbuild": "^0.19.0",
|
100 | "eslint-plugin-react": "^7.0.0",
|
101 | "prettier": "^3.0.0",
|
102 | "react": "^18.0.0",
|
103 | "react-dom": "^18.0.0",
|
104 | "rehype-raw": "^7.0.0",
|
105 | "remark-cli": "^11.0.0",
|
106 | "remark-gfm": "^4.0.0",
|
107 | "remark-preset-wooorm": "^9.0.0",
|
108 | "remark-toc": "^9.0.0",
|
109 | "type-coverage": "^2.0.0",
|
110 | "typescript": "^5.0.0",
|
111 | "xo": "^0.56.0"
|
112 | },
|
113 | "scripts": {
|
114 | "build": "tsc --build --clean && tsc --build && type-coverage",
|
115 | "format": "remark . --frail --output --quiet && prettier . --log-level warn --write && xo --fix",
|
116 | "prepack": "npm run build && npm run format",
|
117 | "test": "npm run build && npm run format && npm run test-coverage",
|
118 | "test-api": "node --conditions development --experimental-loader=./script/load-jsx.js --no-warnings test.jsx",
|
119 | "test-coverage": "c8 --100 --exclude script/ --reporter lcov npm run test-api"
|
120 | },
|
121 | "prettier": {
|
122 | "bracketSpacing": false,
|
123 | "singleQuote": true,
|
124 | "semi": false,
|
125 | "tabWidth": 2,
|
126 | "trailingComma": "none",
|
127 | "useTabs": false
|
128 | },
|
129 | "remarkConfig": {
|
130 | "plugins": [
|
131 | "remark-preset-wooorm",
|
132 | [
|
133 | "./node_modules/remark-preset-wooorm/node_modules/remark-gfm/index.js",
|
134 | {
|
135 | "tablePipeAlign": false
|
136 | }
|
137 | ],
|
138 | [
|
139 | "remark-lint-table-pipe-alignment",
|
140 | false
|
141 | ],
|
142 | [
|
143 | "remark-lint-no-html",
|
144 | false
|
145 | ]
|
146 | ]
|
147 | },
|
148 | "typeCoverage": {
|
149 | "atLeast": 100,
|
150 | "detail": true,
|
151 | "ignoreCatch": true,
|
152 | "strict": true
|
153 | },
|
154 | "xo": {
|
155 | "envs": [
|
156 | "shared-node-browser"
|
157 | ],
|
158 | "extends": "plugin:react/jsx-runtime",
|
159 | "overrides": [
|
160 | {
|
161 | "files": [
|
162 | "**/*.jsx"
|
163 | ],
|
164 | "rules": {
|
165 | "no-unused-vars": "off"
|
166 | }
|
167 | }
|
168 | ],
|
169 | "prettier": true,
|
170 | "rules": {
|
171 | "complexity": "off",
|
172 | "n/file-extension-in-import": "off"
|
173 | }
|
174 | }
|
175 | }
|