package.json 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. {
  2. "name": "rc-tabs",
  3. "version": "15.7.0",
  4. "description": "tabs ui component for react",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-tabs"
  9. ],
  10. "homepage": "http://github.com/react-component/tabs",
  11. "bugs": {
  12. "url": "http://github.com/react-component/tabs/issues"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "git@github.com:react-component/tabs.git"
  17. },
  18. "license": "MIT",
  19. "author": "yiminghe@gmail.com",
  20. "main": "./lib/index",
  21. "module": "./es/index",
  22. "files": [
  23. "lib",
  24. "es",
  25. "assets/index.css"
  26. ],
  27. "scripts": {
  28. "build": "dumi build",
  29. "compile": "father build && npm run compile:style",
  30. "compile:style": "lessc --js assets/index.less assets/index.css",
  31. "coverage": "father test --coverage",
  32. "docs:deploy": "gh-pages -d .doc",
  33. "lint": "eslint src/ docs/examples/ --ext .tsx,.ts,.jsx,.js",
  34. "now-build": "npm run build",
  35. "prepublishOnly": "npm run lint && npm run test && npm run compile && np --yolo --no-publish --branch=antd-5.x",
  36. "start": "dumi dev",
  37. "test": "rc-test",
  38. "prepare": "husky"
  39. },
  40. "dependencies": {
  41. "@babel/runtime": "^7.11.2",
  42. "classnames": "2.x",
  43. "rc-dropdown": "~4.2.0",
  44. "rc-menu": "~9.16.0",
  45. "rc-motion": "^2.6.2",
  46. "rc-resize-observer": "^1.0.0",
  47. "rc-util": "^5.34.1"
  48. },
  49. "devDependencies": {
  50. "@rc-component/father-plugin": "^1.0.0",
  51. "@rc-component/trigger": "^2.0.0",
  52. "@testing-library/jest-dom": "^6.1.4",
  53. "@testing-library/react": "^16.0.1",
  54. "@testing-library/user-event": "^14.5.2",
  55. "@types/classnames": "^2.2.10",
  56. "@types/enzyme": "^3.10.5",
  57. "@types/jest": "^29.4.0",
  58. "@types/keyv": "4.2.0",
  59. "@types/react": "^18.2.42",
  60. "@types/react-dom": "^18.0.11",
  61. "@umijs/fabric": "^4.0.1",
  62. "coveralls": "^3.0.6",
  63. "cross-env": "^7.0.2",
  64. "dumi": "^2.0.0",
  65. "eslint": "^8.54.0",
  66. "eslint-plugin-jest": "^28.9.0",
  67. "eslint-plugin-unicorn": "^56.0.1",
  68. "fastclick": "~1.0.6",
  69. "father": "^4.0.0",
  70. "gh-pages": "^6.1.0",
  71. "history": "^5.3.0",
  72. "husky": "^9.1.7",
  73. "immutability-helper": "^3.0.1",
  74. "less": "^4.1.3",
  75. "lint-staged": "^15.5.1",
  76. "np": "^10.0.2",
  77. "preact-compat": "^3.16.0",
  78. "prettier": "^3.5.3",
  79. "rc-test": "^7.0.14",
  80. "react": "^18.0.0",
  81. "react-dnd": "^10.0.0",
  82. "react-dnd-html5-backend": "^10.0.0",
  83. "react-dom": "^18.0.0",
  84. "react-sticky": "^6.0.3",
  85. "sortablejs": "^1.7.0",
  86. "typescript": "^5.3.2"
  87. },
  88. "peerDependencies": {
  89. "react": ">=16.9.0",
  90. "react-dom": ">=16.9.0"
  91. },
  92. "engines": {
  93. "node": ">=8.x"
  94. },
  95. "lint-staged": {
  96. "*.{js,jsx,ts,tsx}": [
  97. "eslint --fix",
  98. "prettier --write"
  99. ]
  100. }
  101. }