package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. {
  2. "name": "rc-tree",
  3. "version": "5.13.1",
  4. "description": "tree ui component for react",
  5. "engines": {
  6. "node": ">=10.x"
  7. },
  8. "keywords": [
  9. "react",
  10. "react-component",
  11. "react-tree",
  12. "tree"
  13. ],
  14. "files": [
  15. "assets",
  16. "es",
  17. "lib"
  18. ],
  19. "homepage": "http://github.com/react-component/tree",
  20. "author": "smith3816@gmail.com",
  21. "repository": {
  22. "type": "git",
  23. "url": "git@github.com:react-component/tree.git"
  24. },
  25. "bugs": {
  26. "url": "http://github.com/react-component/tree/issues"
  27. },
  28. "license": "MIT",
  29. "main": "./lib/index",
  30. "module": "./es/index",
  31. "scripts": {
  32. "start": "dumi dev",
  33. "docs:build": "dumi build",
  34. "docs:deploy": "gh-pages -d dist",
  35. "compile": "father build && lessc assets/index.less assets/index.css",
  36. "prepare": "husky",
  37. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  38. "postpublish": "npm run gh-pages",
  39. "lint": "eslint src/ --ext .tsx,.ts,.jsx,.js",
  40. "test": "rc-test",
  41. "coverage": "rc-test --coverage",
  42. "gh-pages": "npm run docs:build && npm run docs:deploy",
  43. "now-build": "npm run docs:build"
  44. },
  45. "lint-staged": {
  46. "*": "prettier --write --ignore-unknown"
  47. },
  48. "peerDependencies": {
  49. "react": "*",
  50. "react-dom": "*"
  51. },
  52. "devDependencies": {
  53. "@rc-component/father-plugin": "^1.0.2",
  54. "@testing-library/jest-dom": "^6.1.5",
  55. "@testing-library/react": "^16.1.0",
  56. "@types/jest": "^29.5.10",
  57. "@types/node": "^22.7.3",
  58. "@types/react": "^19.0.1",
  59. "@types/react-dom": "^19.0.1",
  60. "@types/warning": "^3.0.0",
  61. "@umijs/fabric": "^4.0.1",
  62. "dumi": "^2.1.0",
  63. "eslint": "^8.55.0",
  64. "eslint-plugin-jest": "^28.8.3",
  65. "eslint-plugin-unicorn": "^56.0.1",
  66. "father": "^4.4.0",
  67. "gh-pages": "^6.1.1",
  68. "glob": "^11.0.0",
  69. "husky": "^9.1.6",
  70. "less": "^4.2.1",
  71. "lint-staged": "^15.2.10",
  72. "np": "^10.0.5",
  73. "prettier": "^3.3.3",
  74. "rc-dialog": "^9.0.0",
  75. "rc-test": "^7.0.15",
  76. "rc-tooltip": "^6.3.2",
  77. "rc-trigger": "^5.0.7",
  78. "react": "^18.2.0",
  79. "react-dom": "^18.2.0",
  80. "typescript": "^5.3.3"
  81. },
  82. "dependencies": {
  83. "@babel/runtime": "^7.10.1",
  84. "classnames": "2.x",
  85. "rc-motion": "^2.0.1",
  86. "rc-util": "^5.16.1",
  87. "rc-virtual-list": "^3.5.1"
  88. }
  89. }