{
  "name": "rive",
  "version": "3.4.0",
  "description": "Effortless React Library Development Experience",
  "keywords": [
    "react",
    "typescript",
    "library",
    "component",
    "vite",
    "document"
  ],
  "homepage": "https://github.com/guoyunhe/rive#readme",
  "bugs": {
    "url": "https://github.com/guoyunhe/rive/issues"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/guoyunhe/rive.git"
  },
  "funding": "https://github.com/sponsors/guoyunhe",
  "license": "GPL-3.0",
  "author": "Guo Yunhe",
  "type": "module",
  "exports": {
    ".": {
      "types": "./dist/index.d.ts",
      "import": "./dist/index.js"
    },
    "./ui": {
      "types": "./dist/ui/index.d.ts",
      "import": "./dist/ui/index.js"
    }
  },
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "bin": "dist/rive.js",
  "files": [
    "dist",
    "globals.d.ts",
    "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/react-storage": "^2.0.1",
    "@mdx-js/rollup": "^3.1.1",
    "@preact/preset-vite": "^2.10.5",
    "@stefanprobst/rehype-extract-toc": "^3.0.0",
    "@vitejs/plugin-react": "^6.0.1",
    "chalk": "^5.6.2",
    "chokidar": "^5.0.0",
    "classnames": "^2.5.1",
    "commander": "^14.0.3",
    "eslint": "^9.34.0",
    "fast-glob": "^3.3.3",
    "fs-extra": "^11.3.4",
    "i18n": "^0.15.3",
    "i18next": "^26.0.1",
    "i18next-browser-languagedetector": "^8.2.1",
    "json5": "^2.2.3",
    "postcss": "^8.5.8",
    "prettier": "^3.8.1",
    "prettier-config-rive": "^1.0.0",
    "prism-react-renderer": "^2.4.1",
    "react-i18next": "^17.0.1",
    "react-live": "^4.1.8",
    "react-responsive": "^10.0.1",
    "recma-export-filepath": "^1.2.0",
    "recma-mdx-displayname": "^0.4.1",
    "rehype-mdx-code-imports": "^0.4.3",
    "rehype-mdx-code-props": "^3.0.1",
    "rehype-mdx-import-media": "^1.4.0",
    "rehype-mdx-title": "^3.2.0",
    "rehype-slug": "^6.0.0",
    "remark-frontmatter": "^5.0.0",
    "remark-gfm": "^4.0.1",
    "remark-mdx-frontmatter": "^5.2.0",
    "simple-git": "^3.33.0",
    "tsc-alias": "^1.8.16",
    "typescript": "^6.0.2",
    "vite": "^8.0.3",
    "vite-plugin-commonjs": "^0.10.4",
    "wouter": "^3.9.0"
  },
  "devDependencies": {
    "@commitlint/cli": "^20.5.0",
    "@commitlint/config-conventional": "^20.5.0",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/react": "^16.3.2",
    "@types/eslint": "^9.6.1",
    "@types/fs-extra": "^11.0.4",
    "@types/i18n": "^0.13.12",
    "@types/node": "^25.5.0",
    "@types/react": "^19.2.14",
    "@types/react-dom": "^19.2.3",
    "@vitest/ui": "^4.1.2",
    "eslint": "^9.34.0",
    "eslint-config-ali": "^16.6.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-prettier": "^5.5.5",
    "happy-dom": "^20.8.9",
    "husky": "^9.1.7",
    "lint-staged": "^16.4.0",
    "prettier": "^3.8.1",
    "prettier-config-ali": "^1.5.0",
    "prettier-plugin-packagejson": "^3.0.2",
    "stylelint": "^17.6.0",
    "stylelint-config-ali": "^2.3.0",
    "stylelint-prettier": "^5.0.3",
    "tsx": "^4.21.0",
    "typescript": "^6.0.2",
    "vitest": "^4.1.2"
  },
  "peerDependencies": {
    "@mdx-js/preact": "^3.1.0",
    "@mdx-js/react": "^3.1.0",
    "react": ">=16.8",
    "react-dom": ">=16.8"
  },
  "rive": {
    "template": "cli",
    "doc": {
      "basename": "/rive/",
      "languages": [
        {
          "code": "en",
          "name": "🇬🇧 English"
        },
        {
          "code": "zh",
          "name": "🇨🇳 中文"
        }
      ]
    }
  },
  "scripts": {
    "build": "tsx src/rive.ts build",
    "build:watch": "tsx src/rive.ts build --watch",
    "ci:eslint": "eslint -f json src -o ./.ci/eslint.json",
    "lint": "eslint . && stylelint --allow-empty-input \"**/*.{css,less,scss}\"",
    "lint:fix": "prettier --write . && eslint --fix . && stylelint --allow-empty-input --fix \"**/*.{css,less,scss}\"",
    "start": "tsx src/rive.ts start",
    "test": "vitest run",
    "test:ui": "vitest --ui",
    "test:watch": "vitest"
  }
}