package.json 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "name": "rc-mentions",
  3. "version": "2.20.0",
  4. "description": "React Mentions",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-mentions",
  9. "mentions"
  10. ],
  11. "homepage": "http://github.com/react-component/mentions",
  12. "bugs": {
  13. "url": "http://github.com/react-component/mentions/issues"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git@github.com:react-component/mentions.git"
  18. },
  19. "license": "MIT",
  20. "main": "./lib/index",
  21. "module": "./es/index",
  22. "files": [
  23. "assets/*.css",
  24. "es",
  25. "dist",
  26. "lib"
  27. ],
  28. "scripts": {
  29. "compile": "father build",
  30. "coverage": "rc-test --coverage",
  31. "docs:build": "dumi build",
  32. "docs:deploy": "gh-pages -d .doc",
  33. "gh-pages": "npm run docs:build && npm run docs:deploy",
  34. "lint": "eslint src/ --ext .tsx,.ts",
  35. "prepare": "husky install",
  36. "prepublishOnly": "npm run compile && np --yolo --no-publish --branch=antd-5.x",
  37. "postpublish": "npm run gh-pages",
  38. "start": "dumi dev",
  39. "test": "rc-test"
  40. },
  41. "lint-staged": {
  42. "**/*.{js,jsx,tsx,ts,md,json}": [
  43. "prettier --write",
  44. "git add"
  45. ]
  46. },
  47. "dependencies": {
  48. "@babel/runtime": "^7.22.5",
  49. "@rc-component/trigger": "^2.0.0",
  50. "classnames": "^2.2.6",
  51. "rc-input": "~1.8.0",
  52. "rc-menu": "~9.16.0",
  53. "rc-textarea": "~1.10.0",
  54. "rc-util": "^5.34.1"
  55. },
  56. "devDependencies": {
  57. "@rc-component/father-plugin": "^1.0.0",
  58. "@testing-library/jest-dom": "^6.4.6",
  59. "@testing-library/react": "^16.0.0",
  60. "@types/classnames": "^2.2.6",
  61. "@types/react": "^18.0.8",
  62. "@types/react-dom": "^18.0.3",
  63. "@types/warning": "^3.0.0",
  64. "@umijs/fabric": "^3.0.0",
  65. "dumi": "^2.0.18",
  66. "eslint": "^7.0.0",
  67. "father": "^4.0.0",
  68. "gh-pages": "^5.0.0",
  69. "husky": "^9.1.6",
  70. "lint-staged": "^15.2.7",
  71. "np": "^10.0.0",
  72. "prettier": "^3.3.2",
  73. "rc-test": "^7.0.14",
  74. "react": "^18.0.0",
  75. "react-dom": "^18.0.0",
  76. "typescript": "^5.0.4"
  77. },
  78. "peerDependencies": {
  79. "react": ">=16.9.0",
  80. "react-dom": ">=16.9.0"
  81. }
  82. }