package.json 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. {
  2. "name": "rc-pagination",
  3. "version": "5.1.0",
  4. "description": "pagination ui component for react",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-pagination",
  9. "pagination",
  10. "antd",
  11. "pager"
  12. ],
  13. "main": "./lib/index",
  14. "module": "./es/index",
  15. "files": [
  16. "assets/*.css",
  17. "assets/*.less",
  18. "es",
  19. "lib"
  20. ],
  21. "homepage": "https://react-component.github.io/pagination",
  22. "repository": {
  23. "type": "git",
  24. "url": "git@github.com:react-component/pagination.git"
  25. },
  26. "bugs": {
  27. "url": "http://github.com/react-component/pagination/issues"
  28. },
  29. "license": "MIT",
  30. "scripts": {
  31. "start": "dumi dev",
  32. "docs:build": "dumi build",
  33. "docs:deploy": "gh-pages -d docs-dist",
  34. "gh-pages": "npm run docs:build && npm run docs:deploy",
  35. "compile": "father build && lessc assets/index.less assets/index.css",
  36. "prepublishOnly": "npm run compile && np --yolo --no-publish && npm run gh-pages",
  37. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  38. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  39. "test": "rc-test",
  40. "coverage": "rc-test --coverage",
  41. "now-build": "npm run docs:build",
  42. "prepare": "husky"
  43. },
  44. "dependencies": {
  45. "@babel/runtime": "^7.10.1",
  46. "classnames": "^2.3.2",
  47. "rc-util": "^5.38.0"
  48. },
  49. "devDependencies": {
  50. "@rc-component/father-plugin": "^1.0.0",
  51. "@testing-library/jest-dom": "^6.1.5",
  52. "@testing-library/react": "^16.0.1",
  53. "@testing-library/user-event": "^14.5.2",
  54. "@types/jest": "^29.2.2",
  55. "@types/react": "^18.0.0",
  56. "@types/react-dom": "^18.0.0",
  57. "@umijs/fabric": "^4.0.1",
  58. "coveralls": "^3.0.6",
  59. "cross-env": "^7.0.0",
  60. "dumi": "^2.1.2",
  61. "eslint": "^8.54.0",
  62. "eslint-plugin-jest": "^27.6.0",
  63. "eslint-plugin-unicorn": "^55.0.0",
  64. "father": "^4.0.0",
  65. "gh-pages": "^6.1.0",
  66. "glob": "^10.3.10",
  67. "husky": "^9.0.11",
  68. "identity-obj-proxy": "^3.0.0",
  69. "less": "^4.1.3",
  70. "lint-staged": "^15.0.2",
  71. "np": "^10.0.5",
  72. "prettier": "^3.1.0",
  73. "rc-select": "^14.16.4",
  74. "rc-test": "^7.0.15",
  75. "react": "^18.2.0",
  76. "react-dom": "^18.2.0"
  77. },
  78. "peerDependencies": {
  79. "react": ">=16.9.0",
  80. "react-dom": ">=16.9.0"
  81. },
  82. "cnpm": {
  83. "mode": "npm"
  84. },
  85. "tnpm": {
  86. "mode": "npm"
  87. },
  88. "lint-staged": {
  89. "**/*.{js,jsx,tsx,ts,md,json}": [
  90. "prettier --write"
  91. ]
  92. }
  93. }