All checks were successful
Publish To Prod / deploy_and_publish (push) Successful in 35s
239 lines
6.8 KiB
JSON
239 lines
6.8 KiB
JSON
{
|
|
"name": "react-markdown",
|
|
"version": "6.0.3",
|
|
"description": "Render Markdown as React components",
|
|
"license": "MIT",
|
|
"keywords": [
|
|
"remark",
|
|
"unified",
|
|
"markdown",
|
|
"commonmark",
|
|
"gfm",
|
|
"ast",
|
|
"react",
|
|
"react-component",
|
|
"component"
|
|
],
|
|
"repository": "remarkjs/react-markdown",
|
|
"bugs": "https://github.com/remarkjs/react-markdown/issues",
|
|
"funding": {
|
|
"type": "opencollective",
|
|
"url": "https://opencollective.com/unified"
|
|
},
|
|
"author": "Espen Hovlandsdal <espen@hovlandsdal.com>",
|
|
"contributors": [
|
|
"Espen Hovlandsdal <espen@hovlandsdal.com>",
|
|
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
|
|
"Thomas Lindstrøm <t@hom.as>",
|
|
"Fabian Irsara <info@fabianirsara.com>",
|
|
"René Kooi <renee@kooi.me>",
|
|
"Nicolas Venegas <nvenegas@atlassian.com>",
|
|
"Christian Murphy <christian.murphy.42@gmail.com>",
|
|
"Linus Unnebäck <linus@folkdatorn.se>",
|
|
"Peng Guanwen <pg999w@outlook.com>",
|
|
"mudrz <mudrz@outlook.com>",
|
|
"Jesse Pinho <jesse@jessepinho.com>",
|
|
"Florentin Luca Rieger <florentin.rieger@gmail.com>",
|
|
"Frank <frankieali4@gmail.com>",
|
|
"Igor Kamyshev <garik.novel@gmail.com>",
|
|
"Jack Williams <jsw547@gmail.com>",
|
|
"Jakub Chrzanowski <jakub@chrzanowski.info>",
|
|
"Jeremy Moseley <jeremy@jeremymoseley.net>",
|
|
"Kelvin Chan <kchan@securitycompass.com>",
|
|
"Kohei Asai <me@axross.io>",
|
|
"Marshall Smith <marshall@radialdevgroup.com>",
|
|
"Nathan Bierema <nbierema@gmail.com>",
|
|
"Petr Gazarov <petrgazarov@gmail.com>",
|
|
"Phil Rajchgot <tophil@outlook.com>",
|
|
"Rasmus Eneman <rasmus@eneman.eu>",
|
|
"Riku Rouvila <riku.rouvila@gmail.com>",
|
|
"Robin Wieruch <wrobin@gmx.net>",
|
|
"Rostyslav Melnychuk <blackswordgc@gmail.com>",
|
|
"Ted Piotrowski <tppiotrowski@gmail.com>",
|
|
"Thibaud Courtoison <do.not.press.enter@gmail.com>",
|
|
"Tiago Roldão <focus5.6@gmail.com>",
|
|
"cerkiewny <mstarzycki@gmail.com>",
|
|
"evoye <rosej@gmx.net>",
|
|
"gRoberts84 <gavin@gav-roberts.co.uk>",
|
|
"Alexander Wallin <office@alexanderwallin.com>",
|
|
"vanchagreen <vanchagreen@gmail.com>",
|
|
"Alexander Wong <admin@alexander-wong.com>",
|
|
"André Staltz <andre@staltz.com>",
|
|
"Angus MacIsaac <angus.macisaac@busbud.com>",
|
|
"Beau Roberts <beau.roberts@autodesk.com>",
|
|
"Charlie Chen <doveccl@live.com>",
|
|
"Christoph Werner <christoph@codepunkt.de>",
|
|
"Danny <dannyharding10@gmail.com>",
|
|
"Dennis S <denis.s@svsg.co>",
|
|
"Evan Hensleigh <futuraprime@gmail.com>"
|
|
],
|
|
"types": "src/react-markdown.d.ts",
|
|
"main": "src/react-markdown.js",
|
|
"unpkg": "react-markdown.min.js",
|
|
"files": [
|
|
"src/",
|
|
"react-markdown.min.js"
|
|
],
|
|
"dependencies": {
|
|
"@types/hast": "^2.0.0",
|
|
"@types/unist": "^2.0.3",
|
|
"comma-separated-tokens": "^1.0.0",
|
|
"prop-types": "^15.7.2",
|
|
"property-information": "^5.3.0",
|
|
"react-is": "^17.0.0",
|
|
"remark-parse": "^9.0.0",
|
|
"remark-rehype": "^8.0.0",
|
|
"space-separated-tokens": "^1.1.0",
|
|
"style-to-object": "^0.3.0",
|
|
"unified": "^9.0.0",
|
|
"unist-util-visit": "^2.0.0",
|
|
"vfile": "^4.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"@types/react": ">=16",
|
|
"react": ">=16"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.0.0",
|
|
"@babel/preset-env": "^7.0.0",
|
|
"@babel/preset-react": "^7.0.0",
|
|
"@matejmazur/react-katex": "^3.0.0",
|
|
"@rollup/plugin-babel": "^5.0.0",
|
|
"@rollup/plugin-commonjs": "^19.0.0",
|
|
"@rollup/plugin-json": "^4.0.0",
|
|
"@rollup/plugin-node-resolve": "^13.0.0",
|
|
"@testing-library/react": "^12.0.0",
|
|
"@types/jest": "^26.0.0",
|
|
"@types/react": "^17.0.0",
|
|
"@types/react-dom": "^17.0.0",
|
|
"@types/react-is": "^17.0.0",
|
|
"@types/react-test-renderer": "^17.0.0",
|
|
"babel-plugin-transform-react-remove-prop-types": "^0.4.24",
|
|
"eslint-config-xo-react": "^0.25.0",
|
|
"eslint-plugin-es": "^4.0.0",
|
|
"eslint-plugin-react": "^7.0.0",
|
|
"eslint-plugin-react-hooks": "^4.0.0",
|
|
"eslint-plugin-security": "^1.0.0",
|
|
"jest": "^27.0.0",
|
|
"katex": "^0.13.0",
|
|
"npm-run-all": "^4.0.0",
|
|
"prettier": "^2.0.0",
|
|
"react": "^17.0.0",
|
|
"react-dom": "^17.0.0",
|
|
"react-test-renderer": "^17.0.0",
|
|
"rehype-raw": "^5.0.0",
|
|
"remark-cli": "^9.0.0",
|
|
"remark-gfm": "^1.0.0",
|
|
"remark-math": "^4.0.0",
|
|
"remark-preset-wooorm": "^8.0.0",
|
|
"remark-toc": "^7.0.0",
|
|
"rimraf": "^3.0.0",
|
|
"rollup": "^2.0.0",
|
|
"rollup-plugin-node-polyfills": "^0.2.0",
|
|
"rollup-plugin-terser": "^7.0.0",
|
|
"type-coverage": "^2.0.0",
|
|
"typescript": "^4.0.0",
|
|
"uglify-js": "^3.0.0",
|
|
"xo": "^0.38.0"
|
|
},
|
|
"scripts": {
|
|
"prepack": "npm run build && npm run format",
|
|
"build:ts": "rimraf \"{src/**,test/**,}.d.ts\" && tsc && type-coverage",
|
|
"build:umd": "rollup --silent -c",
|
|
"build:umdcheck": "printf 'ES5? ' && uglifyjs react-markdown.min.js > /dev/null && echo 'Yes'",
|
|
"build": "run-s build:*",
|
|
"format": "remark . -qfo --ignore-pattern test/ && prettier . -w --loglevel warn && xo --fix",
|
|
"test": "run-s build format test:*",
|
|
"test:unit": "jest --coverage"
|
|
},
|
|
"browserslist": "> 0.25%, not dead",
|
|
"remarkConfig": {
|
|
"plugins": [
|
|
"preset-wooorm",
|
|
[
|
|
"gfm",
|
|
{
|
|
"tablePipeAlign": false
|
|
}
|
|
],
|
|
[
|
|
"lint-table-pipe-alignment",
|
|
false
|
|
],
|
|
[
|
|
"lint-no-html",
|
|
false
|
|
]
|
|
]
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "jsdom",
|
|
"coverageThreshold": {
|
|
"global": {
|
|
"branches": 100,
|
|
"functions": 100,
|
|
"lines": 100,
|
|
"statements": 100
|
|
}
|
|
}
|
|
},
|
|
"typeCoverage": {
|
|
"atLeast": 100,
|
|
"detail": true,
|
|
"strict": true,
|
|
"ignoreCatch": true,
|
|
"#": "below is ignored because some proptypes will `any`",
|
|
"ignoreFiles": [
|
|
"src/react-markdown.d.ts"
|
|
]
|
|
},
|
|
"prettier": {
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"singleQuote": true,
|
|
"bracketSpacing": false,
|
|
"semi": false,
|
|
"trailingComma": "none"
|
|
},
|
|
"xo": {
|
|
"prettier": true,
|
|
"esnext": false,
|
|
"extends": "xo-react",
|
|
"envs": [
|
|
"shared-node-browser"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"src/**/*.js"
|
|
],
|
|
"extends": [
|
|
"plugin:es/restrict-to-es2015",
|
|
"plugin:security/recommended"
|
|
],
|
|
"rules": {
|
|
"capitalized-comments": "off",
|
|
"complexity": "off",
|
|
"security/detect-object-injection": "off",
|
|
"unicorn/prefer-number-properties": "off",
|
|
"unicorn/prefer-optional-catch-binding": "off"
|
|
}
|
|
},
|
|
{
|
|
"envs": [
|
|
"jest"
|
|
],
|
|
"files": [
|
|
"test/**/*.js"
|
|
],
|
|
"rules": {
|
|
"react/no-children-prop": 0,
|
|
"react/display-name": 0,
|
|
"no-nested-ternary": 0,
|
|
"react/prop-types": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|