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.7",
|
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.16.7",
|
37 | "@babel/plugin-proposal-object-rest-spread": "^7.17.3",
|
38 | "@babel/plugin-proposal-optional-chaining": "^7.16.7",
|
39 | "@babel/plugin-transform-typescript": "^7.16.8",
|
40 | "@size-limit/preset-small-lib": "^7.0.8",
|
41 | "@types/jest": "^27.4.1",
|
42 | "@types/node": "^16.3.2",
|
43 | "@types/react": "^16.9.49",
|
44 | "@types/styled-components": "^5.1.24",
|
45 | "benchtable": "^0.1.0",
|
46 | "cli-progress": "^3.10.0",
|
47 | "esm": "^3.0.84",
|
48 | "in-publish": "^2.0.0",
|
49 | "jest": "^27.5.1",
|
50 | "jest-serializer-html": "^7.0.0",
|
51 | "markdown-it": "^12.3.2",
|
52 | "microbundle": "^0.14.2",
|
53 | "microtime": "^3.0.0",
|
54 | "mkdirp": "^1.0.4",
|
55 | "polished": "^3.0.3",
|
56 | "preact": "^10.6.6",
|
57 | "prettier": "^2.5.1",
|
58 | "react": "^16.13.1",
|
59 | "react-dom": "^16.13.1",
|
60 | "rimraf": "^3.0.2",
|
61 | "simple-markdown": "^0.7.2",
|
62 | "size-limit": "^7.0.8",
|
63 | "styled-components": "^5.3.3",
|
64 | "theredoc": "^1.0.0",
|
65 | "ts-jest": "^27.1.3",
|
66 | "typescript": "^4.6.2"
|
67 | },
|
68 | "peerDependencies": {
|
69 | "react": ">= 0.14.0"
|
70 | },
|
71 | "scripts": {
|
72 | "prepublish": "in-publish && npm run build && npm run release || not-in-publish",
|
73 | "prebuild": "rimraf dist && mkdirp dist",
|
74 | "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",
|
75 | "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",
|
76 | "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",
|
77 | "test": "jest --verbose",
|
78 | "size": "size-limit",
|
79 | "benchmark": "node -r esm benchmark.js"
|
80 | },
|
81 | "mangle": {
|
82 | "regex": "^_"
|
83 | },
|
84 | "size-limit": [
|
85 | {
|
86 | "path": "dist/index.js",
|
87 | "limit": "6 kB"
|
88 | }
|
89 | ],
|
90 | "jest": {
|
91 | "preset": "ts-jest",
|
92 | "globals": {
|
93 | "ts-jest": {
|
94 | "diagnostics": {
|
95 | "ignoreCodes": [
|
96 | "TS151001"
|
97 | ]
|
98 | }
|
99 | }
|
100 | },
|
101 | "testEnvironment": "jsdom",
|
102 | "snapshotSerializers": [
|
103 | "jest-serializer-html"
|
104 | ]
|
105 | },
|
106 | "collective": {
|
107 | "type": "opencollective",
|
108 | "url": "https://opencollective.com/markdown-to-jsx"
|
109 | },
|
110 | "dependencies": {}
|
111 | }
|