{
  "private": true,
  "name": "monorepo",
  "license": "MIT",
  "homepage": "https://mdxjs.com",
  "repository": "mdx-js/mdx",
  "bugs": "https://github.com/mdx-js/mdx/issues",
  "funding": {
    "type": "opencollective",
    "url": "https://opencollective.com/unified"
  },
  "type": "module",
  "workspaces": [
    "packages/remark-mdx",
    "packages/mdx",
    "packages/react",
    "packages/preact",
    "packages/vue",
    "packages/esbuild",
    "packages/loader",
    "packages/node-loader",
    "packages/register",
    "packages/rollup"
  ],
  "devDependencies": {
    "@babel/core": "^7.0.0",
    "@babel/preset-react": "^7.0.0",
    "@codemirror/basic-setup": "^0.19.0",
    "@codemirror/lang-markdown": "^0.19.0",
    "@codemirror/state": "^0.19.0",
    "@codemirror/theme-one-dark": "^0.19.0",
    "@codemirror/view": "^0.19.0",
    "@node-loader/babel": "^1.0.0",
    "@node-loader/core": "^1.0.0",
    "ap-style-title-case": "^1.0.0",
    "autoprefixer": "^10.0.0",
    "babel-loader": "^8.0.0",
    "c8": "^7.0.0",
    "capture-website": "^2.0.0",
    "chrome-aws-lambda": "^10.1.0",
    "cssnano": "^5.0.0",
    "dlv": "^1.0.0",
    "esbuild": "^0.13.0",
    "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",
    "estree-util-value-to-estree": "^1.0.0",
    "globby": "^12.0.0",
    "hast-to-hyperscript": "^10.0.0",
    "hast-util-select": "^5.0.0",
    "hast-util-to-text": "^3.0.0",
    "hastscript": "^7.0.0",
    "highlight.js": "^11.0.0",
    "husky": "^7.0.0",
    "lint-staged": "^11.0.0",
    "lowlight": "^2.0.0",
    "p-all": "^4.0.0",
    "patch-package": "^6.0.0",
    "periscopic": "^3.0.0",
    "postcss": "^8.0.0",
    "postcss-cli": "^9.0.0",
    "prettier": "^2.0.0",
    "puppeteer-core": "^10.0.0",
    "react": "0.0.0-experimental-7ec4c5597",
    "react-dom": "0.0.0-experimental-7ec4c5597",
    "react-error-boundary": "^3.0.0",
    "react-fetch": "0.0.0-experimental-7ec4c5597",
    "react-server-dom-webpack": "0.0.0-experimental-7ec4c5597",
    "react-tabs": "^3.0.0",
    "react-use-clipboard": "^1.0.0",
    "rehype-autolink-headings": "^6.0.0",
    "rehype-document": "^6.0.0",
    "rehype-highlight": "^5.0.0",
    "rehype-infer-description-meta": "^1.0.0",
    "rehype-infer-reading-time-meta": "^1.0.0",
    "rehype-infer-title-meta": "^1.0.0",
    "rehype-meta": "^3.0.0",
    "rehype-minify-url": "^4.0.0",
    "rehype-parse": "^8.0.0",
    "rehype-preset-minify": "^6.0.0",
    "rehype-raw": "^6.0.0",
    "rehype-remove-comments": "^5.0.0",
    "rehype-sanitize": "^5.0.0",
    "rehype-shift-heading": "^1.0.0",
    "rehype-slug": "^5.0.0",
    "rehype-stringify": "^9.0.0",
    "remark-cli": "^10.0.0",
    "remark-frontmatter": "^4.0.0",
    "remark-gemoji": "^7.0.0",
    "remark-gfm": "^3.0.0",
    "remark-github": "^11.0.0",
    "remark-mdx-frontmatter": "^1.0.0",
    "remark-preset-wooorm": "^9.0.0",
    "remark-squeeze-paragraphs": "^5.0.0",
    "remark-strip-badges": "^6.0.0",
    "remark-toc": "^8.0.0",
    "rimraf": "^3.0.0",
    "rodemirror": "^1.0.0",
    "type-coverage": "^2.0.0",
    "typescript": "^4.0.0",
    "unified": "^10.0.0",
    "unist-builder": "^3.0.0",
    "unist-util-visit": "^4.0.0",
    "uvu": "^0.5.0",
    "vfile": "^5.0.0",
    "vfile-message": "^3.0.0",
    "vfile-reporter": "^7.0.0",
    "vfile-statistics": "^2.0.0",
    "webpack": "^4.0.0",
    "xast-util-feed": "^1.0.0",
    "xast-util-sitemap": "^1.0.0",
    "xast-util-to-xml": "^3.0.0",
    "xo": "^0.45.0"
  },
  "scripts": {
    "postinstall": "patch-package",
    "prepare": "husky install",
    "clean": "npm exec -c \"rimraf node_modules\" --workspaces",
    "docs-prep": "node --unhandled-rejections=strict website/prep.js && postcss docs/_asset/index.css -o public/index.css",
    "docs-bundle-dev": "NODE_ENV=development node --unhandled-rejections=strict website/bundle.js",
    "docs-bundle-prod": "NODE_ENV=production node --unhandled-rejections=strict website/bundle.js",
    "docs-generate": "NODE_LOADER_CONFIG=website/loader-react-server.js node --unhandled-rejections=strict --no-warnings --experimental-loader @node-loader/core --conditions=react-server website/generate.server.js",
    "docs-prerender": "NODE_LOADER_CONFIG=website/loader.js node --unhandled-rejections=strict --no-warnings --experimental-loader @node-loader/core website/prerender.js",
    "docs-post": "node --unhandled-rejections=strict website/post.js",
    "docs-dev": "npm run docs-prep && npm run docs-bundle-dev && npm run docs-generate && npm run docs-prerender && npm run docs-post",
    "docs-prod": "npm run docs-prep && npm run docs-bundle-prod && npm run docs-generate && npm run docs-prerender && npm run docs-post",
    "docs": "npm run docs-prod",
    "docs-deploy": "vercel && vercel alias $(pbpaste) mdxjs.com && vercel alias $(pbpaste) www.mdxjs.com",
    "format": "remark . -qfo && remark . -e mdx -u mdx -qfo && prettier . -w --loglevel warn && xo --fix",
    "lint": "remark . -qf && remark . -e mdx -u mdx -qf && prettier . -c --loglevel warn && xo",
    "publish-ci": "# lerna publish -y --canary --preid ci --pre-dist-tag ci",
    "publish-next": "# lerna publish --force-publish=\"*\" --pre-dist-tag next --preid next",
    "build": "npm run build --workspaces --if-present",
    "test-api": "npm run test-api --workspaces --if-present",
    "test-coverage": "npm run test-coverage --workspaces --if-present",
    "test": "npm run build && npm run format && npm run test-coverage"
  },
  "lint-staged": {
    "*.{js,jsx,ts,tsx}": [
      "xo --fix"
    ],
    "*.{css,html,json,js,jsx,ts,tsx,yml}": [
      "prettier --write"
    ],
    "*.md": [
      "remark -qfo --"
    ],
    "*.mdx": [
      "remark -u mdx -qfo --"
    ]
  },
  "browserslist": [
    "last 2 versions",
    "not dead"
  ],
  "prettier": {
    "singleQuote": true,
    "bracketSpacing": false,
    "semi": false,
    "trailingComma": "none"
  },
  "xo": {
    "envs": [
      "shared-node-browser"
    ],
    "extensions": [
      "jsx",
      "cjs"
    ],
    "prettier": true,
    "rules": {
      "node/file-extension-in-import": "off",
      "react/prop-types": "off",
      "unicorn/prefer-node-protocol": "off",
      "capitalized-comments": "off",
      "complexity": "off"
    },
    "overrides": [
      {
        "files": [
          "docs/_asset/index.client.js"
        ],
        "envs": [
          "browser"
        ]
      },
      {
        "files": [
          "docs/**/*.js",
          "packages/{mdx,react,preact}/test/**/*.{js,jsx}",
          "website/**/*.js"
        ],
        "extends": "xo-react"
      },
      {
        "files": [
          "packages/*/lib/**/*.js",
          "packages/remark-mdx/index.js"
        ],
        "extends": [
          "plugin:es/restrict-to-es2019",
          "plugin:security/recommended"
        ],
        "rules": {
          "security/detect-object-injection": "off"
        }
      },
      {
        "files": [
          "**/*.d.ts"
        ],
        "rules": {
          "@typescript-eslint/consistent-indexed-object-style": [
            "error",
            "index-signature"
          ]
        }
      }
    ]
  },
  "postcss": {
    "plugins": {
      "autoprefixer": true,
      "cssnano": {
        "preset": "default"
      }
    }
  },
  "remarkConfig": {
    "plugins": [
      "preset-wooorm",
      [
        "lint-no-html",
        false
      ],
      [
        "lint-file-extension",
        false
      ]
    ]
  }
}
