1 | {
|
2 | "name": "markdown-to-jsx",
|
3 | "description": "Convert markdown to JSX with ease for React and React-like projects. Super lightweight and highly configurable.",
|
4 | "homepage": "https://probablyup.github.io/markdown-to-jsx",
|
5 | "license": "MIT",
|
6 | "version": "7.1.5",
|
7 | "engines": {
|
8 | "node": ">= 10"
|
9 | },
|
10 | "keywords": [
|
11 | "markdown",
|
12 | "markdown converter",
|
13 | "react",
|
14 | "preact",
|
15 | "jsx",
|
16 | "html"
|
17 | ],
|
18 | "author": "Evan Jacobs <probablyup@gmail.com>",
|
19 | "repository": "probablyup/markdown-to-jsx",
|
20 | "bugs": "https://github.com/probablyup/markdown-to-jsx/issues",
|
21 | "files": [
|
22 | "dist",
|
23 | "LICENSE",
|
24 | "README.md"
|
25 | ],
|
26 | "exports": {
|
27 | "import": "./dist/index.modern.js",
|
28 | "require": "./dist/index.js"
|
29 | },
|
30 | "main": "dist/index.js",
|
31 | "module": "dist/index.module.js",
|
32 | "source": "index.tsx",
|
33 | "unpkg": "./dist/index.umd.js",
|
34 | "types": "dist/index.d.ts",
|
35 | "devDependencies": {
|
36 | "@babel/plugin-proposal-nullish-coalescing-operator": "^7.10.4",
|
37 | "@babel/plugin-proposal-object-rest-spread": "^7.11.0",
|
38 | "@babel/plugin-proposal-optional-chaining": "^7.12.7",
|
39 | "@babel/plugin-transform-typescript": "^7.11.0",
|
40 | "@size-limit/preset-small-lib": "^5.0.1",
|
41 | "@types/jest": "^26.0.23",
|
42 | "@types/node": "^16.3.2",
|
43 | "@types/react": "^16.9.49",
|
44 | "@types/styled-components": "^5.1.7",
|
45 | "benchtable": "^0.1.0",
|
46 | "cli-progress": "^3.8.2",
|
47 | "codecov": "^3.1.0",
|
48 | "esm": "^3.0.84",
|
49 | "in-publish": "^2.0.0",
|
50 | "jest": "^27.0.6",
|
51 | "jest-serializer-html": "^7.0.0",
|
52 | "markdown-it": "^11.0.0",
|
53 | "microbundle": "^0.13.0",
|
54 | "microtime": "^3.0.0",
|
55 | "mkdirp": "^1.0.4",
|
56 | "polished": "^3.0.3",
|
57 | "preact": "^10.5.9",
|
58 | "prettier": "^2.2.1",
|
59 | "react": "^16.13.1",
|
60 | "react-dom": "^16.13.1",
|
61 | "react-markdown": "^4.0.3",
|
62 | "rimraf": "^3.0.2",
|
63 | "simple-markdown": "^0.7.2",
|
64 | "size-limit": "^5.0.1",
|
65 | "styled-components": "^5.1.1",
|
66 | "theredoc": "^1.0.0",
|
67 | "ts-jest": "^27.0.3",
|
68 | "typescript": "^4.1.3",
|
69 | "unquote": "^1.1.0"
|
70 | },
|
71 | "peerDependencies": {
|
72 | "react": ">= 0.14.0"
|
73 | },
|
74 | "scripts": {
|
75 | "prepublish": "in-publish && npm run build && npm run release || not-in-publish",
|
76 | "prebuild": "rimraf dist && mkdirp dist",
|
77 | "build": "microbundle --tsconfig tsconfig.json -f cjs,umd index.cjs.tsx --name MarkdownToJSX --define process.env.NODE_ENV=production --globals react=React && microbundle --tsconfig tsconfig.json -f es,modern --name MarkdownToJSX --define process.env.NODE_ENV=production",
|
78 | "release": "microbundle site.tsx -o docs -f iife --tsconfig tsconfig.site.json --define process.env.NODE_ENV=production --jsx React.createElement --external react,react-dom,styled-components --globals react=React,react-dom=ReactDOM,styled-components=styled",
|
79 | "dev": "microbundle watch site.tsx -o docs -f iife --tsconfig tsconfig.site.json --define process.env.NODE_ENV=development --no-compress --jsx React.createElement --external react,react-dom,styled-components --globals react=React,react-dom=ReactDOM,styled-components=styled",
|
80 | "test": "jest --verbose",
|
81 | "size": "size-limit",
|
82 | "benchmark": "node -r esm benchmark.js"
|
83 | },
|
84 | "mangle": {
|
85 | "regex": "^_"
|
86 | },
|
87 | "size-limit": [
|
88 | {
|
89 | "path": "dist/index.js",
|
90 | "limit": "5.5 kB"
|
91 | }
|
92 | ],
|
93 | "jest": {
|
94 | "preset": "ts-jest",
|
95 | "testEnvironment": "jsdom",
|
96 | "snapshotSerializers": [
|
97 | "jest-serializer-html"
|
98 | ]
|
99 | },
|
100 | "collective": {
|
101 | "type": "opencollective",
|
102 | "url": "https://opencollective.com/markdown-to-jsx"
|
103 | }
|
104 | }
|