package.json 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "rc-menu",
  3. "version": "9.16.1",
  4. "description": "menu ui component for react",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "menu",
  9. "ui",
  10. "react-menu"
  11. ],
  12. "homepage": "http://github.com/react-component/menu",
  13. "bugs": {
  14. "url": "http://github.com/react-component/menu/issues"
  15. },
  16. "repository": {
  17. "type": "git",
  18. "url": "git@github.com:react-component/menu.git"
  19. },
  20. "license": "MIT",
  21. "maintainers": [
  22. "yiminghe@gmail.com",
  23. "hualei5280@gmail.com"
  24. ],
  25. "main": "./lib/index",
  26. "module": "./es/index",
  27. "files": [
  28. "es",
  29. "lib",
  30. "assets/*.css",
  31. "assets/*.less"
  32. ],
  33. "scripts": {
  34. "compile": "father build && lessc assets/index.less assets/index.css",
  35. "coverage": "rc-test --coverage",
  36. "docs:build": "dumi build",
  37. "docs:deploy": "gh-pages -d .doc",
  38. "lint": "eslint src/ --ext .tsx,.ts,.jsx,.js",
  39. "now-build": "npm run build",
  40. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  41. "postpublish": "tnpm sync rc-menu",
  42. "start": "dumi dev",
  43. "test": "rc-test",
  44. "prepare": "husky && dumi setup"
  45. },
  46. "dependencies": {
  47. "@babel/runtime": "^7.10.1",
  48. "@rc-component/trigger": "^2.0.0",
  49. "classnames": "2.x",
  50. "rc-motion": "^2.4.3",
  51. "rc-overflow": "^1.3.1",
  52. "rc-util": "^5.27.0"
  53. },
  54. "devDependencies": {
  55. "@rc-component/father-plugin": "^1.0.0",
  56. "@testing-library/jest-dom": "^6.1.5",
  57. "@testing-library/react": "^15.0.7",
  58. "@types/jest": "^29.5.2",
  59. "@types/node": "^22.3.0",
  60. "@types/react": "^18.2.14",
  61. "@types/react-dom": "^18.2.6",
  62. "@types/warning": "^3.0.0",
  63. "cross-env": "^7.0.0",
  64. "dumi": "^2.1.17",
  65. "eslint": "^8.55.0",
  66. "eslint-plugin-jest": "^27.6.0",
  67. "eslint-plugin-unicorn": "^51.0.1",
  68. "father": "^4.0.0",
  69. "gh-pages": "^6.1.0",
  70. "husky": "^9.1.6",
  71. "less": "^4.1.3",
  72. "lint-staged": "^15.2.10",
  73. "np": "^10.0.5",
  74. "prettier": "^3.3.3",
  75. "rc-test": "^7.0.14",
  76. "react": "^18.3.1",
  77. "react-dom": "^18.3.1",
  78. "regenerator-runtime": "^0.14.0",
  79. "typescript": "^5.1.6"
  80. },
  81. "peerDependencies": {
  82. "react": ">=16.9.0",
  83. "react-dom": ">=16.9.0"
  84. },
  85. "lint-staged": {
  86. "*": "prettier --write --ignore-unknown"
  87. }
  88. }