package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. {
  2. "name": "rc-upload",
  3. "version": "4.9.2",
  4. "description": "upload ui component for react",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-upload",
  9. "upload"
  10. ],
  11. "homepage": "http://github.com/react-component/upload",
  12. "bugs": {
  13. "url": "http://github.com/react-component/upload/issues"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git@github.com:react-component/upload.git"
  18. },
  19. "license": "MIT",
  20. "main": "./lib/index",
  21. "module": "./es/index",
  22. "files": [
  23. "lib",
  24. "es"
  25. ],
  26. "scripts": {
  27. "compile": "father build",
  28. "coverage": "rc-test --coverage",
  29. "docs:build": "dumi build",
  30. "docs:deploy": "npm run docs:build && gh-pages -d dist",
  31. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  32. "now-build": "npm run docs:build",
  33. "prepublishOnly": "npm run compile && np --yolo --no-publish",
  34. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  35. "postpublish": "npm run docs:deploy",
  36. "start": "dumi dev",
  37. "test": "rc-test"
  38. },
  39. "dependencies": {
  40. "@babel/runtime": "^7.18.3",
  41. "classnames": "^2.2.5",
  42. "rc-util": "^5.2.0"
  43. },
  44. "devDependencies": {
  45. "@rc-component/father-plugin": "^1.0.0",
  46. "@testing-library/jest-dom": "^6.1.5",
  47. "@testing-library/react": "^16.2.0",
  48. "@types/jest": "^29.5.11",
  49. "@types/react": "^18.0.0",
  50. "@types/react-dom": "^18.0.0",
  51. "@umijs/fabric": "^4.0.1",
  52. "axios": "^1.9.0",
  53. "co-busboy": "^1.3.0",
  54. "coveralls": "^3.0.3",
  55. "cross-env": "^7.0.0",
  56. "dumi": "^2.1.0",
  57. "eslint": "^8.0.0",
  58. "father": "^4.0.0",
  59. "fs-extra": "^11.2.0",
  60. "gh-pages": "^6.1.1",
  61. "np": "^10.0.7",
  62. "raf": "^3.4.0",
  63. "rc-test": "^7.0.13",
  64. "react": "^18.0.0",
  65. "react-dom": "^18.0.0",
  66. "regenerator-runtime": "^0.14.1",
  67. "sinon": "^9.0.2",
  68. "typescript": "^5.3.3",
  69. "vinyl-fs": "^4.0.0"
  70. },
  71. "peerDependencies": {
  72. "react": ">=16.9.0",
  73. "react-dom": ">=16.9.0"
  74. }
  75. }