{ "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 ", "contributors": [ "Espen Hovlandsdal ", "Titus Wormer (https://wooorm.com)", "Thomas Lindstrøm ", "Fabian Irsara ", "René Kooi ", "Nicolas Venegas ", "Christian Murphy ", "Linus Unnebäck ", "Peng Guanwen ", "mudrz ", "Jesse Pinho ", "Florentin Luca Rieger ", "Frank ", "Igor Kamyshev ", "Jack Williams ", "Jakub Chrzanowski ", "Jeremy Moseley ", "Kelvin Chan ", "Kohei Asai ", "Marshall Smith ", "Nathan Bierema ", "Petr Gazarov ", "Phil Rajchgot ", "Rasmus Eneman ", "Riku Rouvila ", "Robin Wieruch ", "Rostyslav Melnychuk ", "Ted Piotrowski ", "Thibaud Courtoison ", "Tiago Roldão ", "cerkiewny ", "evoye ", "gRoberts84 ", "Alexander Wallin ", "vanchagreen ", "Alexander Wong ", "André Staltz ", "Angus MacIsaac ", "Beau Roberts ", "Charlie Chen ", "Christoph Werner ", "Danny ", "Dennis S ", "Evan Hensleigh " ], "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": "^20.0.0", "@types/react": "^18.0.0", "@types/react-dom": "^18.0.0", "c8": "^8.0.0", "esbuild": "^0.19.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": "^11.0.0", "remark-gfm": "^4.0.0", "remark-preset-wooorm": "^9.0.0", "remark-toc": "^9.0.0", "type-coverage": "^2.0.0", "typescript": "^5.0.0", "xo": "^0.56.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", [ "./node_modules/remark-preset-wooorm/node_modules/remark-gfm/index.js", { "tablePipeAlign": false } ], [ "remark-lint-table-pipe-alignment", false ], [ "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" } } }