package.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. {
  2. "name": "react-photo-view",
  3. "version": "0.5.0",
  4. "description": "一款精致的 React 的图片预览组件",
  5. "author": "MinJieLiu",
  6. "license": "MIT",
  7. "repository": "https://github.com/MinJieLiu/react-photo-view.git",
  8. "main": "dist/index.js",
  9. "module": "dist/index.es.js",
  10. "jsnext:main": "dist/index.es.js",
  11. "typings": "dist/index.d.ts",
  12. "keywords": [
  13. "react",
  14. "react-component",
  15. "react-photo",
  16. "react-photo-view",
  17. "photo",
  18. "photo-view",
  19. "gallery"
  20. ],
  21. "engines": {
  22. "node": ">=8",
  23. "npm": ">=5"
  24. },
  25. "scripts": {
  26. "build": "rollup -c",
  27. "start": "rollup -c -w",
  28. "prepare": "npm run build"
  29. },
  30. "dependencies": {
  31. "lodash.debounce": "^4.0.8",
  32. "lodash.uniqueid": "^4.0.1"
  33. },
  34. "peerDependencies": {
  35. "classnames": "^2.2.0",
  36. "react": "^16.8.0",
  37. "react-dom": "^16.8.0"
  38. },
  39. "devDependencies": {
  40. "@svgr/rollup": "^4.3.3",
  41. "@types/classnames": "^2.2.9",
  42. "@types/lodash.debounce": "^4.0.6",
  43. "@types/lodash.uniqueid": "^4.0.6",
  44. "@types/react": "^16.9.13",
  45. "@types/react-dom": "^16.9.4",
  46. "@types/styled-components": "^4.4.0",
  47. "classnames": "^2.2.6",
  48. "cross-env": "^6.0.3",
  49. "less": "^3.10.3",
  50. "prettier": "^1.18.2",
  51. "react": "^16.12.0",
  52. "react-dom": "^16.12.0",
  53. "rollup": "^1.27.6",
  54. "rollup-plugin-babel": "^4.3.3",
  55. "rollup-plugin-commonjs": "^10.1.0",
  56. "rollup-plugin-node-resolve": "^5.2.0",
  57. "rollup-plugin-peer-deps-external": "^2.2.0",
  58. "rollup-plugin-postcss": "^2.0.3",
  59. "rollup-plugin-typescript2": "^0.25.2",
  60. "rollup-plugin-url": "^3.0.1",
  61. "typescript": "^3.7.2"
  62. },
  63. "files": [
  64. "dist"
  65. ]
  66. }