markdown-to-jsx 7.7.0 → 7.7.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Convert markdown to JSX with ease for React and React-like projects. Super lightweight and highly configurable.",
4
4
  "homepage": "https://markdown-to-jsx.quantizor.dev",
5
5
  "license": "MIT",
6
- "version": "7.7.0",
6
+ "version": "7.7.2",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
@@ -89,12 +89,12 @@
89
89
  "prepublish": "in-publish && npm run build && npm run release || not-in-publish",
90
90
  "prebuild": "rimraf dist && mkdirp dist",
91
91
  "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",
92
- "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,katex --globals react=React,react-dom=ReactDOM,styled-components=styled --no-pkg-main",
92
+ "build-site": "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,katex --globals react=React,react-dom=ReactDOM,styled-components=styled --no-pkg-main",
93
93
  "dev": "microbundle watch site.tsx -o docs -f iife --tsconfig tsconfig.site.json --define process.env.NODE_ENV=development --jsx React.createElement --external react,react-dom,styled-components,katex --globals react=React,react-dom=ReactDOM,styled-components=styled --no-pkg-main",
94
94
  "test": "jest --verbose",
95
95
  "size": "size-limit",
96
96
  "benchmark": "node benchmark.js",
97
- "changeset-publish": "yarn build && yarn release && changeset publish"
97
+ "changeset-publish": "yarn build && changeset publish"
98
98
  },
99
99
  "size-limit": [
100
100
  {
package/dist/site.d.ts DELETED
@@ -1,13 +0,0 @@
1
- import { CSSProp } from 'styled-components';
2
- declare global {
3
- interface Window {
4
- hljs: {
5
- highlightElement: (element: HTMLElement) => void;
6
- };
7
- }
8
- }
9
- declare module 'react' {
10
- interface Attributes {
11
- css?: CSSProp;
12
- }
13
- }