package.json 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. {
  2. "name": "rc-tooltip",
  3. "version": "6.4.0",
  4. "description": "React Tooltip",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-tooltip",
  9. "tooltip"
  10. ],
  11. "homepage": "http://github.com/react-component/tooltip",
  12. "bugs": {
  13. "url": "http://github.com/react-component/tooltip/issues"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git@github.com:react-component/tooltip.git"
  18. },
  19. "license": "MIT",
  20. "maintainers": [
  21. "yiminghe@gmail.com"
  22. ],
  23. "main": "lib/index",
  24. "module": "es/index",
  25. "files": [
  26. "lib",
  27. "es",
  28. "assets/*.css",
  29. "assets/*.less"
  30. ],
  31. "scripts": {
  32. "compile": "father build && lessc assets/bootstrap.less assets/bootstrap.css && lessc assets/bootstrap_white.less assets/bootstrap_white.css",
  33. "docs:build": "dumi build",
  34. "docs:deploy": "gh-pages -d dist",
  35. "lint": "eslint src/ --ext .tsx,.ts,.jsx,.js",
  36. "now-build": "npm run docs:build",
  37. "prepare": "dumi setup",
  38. "prepublishOnly": "npm run compile ",
  39. "postpublish": "npm run docs:build && npm run docs:deploy",
  40. "start": "dumi dev",
  41. "test": "rc-test"
  42. },
  43. "dependencies": {
  44. "@babel/runtime": "^7.11.2",
  45. "@rc-component/trigger": "^2.0.0",
  46. "classnames": "^2.3.1",
  47. "rc-util": "^5.44.3"
  48. },
  49. "devDependencies": {
  50. "@rc-component/father-plugin": "^1.0.0",
  51. "@testing-library/react": "^14.0.0",
  52. "@types/jest": "^29.4.0",
  53. "@types/react": "^18.0.26",
  54. "@types/react-dom": "^18.0.10",
  55. "@types/warning": "^3.0.0",
  56. "cross-env": "^7.0.0",
  57. "dumi": "^2.2.13",
  58. "eslint": "^8.56.0",
  59. "eslint-plugin-unicorn": "^55.0.0",
  60. "father": "^4.0.0",
  61. "gh-pages": "^3.1.0",
  62. "less": "^4.1.1",
  63. "np": "^7.1.0",
  64. "rc-test": "^7.0.9",
  65. "react": "^18.2.0",
  66. "react-dom": "^18.2.0",
  67. "typescript": "^4.0.5"
  68. },
  69. "peerDependencies": {
  70. "react": ">=16.9.0",
  71. "react-dom": ">=16.9.0"
  72. }
  73. }