UNPKG

@rc-component/menu

Version:
88 lines (87 loc) 2.27 kB
{ "name": "@rc-component/menu", "version": "1.1.4", "description": "menu ui component for react", "keywords": [ "react", "react-component", "menu", "ui", "react-menu" ], "homepage": "http://github.com/react-component/menu", "bugs": { "url": "http://github.com/react-component/menu/issues" }, "repository": { "type": "git", "url": "git@github.com:react-component/menu.git" }, "license": "MIT", "maintainers": [ "yiminghe@gmail.com", "hualei5280@gmail.com" ], "main": "./lib/index", "module": "./es/index", "files": [ "es", "lib", "assets/*.css", "assets/*.less" ], "scripts": { "compile": "father build && lessc assets/index.less assets/index.css", "coverage": "rc-test --coverage", "docs:build": "dumi build", "docs:deploy": "gh-pages -d .doc", "lint": "eslint src/ --ext .tsx,.ts,.jsx,.js", "now-build": "npm run build", "prepublishOnly": "npm run compile && rc-np", "postpublish": "tnpm sync @rc-component/menu", "start": "dumi dev", "test": "rc-test", "prepare": "husky && dumi setup" }, "dependencies": { "@rc-component/motion": "^1.1.4", "@rc-component/trigger": "^3.0.0", "@rc-component/util": "^1.3.0", "classnames": "2.x", "rc-overflow": "^1.3.1" }, "devDependencies": { "@rc-component/father-plugin": "^2.0.2", "@rc-component/np": "^1.0.3", "@testing-library/jest-dom": "^6.1.5", "@testing-library/react": "^16.0.0", "@types/jest": "^29.5.2", "@types/node": "^22.3.0", "@types/react": "^18.2.14", "@types/react-dom": "^18.2.6", "@types/warning": "^3.0.0", "cross-env": "^7.0.0", "dumi": "^2.1.17", "eslint": "^8.55.0", "eslint-plugin-jest": "^28.8.0", "eslint-plugin-unicorn": "^51.0.1", "father": "^4.0.0", "gh-pages": "^6.1.0", "husky": "^9.1.6", "less": "^4.1.3", "lint-staged": "^15.2.10", "prettier": "^3.3.3", "rc-test": "^7.0.14", "react": "^18.3.1", "react-dom": "^18.3.1", "regenerator-runtime": "^0.14.0", "typescript": "^5.1.6" }, "peerDependencies": { "react": ">=16.9.0", "react-dom": ">=16.9.0" }, "lint-staged": { "*": "prettier --write --ignore-unknown" } }