package.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "react-photo-view",
  3. "version": "0.1.5",
  4. "description": "React photo preview.",
  5. "main": "./lib/index",
  6. "module": "./es/index",
  7. "keywords": [
  8. "react",
  9. "react-component",
  10. "react-photo-view",
  11. "photo"
  12. ],
  13. "scripts": {
  14. "watch-tsc": "rc-tools run watch-tsc",
  15. "dist": "rc-tools run dist",
  16. "build": "rc-tools run build",
  17. "gh-pages": "rc-tools run gh-pages",
  18. "start": "rc-tools run server",
  19. "compile": "rc-tools run compile --babel-runtime",
  20. "pub": "rc-tools run pub --babel-runtime",
  21. "lint": "rc-tools run lint",
  22. "karma": "rc-test run karma",
  23. "saucelabs": "rc-test run saucelabs",
  24. "test": "rc-test run test",
  25. "prepublish": "rc-tools run guard",
  26. "chrome-test": "rc-test run chrome-test",
  27. "coverage": "rc-test run coverage"
  28. },
  29. "config": {
  30. "port": 8001
  31. },
  32. "files": [
  33. "lib"
  34. ],
  35. "author": "LMY",
  36. "license": "MIT",
  37. "devDependencies": {
  38. "@types/react": "^16.4.6",
  39. "@types/react-dom": "^16.0.6",
  40. "babel-polyfill": "^6.23.0",
  41. "prettier": "^1.13.7",
  42. "rc-test": "^6.0.9",
  43. "rc-tools": "^8.1.1",
  44. "react": "^16.4.1",
  45. "react-dom": "^16.4.1"
  46. },
  47. "dependencies": {
  48. "lodash.throttle": "^4.1.1",
  49. "lodash.uniqueid": "^4.0.1",
  50. "styled-components": "^3.0.1"
  51. }
  52. }