{
  "name": "@szhsin/react-menu",
  "version": "4.3.0",
  "description": "React component for building accessible menu, dropdown, submenu, context menu and more.",
  "author": "Zheng Song",
  "license": "MIT",
  "repository": "szhsin/react-menu",
  "homepage": "https://szhsin.github.io/react-menu/",
  "main": "dist/index.js",
  "module": "dist/es/index.js",
  "types": "types/index.d.ts",
  "publishConfig": {
    "access": "public"
  },
  "sideEffects": [
    "*.css"
  ],
  "files": [
    "dist",
    "types/*.d.ts",
    "style-utils"
  ],
  "scripts": {
    "bundle": "rollup -c",
    "watch": "rollup -c -w",
    "css": "sass src/styles:dist --no-source-map",
    "clean": "rm -rf dist && mkdir -p dist",
    "start": "run-p \"css -- --watch\" watch",
    "build": "run-s pret clean lint types css bundle",
    "test": "jest",
    "test:watch": "jest --watch --verbose",
    "test:cov": "jest --coverage=true",
    "lint": "eslint .",
    "lint:fix": "eslint --fix .",
    "pret": "prettier -c .",
    "pret:fix": "prettier -w .",
    "types": "cd types && tsc",
    "eg": "npm run dev --prefix example"
  },
  "peerDependencies": {
    "react": ">=16.14.0",
    "react-dom": ">=16.14.0"
  },
  "dependencies": {
    "react-transition-state": "^2.2.0"
  },
  "devDependencies": {
    "@babel/core": "^7.26.0",
    "@babel/preset-env": "^7.26.0",
    "@babel/preset-react": "^7.26.3",
    "@rollup/plugin-babel": "^6.0.4",
    "@rollup/plugin-node-resolve": "^16.0.0",
    "@testing-library/jest-dom": "^6.6.3",
    "@testing-library/react": "^16.1.0",
    "@types/jest": "^29.5.14",
    "@types/react": "^19.0.4",
    "@types/react-dom": "^19.0.2",
    "babel-plugin-pure-annotations": "^0.1.2",
    "eslint": "^9.17.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-jest": "^28.10.0",
    "eslint-plugin-react": "^7.37.4",
    "eslint-plugin-react-hooks": "^5.1.0",
    "eslint-plugin-react-hooks-addons": "^0.4.1",
    "globals": "^15.14.0",
    "jest": "^29.7.0",
    "jest-axe": "^9.0.0",
    "jest-environment-jsdom": "^29.7.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^3.4.2",
    "react": "^19",
    "react-dom": "^19",
    "rollup": "^4.30.1",
    "sass": "^1.83.1",
    "typescript": "^5.7.3"
  },
  "overrides": {
    "whatwg-url@11.0.0": {
      "tr46": "^4"
    }
  },
  "keywords": [
    "react",
    "menu",
    "component",
    "submenu",
    "context menu",
    "dropdown",
    "tooltip",
    "checkbox",
    "radio button",
    "accessibility",
    "wai-aria"
  ]
}
