pptx-glimpse 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +153 -0
- package/dist/index.cjs +4531 -0
- package/dist/index.d.cts +22 -0
- package/dist/index.d.ts +22 -0
- package/dist/index.js +4493 -0
- package/package.json +74 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pptx-glimpse",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Convert PPTX slides to SVG and PNG",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"import": "./dist/index.js",
|
|
13
|
+
"require": "./dist/index.cjs"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"build": "tsup src/index.ts --format cjs,esm --dts",
|
|
18
|
+
"lint": "eslint src/ vrt/ scripts/",
|
|
19
|
+
"lint:fix": "eslint src/ vrt/ scripts/ --fix",
|
|
20
|
+
"format": "prettier --write 'src/**/*.ts' 'vrt/**/*.ts' 'scripts/**/*.ts'",
|
|
21
|
+
"format:check": "prettier --check 'src/**/*.ts' 'vrt/**/*.ts' 'scripts/**/*.ts'",
|
|
22
|
+
"test": "vitest run",
|
|
23
|
+
"test:watch": "vitest",
|
|
24
|
+
"typecheck": "tsc --noEmit",
|
|
25
|
+
"render": "tsx scripts/test-render.ts",
|
|
26
|
+
"test:vrt:fixtures": "tsx vrt/internal/create-fixtures.ts",
|
|
27
|
+
"test:vrt:update": "tsx vrt/internal/update-snapshots.ts",
|
|
28
|
+
"vrt:lo:docker-build": "docker build -t pptx-glimpse-vrt docker/libreoffice-vrt",
|
|
29
|
+
"vrt:lo:fixtures": "docker run --rm -v \"$(pwd)\":/workspace pptx-glimpse-vrt python3 /workspace/vrt/libreoffice/generate_fixtures.py",
|
|
30
|
+
"vrt:lo:reference": "docker run --rm -v \"$(pwd)\":/workspace pptx-glimpse-vrt bash /workspace/vrt/libreoffice/render_references.sh",
|
|
31
|
+
"vrt:lo:update": "npm run vrt:lo:docker-build && npm run vrt:lo:fixtures && npm run vrt:lo:reference"
|
|
32
|
+
},
|
|
33
|
+
"files": [
|
|
34
|
+
"dist"
|
|
35
|
+
],
|
|
36
|
+
"engines": {
|
|
37
|
+
"node": ">=20"
|
|
38
|
+
},
|
|
39
|
+
"keywords": [
|
|
40
|
+
"pptx",
|
|
41
|
+
"powerpoint",
|
|
42
|
+
"svg",
|
|
43
|
+
"png",
|
|
44
|
+
"converter"
|
|
45
|
+
],
|
|
46
|
+
"repository": {
|
|
47
|
+
"type": "git",
|
|
48
|
+
"url": "https://github.com/hirokisakabe/pptx-glimpse.git"
|
|
49
|
+
},
|
|
50
|
+
"homepage": "https://github.com/hirokisakabe/pptx-glimpse",
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/hirokisakabe/pptx-glimpse/issues"
|
|
53
|
+
},
|
|
54
|
+
"author": "hirokisakabe",
|
|
55
|
+
"license": "MIT",
|
|
56
|
+
"dependencies": {
|
|
57
|
+
"fast-xml-parser": "^4.5.0",
|
|
58
|
+
"jszip": "^3.10.0",
|
|
59
|
+
"sharp": "^0.33.0"
|
|
60
|
+
},
|
|
61
|
+
"devDependencies": {
|
|
62
|
+
"@types/node": "^25.2.2",
|
|
63
|
+
"eslint": "^9.0.0",
|
|
64
|
+
"eslint-config-prettier": "^10.0.0",
|
|
65
|
+
"opentype.js": "^1.3.4",
|
|
66
|
+
"pixelmatch": "^7.1.0",
|
|
67
|
+
"prettier": "^3.0.0",
|
|
68
|
+
"tsup": "^8.0.0",
|
|
69
|
+
"tsx": "^4.21.0",
|
|
70
|
+
"typescript": "^5.5.0",
|
|
71
|
+
"typescript-eslint": "^8.55.0",
|
|
72
|
+
"vitest": "^3.0.0"
|
|
73
|
+
}
|
|
74
|
+
}
|