package.json 1.7 KB

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