package.json 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. {
  2. "name": "rc-collapse",
  3. "version": "3.9.0",
  4. "description": "rc-collapse ui component for react",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-rc-collapse",
  9. "rc-collapse",
  10. "collapse",
  11. "accordion"
  12. ],
  13. "homepage": "http://github.com/react-component/collapse",
  14. "bugs": {
  15. "url": "http://github.com/react-component/collapse/issues"
  16. },
  17. "repository": {
  18. "type": "git",
  19. "url": "git@github.com:react-component/collapse.git"
  20. },
  21. "license": "MIT",
  22. "main": "./lib/index",
  23. "module": "./es/index",
  24. "typings": "es/index.d.ts",
  25. "files": [
  26. "lib",
  27. "es",
  28. "assets/*.css"
  29. ],
  30. "scripts": {
  31. "compile": "father build && lessc assets/index.less assets/index.css",
  32. "coverage": "rc-test --coverage",
  33. "docs:build": "dumi build",
  34. "docs:deploy": "npm run docs:build && gh-pages -d .doc",
  35. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  36. "prepare": "husky",
  37. "now-build": "npm run docs:build",
  38. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  39. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  40. "postpublish": "npm run docs:deploy",
  41. "start": "dumi dev",
  42. "test": "rc-test"
  43. },
  44. "lint-staged": {
  45. "**/*.{ts,tsx,js,jsx,json,md}": "npm run prettier"
  46. },
  47. "dependencies": {
  48. "@babel/runtime": "^7.10.1",
  49. "classnames": "2.x",
  50. "rc-motion": "^2.3.4",
  51. "rc-util": "^5.27.0"
  52. },
  53. "devDependencies": {
  54. "@rc-component/father-plugin": "^1.0.1",
  55. "@testing-library/jest-dom": "^6.1.4",
  56. "@testing-library/react": "^14.1.2",
  57. "@testing-library/user-event": "^14.5.2",
  58. "@types/classnames": "^2.2.9",
  59. "@types/jest": "^29.4.0",
  60. "@types/react": "^18.0.0",
  61. "@types/react-dom": "^18.0.0",
  62. "@umijs/fabric": "^4.0.0",
  63. "dumi": "^2.1.1",
  64. "eslint": "^8.55.0",
  65. "eslint-plugin-jest": "^27.6.0",
  66. "eslint-plugin-unicorn": "^49.0.0",
  67. "father": "^4.1.3",
  68. "husky": "^9.0.0",
  69. "jest": "^29.1.2",
  70. "less": "^4.2.0",
  71. "lint-staged": "^15.0.2",
  72. "np": "^9.1.0",
  73. "prettier": "^3.0.3",
  74. "rc-test": "^7.0.14",
  75. "react": "^18.2.0",
  76. "react-dom": "^18.2.0",
  77. "typescript": "^5.0.0"
  78. },
  79. "peerDependencies": {
  80. "react": ">=16.9.0",
  81. "react-dom": ">=16.9.0"
  82. }
  83. }