package.json 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. {
  2. "name": "rc-drawer",
  3. "version": "7.3.0",
  4. "description": "drawer component for react",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-drawer",
  9. "drawer",
  10. "drawer-menu",
  11. "rc-drawer-menu",
  12. "react-drawer-menu",
  13. "animation",
  14. "drawer-motion",
  15. "drawer-animation"
  16. ],
  17. "homepage": "https://github.com/react-component/drawer",
  18. "bugs": {
  19. "url": "https://github.com/react-component/drawer/issues"
  20. },
  21. "repository": {
  22. "type": "git",
  23. "url": "https://github.com/react-component/drawer.git"
  24. },
  25. "license": "MIT",
  26. "author": "155259966@qq.com",
  27. "main": "./lib/index",
  28. "module": "./es/index",
  29. "files": [
  30. "lib",
  31. "assets/*.css",
  32. "es"
  33. ],
  34. "scripts": {
  35. "build": "dumi build",
  36. "compile": "father build && lessc assets/index.less assets/index.css",
  37. "lint": "eslint src/ --ext .tsx,.ts",
  38. "now-build": "npm run build",
  39. "prepublishOnly": "npm run compile && np --no-cleanup --yolo --no-publish --branch=antd-5.x",
  40. "start": "dumi dev",
  41. "test": "rc-test",
  42. "prettier": "prettier --write .",
  43. "prepare": "husky"
  44. },
  45. "dependencies": {
  46. "@babel/runtime": "^7.23.9",
  47. "@rc-component/portal": "^1.1.1",
  48. "classnames": "^2.2.6",
  49. "rc-motion": "^2.6.1",
  50. "rc-util": "^5.38.1"
  51. },
  52. "devDependencies": {
  53. "@ant-design/icons": "^5.3.0",
  54. "@rc-component/father-plugin": "^1.0.0",
  55. "@testing-library/jest-dom": "^6.2.0",
  56. "@testing-library/react": "^14.0.0",
  57. "@types/classnames": "^2.2.9",
  58. "@types/jest": "^29.5.11",
  59. "@types/raf": "^3.4.0",
  60. "@types/react": "^18.0.0",
  61. "@types/react-dom": "^18.0.0",
  62. "@types/warning": "^3.0.0",
  63. "antd": "^5.12.7",
  64. "dumi": "^2.2.0",
  65. "eslint": "^8.56.0",
  66. "eslint-plugin-jest": "^27.6.0",
  67. "eslint-plugin-unicorn": "^51.0.1",
  68. "father": "^4.0.0",
  69. "glob": "^10.3.10",
  70. "husky": "^9.0.10",
  71. "less": "^4.2.0",
  72. "lint-staged": "^15.2.2",
  73. "np": "^9.2.0",
  74. "prettier": "^3.0.0",
  75. "rc-test": "^7.0.9",
  76. "react": "^18.0.0",
  77. "react-dom": "^18.0.0",
  78. "stylelint": "^16.2.1",
  79. "stylelint-config-standard-less": "^3.0.1",
  80. "typescript": "^5.3.3"
  81. },
  82. "peerDependencies": {
  83. "react": ">=16.9.0",
  84. "react-dom": ">=16.9.0"
  85. },
  86. "lint-staged": {
  87. "*.{js,jsx,ts,tsx}": "eslint --fix",
  88. "*.{css,less}": "stylelint --fix",
  89. "*.{js,jsx,ts,tsx,json,less,css,md}": "prettier --write"
  90. }
  91. }