{
  "name": "@szhsin/react-accordion",
  "version": "1.4.4",
  "description": "The complete accordion solution for React.",
  "author": "Zheng Song",
  "license": "MIT",
  "repository": "szhsin/react-accordion",
  "homepage": "https://szhsin.github.io/react-accordion/",
  "type": "module",
  "main": "./dist/cjs/index.cjs",
  "module": "./dist/esm/index.mjs",
  "types": "./types/esm/index.d.ts",
  "publishConfig": {
    "access": "public"
  },
  "sideEffects": false,
  "files": [
    "dist/",
    "types/"
  ],
  "keywords": [
    "react",
    "accordion",
    "component",
    "hook",
    "unstyled",
    "headless UI",
    "design system",
    "accessibility",
    "wai-aria"
  ],
  "scripts": {
    "start": "run-p watch types:watch",
    "eg": "npm run dev --prefix example",
    "bundle": "rolldown -c",
    "watch": "rolldown -w -c",
    "clean": "rm -Rf dist types",
    "types": "tsc && rm -Rf types/cjs && cp -R types/esm types/cjs && echo '{\"type\":\"commonjs\"}' > types/cjs/package.json",
    "types:watch": "tsc --watch",
    "lint": "eslint .",
    "lint:fix": "eslint --fix .",
    "pret": "prettier -c .",
    "pret:fix": "prettier -w .",
    "test": "vitest run",
    "postbuild": "rm -Rf types/*/__tests__",
    "build": "run-s pret clean types lint bundle"
  },
  "exports": {
    ".": {
      "require": {
        "types": "./types/cjs/index.d.ts",
        "default": "./dist/cjs/index.cjs"
      },
      "default": {
        "types": "./types/esm/index.d.ts",
        "default": "./dist/esm/index.mjs"
      }
    },
    "./package.json": "./package.json"
  },
  "peerDependencies": {
    "react": "^16.14 || ^17.0 || ^18.0 || ^19.0",
    "react-dom": "^16.14 || ^17.0 || ^18.0 || ^19.0"
  },
  "dependencies": {
    "react-transition-state": "^2.4.1"
  },
  "devDependencies": {
    "@eslint/js": "^10.0.1",
    "@testing-library/jest-dom": "^7.0.1",
    "@testing-library/react": "^16.3.3",
    "@types/node": "^26.6.6",
    "@types/react": "^19.3.0",
    "@types/react-dom": "^19.3.0",
    "@vitest/coverage-v8": "^5.1.0",
    "@vitest/eslint-plugin": "^1.6.28",
    "eslint": "^10.15.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-react-hooks": "^7.1.1",
    "eslint-plugin-react-hooks-addons": "^0.6.0",
    "globals": "^17.14.0",
    "jest-dom-extended": "^0.2.3",
    "jsdom": "^31.0.1",
    "npm-run-all2": "^9.0.4",
    "prettier": "^3.10.1",
    "react": "^19.3.1",
    "react-dom": "^19.3.1",
    "rolldown": "^1.3.2",
    "rollup-plugin-add-directive": "^1.0.0",
    "typescript": "^6.0.3",
    "typescript-eslint": "^8.72.2",
    "vitest": "^5.1.0"
  }
}
