UNPKG

@datacamp/waffles-markdown

Version:

> A component to render markdown as HTML - without using innerHTML

67 lines (66 loc) 2.4 kB
{ "name": "@datacamp/waffles-markdown", "version": "4.0.11", "main": "lib/index.js", "module": "es/index.js", "types": "types/index.d.ts", "files": [ "es", "lib", "types" ], "license": "MIT", "sideEffects": [ "lib/sideEffects/*", "es/sideEffects/*" ], "repository": { "type": "git", "url": "https://github.com/datacamp-engineering/design-system/tree/master/packages/react-components/markdown/" }, "scripts": { "build:cjs": "BABEL_ENV=cjs babel src --extensions '.tsx','.ts' --out-dir lib --ignore \"src/**/*.spec.tsx\",\"src/**/*.spec.ts\" --config-file ./babel7.config.js", "build:es": "BABEL_ENV=es babel src --extensions '.tsx','.ts' --out-dir es --ignore \"src/**/*.spec.tsx\",\"src/**/*.spec.ts\" --config-file ./babel7.config.js", "build:legacy": "copyfiles -u 1 legacy/*.scss lib", "build:metadata": "react-docgen src --exclude \"/^.+spec.+$/\" -x tsx -o componentMetadata.json --resolver findAllComponentDefinitions", "clean": "rm -rf lib es types componentMetadata.json", "build:types": "tsc --rootDir src --declarationDir types --emitDeclarationOnly", "build": "yarn build:types && yarn build:cjs && yarn build:es && yarn build:legacy && yarn build:metadata", "prepare": " yarn clean && yarn build", "test": "jest", "type-check": "tsc --noEmit", "watch": "yarn build:es --watch", "stryker": "stryker run" }, "devDependencies": { "@babel/cli": "7.13.0", "@babel/core": "7.12.7", "@datacamp/waffles-axe-render": "^1.2.8", "@datacamp/waffles-babel-preset": "^3.1.0", "@datacamp/waffles-tsconfig": "^2.0.0", "@emotion/jest": "11.2.0", "@stryker-mutator/core": "^4.3.1", "@stryker-mutator/html-reporter": "^3.1.0", "@stryker-mutator/typescript": "^4.0.0", "@testing-library/jest-dom": "5.11.6", "@testing-library/react": "11.2.2", "@types/lodash": "4.14.165", "babel-jest": "26.6.3", "jest": "26.6.1", "react": "17.0.1", "react-docgen": "5.3.1", "react-dom": "17.0.1" }, "dependencies": { "@babel/runtime": "^7.12.1", "@datacamp/waffles-text": "^5.4.0", "prop-types": "^15.7.2", "react-markdown": "^5.0.3" }, "peerDependencies": { "@emotion/react": "^11.0.0", "react": "^16.8.6 || ^17.0.1", "react-dom": "^16.8.6 || ^17.0.1" }, "gitHead": "d84db30cdfb5859fc45c88263eb00fd00a358015" }