{
  "name": "openapi-ui-dist",
  "version": "2.3.3",
  "type": "module",
  "engines": {
    "node": "^18.0.0 || >=20.0.0"
  },
  "packageManager": "pnpm@9.10.0",
  "scripts": {
    "dev": "vite",
    "start": "vite",
    "build": "tsc -b && vite build",
    "build:package": "tsc -b && vite build --config vite.package.config.ts --mode package",
    "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings=0",
    "lintfix": "eslint . --ext ts,tsx --report-unused-disable-directives --fix",
    "lintquiet": "eslint src --quiet",
    "preview": "vite preview",
    "prepare": "husky"
  },
  "dependencies": {
    "@emotion/react": "^11.13.3",
    "@faker-js/faker": "^8.4.1",
    "@monaco-editor/react": "^4.6.0",
    "antd": "^5.20.1",
    "axios": "^1.7.7",
    "copy-to-clipboard": "^3.3.3",
    "dayjs": "^1.11.12",
    "i18next": "^23.15.1",
    "i18next-browser-languagedetector": "^8.0.0",
    "js-yaml": "^4.1.0",
    "json-schema-enhanced-editor-react": "^0.1.0",
    "lodash-es": "^4.17.21",
    "monaco-editor": "^0.52.0",
    "openapi-sampler": "^1.5.1",
    "react": "^18.2.0",
    "react-dom": "^18.2.0",
    "react-error-boundary": "^4.0.13",
    "react-i18next": "^15.0.2",
    "react-markdown": "^9.0.1",
    "react-router-dom": "^6.26.1",
    "react-router-toolkit": "^1.2.0",
    "react-syntax-highlighter": "^15.5.0",
    "regenerator-runtime": "^0.14.1",
    "swagger2openapi": "^7.0.8",
    "zustand": "^4.5.5"
  },
  "devDependencies": {
    "@babel/preset-react": "^7.25.7",
    "@commitlint/cli": "^19.5.0",
    "@commitlint/config-conventional": "^19.5.0",
    "@emotion/babel-plugin": "^11.12.0",
    "@esbuild-plugins/node-globals-polyfill": "^0.2.3",
    "@esbuild-plugins/node-modules-polyfill": "^0.2.2",
    "@trivago/prettier-plugin-sort-imports": "^4.3.0",
    "@types/js-yaml": "^4.0.9",
    "@types/lodash-es": "^4.17.8",
    "@types/react": "^18.2.79",
    "@types/react-dom": "^18.2.25",
    "@types/react-syntax-highlighter": "^15.5.11",
    "@types/swagger2openapi": "^7.0.4",
    "@typescript-eslint/eslint-plugin": "^7.18.0",
    "@typescript-eslint/parser": "^7.18.0",
    "@vitejs/plugin-react": "^4.3.1",
    "csstype": "^3.1.3",
    "eslint": "^8.56.0",
    "eslint-import-resolver-typescript": "^3.6.3",
    "eslint-plugin-import": "^2.30.0",
    "eslint-plugin-react": "^7.37.1",
    "eslint-plugin-react-hooks": "^4.6.2",
    "eslint-plugin-react-refresh": "^0.4.12",
    "husky": "^9.1.6",
    "lint-staged": "^15.2.10",
    "openapi-ts-request": "^0.6.0",
    "openapi-types": "^12.1.3",
    "prettier": "^3.3.3",
    "rollup-plugin-visualizer": "^5.12.0",
    "ts-node": "^10.9.2",
    "typescript": "^5.6.3",
    "vite": "^5.4.8",
    "vite-plugin-css-injected-by-js": "^3.5.2"
  },
  "commitlint": {
    "extends": [
      "@commitlint/config-conventional"
    ],
    "rules": {
      "type-enum": [
        2,
        "always",
        [
          "build",
          "chore",
          "ci",
          "docs",
          "feat",
          "fix",
          "perf",
          "refactor",
          "revert",
          "style",
          "test"
        ]
      ]
    }
  },
  "lint-staged": {
    "*.(ts|tsx)": [
      "eslint --fix --quiet",
      "prettier --write"
    ],
    "*.(cjs|json|html)": [
      "prettier --write"
    ]
  },
  "prettier": {
    "arrowParens": "always",
    "printWidth": 120,
    "importOrder": [
      "^@?\\w",
      "^@/(.*)$",
      "^[./]"
    ],
    "importOrderSeparation": true,
    "importOrderSortSpecifiers": true,
    "plugins": [
      "@trivago/prettier-plugin-sort-imports"
    ]
  },
  "main": "./lib/openapi-ui.umd.js",
  "module": "./es/openapi-ui.js",
  "types": "./index.d.ts",
  "files": [
    "es",
    "lib",
    "index.d.ts"
  ],
  "homepage": "https://github.com/rookie-luochao/openapi-ui#readme",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/rookie-luochao/openapi-ui"
  },
  "bugs": {
    "url": "https://github.com/rookie-luochao/openapi-ui/issues"
  },
  "keywords": [
    "openapi-ui",
    "swagger-ui",
    "openapi",
    "swagger",
    "openapi3",
    "openapi31",
    "api-documentation",
    "openapi-specification"
  ]
}
