78 lines
1.8 KiB
JSON
78 lines
1.8 KiB
JSON
{
|
|
"name": "@wrnexus/viewer",
|
|
"version": "0.8.9",
|
|
"type": "module",
|
|
"description": "Read-only file previews with bounded loading and graceful fallback.",
|
|
"main": "./src/index.ts",
|
|
"types": "./src/index.ts",
|
|
"exports": {
|
|
".": "./src/index.ts",
|
|
"./plugin": "./src/plugin.ts",
|
|
"./runtime": "./src/runtime.ts",
|
|
"./code-editor": "./src/code-editor.ts",
|
|
"./optional/sheet": "./src/optional/sheet.ts",
|
|
"./optional/docx": "./src/optional/docx.ts",
|
|
"./optional/zip": "./src/optional/zip.ts",
|
|
"./optional/office": "./src/optional/office.ts",
|
|
"./optional/pdf": "./src/optional/pdf.ts",
|
|
"./renderers/pdf-rich": "./src/renderers/pdf-rich.ts",
|
|
"./viewer.css": "./viewer.css",
|
|
"./components/*": "./components/*",
|
|
"./convert": "./src/convert/index.ts",
|
|
"./uploader": "./src/uploads/index.ts"
|
|
},
|
|
"files": [
|
|
"src",
|
|
"components",
|
|
"viewer.css",
|
|
"README.md"
|
|
],
|
|
"scripts": {
|
|
"test": "bun test",
|
|
"typecheck": "tsc --noEmit -p tsconfig.json"
|
|
},
|
|
"dependencies": {
|
|
"@wrnexus/block-editor": "workspace:*",
|
|
"@wrnexus/plugin": "workspace:*",
|
|
"@wrnexus/ui": "workspace:*"
|
|
},
|
|
"wrnexus": {
|
|
"plugin": {
|
|
"plugin": "./src/plugin.ts",
|
|
"export": "default",
|
|
"factory": true
|
|
}
|
|
},
|
|
"peerDependencies": {
|
|
"fflate": "*",
|
|
"mammoth": "*",
|
|
"pdfjs-dist": "*",
|
|
"xlsx": "*",
|
|
"@wrnexus/uploader": "workspace:*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"fflate": {
|
|
"optional": true
|
|
},
|
|
"mammoth": {
|
|
"optional": true
|
|
},
|
|
"pdfjs-dist": {
|
|
"optional": true
|
|
},
|
|
"xlsx": {
|
|
"optional": true
|
|
},
|
|
"@wrnexus/uploader": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"fflate": "^0.8.2",
|
|
"mammoth": "^1.8.0",
|
|
"pdfjs-dist": "^4.10.38",
|
|
"xlsx": "^0.18.5",
|
|
"@wrnexus/uploader": "workspace:*"
|
|
}
|
|
}
|