package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "rc-image",
  3. "version": "7.12.0",
  4. "description": "React easy to use image component",
  5. "keywords": [
  6. "react",
  7. "react-component",
  8. "react-image",
  9. "image"
  10. ],
  11. "homepage": "http://github.com/react-component/image",
  12. "bugs": {
  13. "url": "http://github.com/react-component/image/issues"
  14. },
  15. "repository": {
  16. "type": "git",
  17. "url": "git@github.com:react-component/image.git"
  18. },
  19. "license": "MIT",
  20. "main": "./lib/index",
  21. "module": "./es/index",
  22. "types": "./lib/index.d.ts",
  23. "files": [
  24. "assets/*.css",
  25. "es",
  26. "lib"
  27. ],
  28. "scripts": {
  29. "compile": "father build && lessc assets/index.less assets/index.css",
  30. "coverage": "rc-test --coverage",
  31. "docs:build": "dumi build",
  32. "docs:deploy": "gh-pages -d docs-dist",
  33. "lint": "eslint src/ --ext .ts,.tsx,.jsx,.js,.md",
  34. "now-build": "npm run docs:build",
  35. "prepublishOnly": "npm run compile && np --yolo --no-publish --any-branch",
  36. "prettier": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
  37. "start": "dumi dev",
  38. "test": "rc-test"
  39. },
  40. "dependencies": {
  41. "@babel/runtime": "^7.11.2",
  42. "@rc-component/portal": "^1.0.2",
  43. "classnames": "^2.2.6",
  44. "rc-dialog": "~9.6.0",
  45. "rc-motion": "^2.6.2",
  46. "rc-util": "^5.34.1"
  47. },
  48. "devDependencies": {
  49. "@ant-design/icons": "^5.0.1",
  50. "@rc-component/father-plugin": "^1.0.2",
  51. "@testing-library/jest-dom": "^6.4.0",
  52. "@testing-library/react": "^15.0.6",
  53. "@types/classnames": "^2.2.10",
  54. "@types/jest": "^29.5.11",
  55. "@types/react": "^18.0.0",
  56. "@types/react-dom": "^18.0.0",
  57. "@umijs/fabric": "^4.0.1",
  58. "cross-env": "^7.0.2",
  59. "dumi": "^2.1.4",
  60. "eslint": "^8.57.0",
  61. "father": "^4.0.0",
  62. "glob": "^7.1.6",
  63. "less": "^4.1.3",
  64. "np": "^7.0.0",
  65. "rc-test": "^7.0.3",
  66. "react": "^18.0.0",
  67. "react-dom": "^18.0.0",
  68. "typescript": "^5.3.3"
  69. },
  70. "peerDependencies": {
  71. "react": ">=16.9.0",
  72. "react-dom": ">=16.9.0"
  73. }
  74. }