package.json 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. {
  2. "name": "rc-dropdown",
  3. "version": "4.2.1",
  4. "description": "dropdown ui component for react",
  5. "keywords": [
  6. "react",
  7. "react-dropdown"
  8. ],
  9. "homepage": "http://github.com/react-component/dropdown",
  10. "bugs": {
  11. "url": "http://github.com/react-component/dropdown/issues"
  12. },
  13. "repository": {
  14. "type": "git",
  15. "url": "git@github.com:react-component/dropdown.git"
  16. },
  17. "license": "MIT",
  18. "maintainers": [
  19. "yiminghe@gmail.com",
  20. "hualei5280@gmail.com"
  21. ],
  22. "main": "lib/index",
  23. "module": "./es/index",
  24. "files": [
  25. "lib",
  26. "es",
  27. "assets/*.css"
  28. ],
  29. "scripts": {
  30. "build": "dumi build",
  31. "compile": "father build && lessc assets/index.less assets/index.css",
  32. "coverage": "rc-test --coverage",
  33. "lint": "eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js",
  34. "now-build": "npm run build",
  35. "prepare": "husky install && dumi setup",
  36. "prepublishOnly": "npm run compile",
  37. "start": "dumi dev",
  38. "test": "rc-test"
  39. },
  40. "lint-staged": {
  41. "**/*.{js,jsx,tsx,ts,md,json}": [
  42. "prettier --write",
  43. "git add"
  44. ]
  45. },
  46. "dependencies": {
  47. "@babel/runtime": "^7.18.3",
  48. "@rc-component/trigger": "^2.0.0",
  49. "classnames": "^2.2.6",
  50. "rc-util": "^5.44.1"
  51. },
  52. "devDependencies": {
  53. "@rc-component/father-plugin": "^1.0.0",
  54. "@testing-library/jest-dom": "^5.16.5",
  55. "@testing-library/react": "^14.0.0",
  56. "@types/classnames": "^2.2.6",
  57. "@types/jest": "^29.0.0",
  58. "@types/react": "^18.0.0",
  59. "@types/react-dom": "^18.0.0",
  60. "@types/warning": "^3.0.0",
  61. "@umijs/fabric": "^3.0.0",
  62. "cross-env": "^7.0.0",
  63. "dumi": "^2.0.0",
  64. "eslint": "^7.18.0",
  65. "father": "^4.0.0",
  66. "glob": "^10.0.0",
  67. "husky": "^8.0.3",
  68. "jest-environment-jsdom": "^29.5.0",
  69. "jquery": "^3.3.1",
  70. "less": "^4.1.1",
  71. "lint-staged": "^13.2.1",
  72. "np": "^6.0.0",
  73. "prettier": "^2.8.7",
  74. "rc-menu": "^9.5.2",
  75. "rc-resize-observer": "^1.4.0",
  76. "rc-test": "^7.0.14",
  77. "react": "^18.0.0",
  78. "react-dom": "^18.0.0",
  79. "regenerator-runtime": "^0.13.9",
  80. "typescript": "^5.0.0"
  81. },
  82. "peerDependencies": {
  83. "react": ">=16.11.0",
  84. "react-dom": ">=16.11.0"
  85. }
  86. }