package.json 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. {
  2. "name": "react-photo-view",
  3. "version": "0.3.5",
  4. "description": "React photo preview.",
  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. ],
  20. "engines": {
  21. "node": ">=8",
  22. "npm": ">=5"
  23. },
  24. "scripts": {
  25. "test": "cross-env CI=1 react-scripts-ts test --env=jsdom",
  26. "test:watch": "react-scripts-ts test --env=jsdom",
  27. "build": "rollup -c",
  28. "start": "rollup -c -w",
  29. "prepare": "npm run build",
  30. "predeploy": "cd example && npm install && npm run build",
  31. "deploy": "gh-pages -d example/build"
  32. },
  33. "dependencies": {
  34. "lodash.debounce": "^4.0.8",
  35. "lodash.uniqueid": "^4.0.1"
  36. },
  37. "peerDependencies": {
  38. "classnames": "^2.2.0",
  39. "react": "^16.8.0",
  40. "react-dom": "^16.8.0"
  41. },
  42. "devDependencies": {
  43. "@svgr/rollup": "^4.3.3",
  44. "@types/classnames": "^2.2.9",
  45. "@types/jest": "^24.0.22",
  46. "@types/lodash.debounce": "^4.0.6",
  47. "@types/lodash.uniqueid": "^4.0.6",
  48. "@types/react": "^16.9.11",
  49. "@types/react-dom": "^16.9.3",
  50. "@types/styled-components": "^4.1.21",
  51. "babel-core": "^6.26.3",
  52. "babel-runtime": "^6.26.0",
  53. "classnames": "^2.2.6",
  54. "cross-env": "^6.0.3",
  55. "gh-pages": "^2.1.1",
  56. "less": "^3.10.3",
  57. "prettier": "^1.18.2",
  58. "react": "^16.11.0",
  59. "react-dom": "^16.11.0",
  60. "react-scripts-ts": "^3.1.0",
  61. "rollup": "^1.26.3",
  62. "rollup-plugin-babel": "^3.0.7",
  63. "rollup-plugin-commonjs": "^10.1.0",
  64. "rollup-plugin-node-resolve": "^5.2.0",
  65. "rollup-plugin-peer-deps-external": "^2.2.0",
  66. "rollup-plugin-postcss": "^2.0.3",
  67. "rollup-plugin-typescript2": "^0.25.2",
  68. "rollup-plugin-url": "^3.0.0",
  69. "typescript": "^3.7.2"
  70. },
  71. "files": [
  72. "dist"
  73. ]
  74. }