Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
48 lines (48 loc) · 1.53 KB
/
Copy pathpackage.json
File metadata and controls
48 lines (48 loc) · 1.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{
"name": "@missing-elements/office-viewer",
"version": "0.1.5",
"description": "Headless Web Component orchestration layer for browser-based OOXML viewing with @silurus/ooxml.",
"type": "module",
"license": "MIT",
"main": "./dist/office-viewer.es.js",
"module": "./dist/office-viewer.es.js",
"types": "./dist/types/index.d.ts",
"exports": {
".": {
"types": "./dist/types/index.d.ts",
"import": "./dist/office-viewer.es.js",
"default": "./dist/office-viewer.es.js"
}
},
"files": [
"dist"
],
"scripts": {
"dev": "vite --config vite.demo.config.ts",
"typecheck": "tsc --noEmit",
"build": "pnpm typecheck && vite build && tsc --emitDeclarationOnly",
"build:demo": "vite build --config vite.demo.config.ts",
"test": "pnpm test:unit && pnpm test:browser",
"test:unit": "vitest run --config vitest.config.ts",
"test:browser": "vitest run --config vitest.browser.config.ts",
"test:build": "vitest run --config vitest.build.config.ts",
"preview": "vite preview --config vite.demo.config.ts --host 127.0.0.1 --port 4173",
"build:cdn": "pnpm build",
"build:plain-module": "pnpm build"
},
"dependencies": {
"@silurus/ooxml": "0.86.1"
},
"devDependencies": {
"@types/node": "^26.4.1",
"@vercel/analytics": "^2.0.1",
"@vitest/browser": "^4.1.11",
"@vitest/browser-webdriverio": "^4.1.11",
"file-type": "^22.0.2",
"jsdom": "^30.0.1",
"typescript": "^7.0.2",
"vite": "^8.2.2",
"vitest": "^4.1.11",
"webdriverio": "^9.31.5"
}
}