{
  "name": "react-doc-ui",
  "version": "2.4.0",
  "description": "React Document UI",
  "keywords": [
    "react",
    "document",
    "component",
    "library",
    "demo",
    "playground",
    "syntax-highlight"
  ],
  "homepage": "https://guoyunhe.github.io/react-doc-ui/",
  "bugs": {
    "url": "https://github.com/guoyunhe/react-doc-ui/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/guoyunhe/react-doc-ui.git"
  },
  "funding": "https://github.com/sponsors/guoyunhe",
  "license": "MIT",
  "author": {
    "name": "Guo Yunhe",
    "email": "i@guoyunhe.me"
  },
  "type": "module",
  "exports": {
    ".": {
      "import": "./dist/index.js",
      "types": "./dist/index.d.ts"
    }
  },
  "main": "./dist/index.js",
  "types": "./dist/index.d.ts",
  "style": "./dist/index.css",
  "files": [
    "dist",
    "CHANGELOG.md",
    "LICENSE",
    "README.md"
  ],
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ]
  },
  "lint-staged": {
    "*.{cjs,cts,js,jsx,mjs,mts,ts,tsx,vue}": "eslint --fix",
    "*.{css,less,scss}": "stylelint --fix",
    "*.{cjs,css,cts,html,js,json,jsx,less,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}": "prettier --write"
  },
  "prettier": "prettier-config-ali",
  "stylelint": {
    "extends": [
      "stylelint-config-ali",
      "stylelint-prettier/recommended"
    ]
  },
  "dependencies": {
    "@guoyunhe/prism-theme-github": "^1.0.0",
    "@mdx-js/react": "^3.1.0",
    "classnames": "^2.5.1",
    "i18next": "^25.2.1",
    "i18next-browser-languagedetector": "^8.1.0",
    "prism-react-renderer": "^2.4.1",
    "react-bootstrap-icons-pro": "^1.1.4",
    "react-i18next": "^15.5.2",
    "react-live": "^4.1.8",
    "react-responsive": "^9.0.2",
    "react-use-localstorage": "^3.5.3",
    "wouter": "^3.7.1"
  },
  "devDependencies": {
    "@commitlint/cli": "^19.8.1",
    "@commitlint/config-conventional": "^19.8.1",
    "@mdx-js/react": "^3.1.0",
    "@testing-library/dom": "^10.4.0",
    "@testing-library/react": "^16.3.0",
    "@testing-library/user-event": "^14.6.1",
    "@tsconfig/vite-react": "^1.0.1",
    "@types/node": "^22.15.27",
    "@types/react": "^18.3.23",
    "@types/react-dom": "^18.3.7",
    "@vitest/coverage-v8": "^3.1.4",
    "@vitest/ui": "^3.1.4",
    "eslint": "^9.27.0",
    "eslint-config-ali": "^16.3.0",
    "eslint-config-prettier": "^10.1.5",
    "eslint-plugin-prettier": "^5.4.1",
    "gh-pages": "^6.3.0",
    "happy-dom": "^17.5.6",
    "husky": "^9.1.7",
    "lint-staged": "^16.1.0",
    "prettier": "^3.5.3",
    "prettier-config-ali": "^1.3.4",
    "react": "^18.3.1",
    "react-doc-ui": "^2.3.3",
    "react-dom": "^18.3.1",
    "rive": "^3.1.2",
    "stylelint": "^16.20.0",
    "stylelint-config-ali": "^2.1.2",
    "stylelint-prettier": "^5.0.3",
    "typescript": "^5.8.3",
    "vitest": "^3.1.4"
  },
  "peerDependencies": {
    "react": ">=16.8.0"
  },
  "rive": {
    "doc": {
      "title": "React Doc UI",
      "basename": "/react-doc-ui/",
      "languages": [
        {
          "code": "en",
          "name": "🇬🇧 English"
        },
        {
          "code": "zh",
          "name": "🇨🇳 中文"
        }
      ]
    },
    "template": "react"
  },
  "scripts": {
    "build": "rive build",
    "build:watch": "rive build --watch",
    "ci:eslint": "eslint -f json src -o ./.ci/eslint.json",
    "deploy": "gh-pages -d build",
    "lint": "eslint . && stylelint \"**/*.{css,less,scss}\"",
    "lint:fix": "prettier --write . && eslint --fix . && stylelint --fix \"**/*.{css,less,scss}\"",
    "start": "rive start",
    "test": "vitest run",
    "test:coverage": "vitest run --coverage",
    "test:ui": "vitest --ui",
    "test:watch": "vitest"
  }
}