package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. {
  2. "name": "@flyfish-group/file-viewer-react",
  3. "version": "2.1.8",
  4. "private": false,
  5. "type": "module",
  6. "description": "Private-deploy React component for Flyfish Viewer",
  7. "keywords": [
  8. "file-viewer",
  9. "document-preview",
  10. "react",
  11. "native-viewer",
  12. "office-preview",
  13. "document-viewer",
  14. "file-preview",
  15. "self-hosted"
  16. ],
  17. "publishConfig": {
  18. "access": "public",
  19. "registry": "https://registry.npmjs.org/"
  20. },
  21. "author": {
  22. "name": "Wangyu",
  23. "email": "wybaby168@gmail.com"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/flyfish-dev/file-viewer.git",
  28. "directory": "packages/compat/react"
  29. },
  30. "homepage": "https://github.com/flyfish-dev/file-viewer",
  31. "bugs": {
  32. "url": "https://github.com/flyfish-dev/file-viewer/issues"
  33. },
  34. "funding": {
  35. "type": "individual",
  36. "url": "https://dev.flyfish.group/shop"
  37. },
  38. "main": "./dist/index.js",
  39. "module": "./dist/index.js",
  40. "types": "./dist/index.d.ts",
  41. "exports": {
  42. ".": {
  43. "types": "./dist/index.d.ts",
  44. "import": "./dist/index.js",
  45. "default": "./dist/index.js"
  46. },
  47. "./package.json": "./package.json"
  48. },
  49. "files": [
  50. "dist",
  51. "README.md",
  52. "README.en.md"
  53. ],
  54. "scripts": {
  55. "build": "tsc -b tsconfig.json",
  56. "type-check": "tsc -b tsconfig.json"
  57. },
  58. "peerDependencies": {
  59. "react": ">=17 <20"
  60. },
  61. "dependencies": {
  62. "@file-viewer/react": "workspace:^2.1.8"
  63. },
  64. "devDependencies": {
  65. "@types/react": "^19.2.17",
  66. "react": "^19.2.7",
  67. "typescript": "^6.0.3"
  68. },
  69. "license": "Apache-2.0"
  70. }