-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
92 lines (92 loc) · 3.38 KB
/
package.json
File metadata and controls
92 lines (92 loc) · 3.38 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
{
"name": "pptx-glimpse",
"version": "0.10.3",
"description": "A lightweight JavaScript library for rendering PowerPoint (.pptx) files as SVG or PNG in Node.js. No LibreOffice required.",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"scripts": {
"build": "tsup src/index.ts --format cjs,esm --dts",
"bench": "vitest bench",
"lint": "eslint src/ vrt/ scripts/ bench/ e2e/",
"lint:fix": "eslint src/ vrt/ scripts/ bench/ e2e/ --fix",
"format": "prettier --write 'src/**/*.ts' 'vrt/**/*.ts' 'scripts/**/*.ts' 'bench/**/*.ts' 'e2e/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts' 'vrt/**/*.ts' 'scripts/**/*.ts' 'bench/**/*.ts' 'e2e/**/*.ts'",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"knip": "knip",
"dev": "tsx scripts/dev-server.ts",
"render": "tsx scripts/test-render.ts",
"inspect": "tsx scripts/inspect-pptx.ts",
"vrt:snapshot:docker-build": "docker build -t pptx-glimpse-snapshot-vrt docker/snapshot-vrt",
"vrt:snapshot:fixtures": "tsx vrt/snapshot/create-fixtures.ts",
"vrt:snapshot:update": "docker run --rm -v \"$(pwd)\":/workspace -v pptx-glimpse-snapshot-vrt-nm:/workspace/node_modules pptx-glimpse-snapshot-vrt bash /workspace/vrt/snapshot/docker-run.sh bash -c \"npx tsx vrt/snapshot/create-fixtures.ts && npx tsx vrt/snapshot/update-snapshots.ts\"",
"vrt:lo:docker-build": "docker build -t pptx-glimpse-vrt docker/libreoffice-vrt",
"vrt:lo:fixtures": "docker run --rm -v \"$(pwd)\":/workspace pptx-glimpse-vrt python3 /workspace/vrt/libreoffice/create_fixtures.py",
"vrt:lo:update": "npm run vrt:lo:docker-build && npm run vrt:lo:fixtures && docker run --rm -v \"$(pwd)\":/workspace pptx-glimpse-vrt bash /workspace/vrt/libreoffice/update_snapshots.sh",
"test:package": "npm run build && bash scripts/test-package.sh",
"changeset": "changeset",
"demo:dev": "cd demo && npm run dev",
"demo:build": "npm run build && cd demo && npm install && npm run build"
},
"files": [
"dist"
],
"packageManager": "npm@10.9.6",
"engines": {
"node": ">=20"
},
"keywords": [
"pptx",
"powerpoint",
"svg",
"png",
"converter"
],
"repository": {
"type": "git",
"url": "https://github.com/hirokisakabe/pptx-glimpse.git"
},
"homepage": "https://github.com/hirokisakabe/pptx-glimpse",
"bugs": {
"url": "https://github.com/hirokisakabe/pptx-glimpse/issues"
},
"author": "hirokisakabe",
"license": "MIT",
"dependencies": {
"@resvg/resvg-wasm": "^2.6.2",
"fast-xml-parser": "^5.3.6",
"fflate": "^0.8.2",
"opentype.js": "^1.3.4"
},
"devDependencies": {
"@changesets/cli": "^2.29.8",
"@types/node": "^25.2.2",
"@types/ws": "^8.18.1",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.0.0",
"eslint-config-prettier": "^10.0.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"jszip": "^3.10.1",
"knip": "^5.85.0",
"pixelmatch": "^7.1.0",
"prettier": "^3.0.0",
"sharp": "^0.34.5",
"tsup": "^8.0.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.55.0",
"vitest": "^3.0.0",
"ws": "^8.19.0"
}
}