@s8fy/pptx-parser 1.0.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 +36 -0
- package/README.md +336 -0
- package/dist/index.cjs +24649 -0
- package/dist/index.d.cts +1212 -0
- package/dist/index.d.ts +1212 -0
- package/dist/index.js +24642 -0
- package/dist/index.umd.js +24653 -0
- package/dist/js-worker.js +23220 -0
- package/dist/mbt/main.wasm +0 -0
- package/dist/mbt/pdf-converter.wasm +0 -0
- package/dist/pdf-worker.js +1692 -0
- package/dist/wasm-worker.js +1137 -0
- package/package.json +74 -0
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@s8fy/pptx-parser",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Browser-first JavaScript and WebAssembly parser for PPTX files",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"json",
|
|
7
|
+
"ppt",
|
|
8
|
+
"pptx"
|
|
9
|
+
],
|
|
10
|
+
"homepage": "https://github.com/hustcer/pptx/tree/main/packages/pptx-parser#readme",
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://github.com/hustcer/pptx/issues"
|
|
13
|
+
},
|
|
14
|
+
"license": "SEE LICENSE IN LICENSE",
|
|
15
|
+
"author": "hustcer@outlook.com",
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "git+https://github.com/hustcer/pptx.git",
|
|
19
|
+
"directory": "packages/pptx-parser"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist",
|
|
23
|
+
"EVALUATION-LICENSE.md",
|
|
24
|
+
"COMMERCIAL-LICENSE.md",
|
|
25
|
+
"THIRD-PARTY-NOTICES",
|
|
26
|
+
"SBOM.cdx.json"
|
|
27
|
+
],
|
|
28
|
+
"type": "module",
|
|
29
|
+
"sideEffects": false,
|
|
30
|
+
"main": "./dist/index.cjs",
|
|
31
|
+
"module": "./dist/index.js",
|
|
32
|
+
"types": "./dist/index.d.ts",
|
|
33
|
+
"exports": {
|
|
34
|
+
".": {
|
|
35
|
+
"import": {
|
|
36
|
+
"types": "./dist/index.d.ts",
|
|
37
|
+
"default": "./dist/index.js"
|
|
38
|
+
},
|
|
39
|
+
"require": {
|
|
40
|
+
"types": "./dist/index.d.cts",
|
|
41
|
+
"default": "./dist/index.cjs"
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
},
|
|
45
|
+
"publishConfig": {
|
|
46
|
+
"access": "public",
|
|
47
|
+
"registry": "https://registry.npmjs.org"
|
|
48
|
+
},
|
|
49
|
+
"dependencies": {
|
|
50
|
+
"@ctrl/tinycolor": "^4.2.1",
|
|
51
|
+
"@s8fy/emf2svg": "1.0.0",
|
|
52
|
+
"fflate": "^0.8.3",
|
|
53
|
+
"txml": "^6.0.3"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"rimraf": "^6.1.3",
|
|
57
|
+
"rolldown": "1.2.8",
|
|
58
|
+
"vitest": "^4.1.11"
|
|
59
|
+
},
|
|
60
|
+
"engines": {
|
|
61
|
+
"node": ">=22.12.0"
|
|
62
|
+
},
|
|
63
|
+
"scripts": {
|
|
64
|
+
"clean:dist": "rimraf dist",
|
|
65
|
+
"dev": "rolldown -c -w",
|
|
66
|
+
"build": "rimraf dist && rolldown -c && nu -c \"mkdir dist/mbt; cp src/mbt/* dist/mbt/; cp src/index.d.ts dist/\" && node ../../tools/finalize-sdk-declarations.mjs",
|
|
67
|
+
"lint": "oxlint",
|
|
68
|
+
"fmt": "oxfmt src tests benchmarks package.json rolldown.config.js tsconfig.json",
|
|
69
|
+
"fmt:check": "oxfmt --check src tests benchmarks package.json rolldown.config.js tsconfig.json",
|
|
70
|
+
"bench": "vitest bench",
|
|
71
|
+
"test": "vitest run",
|
|
72
|
+
"test:watch": "vitest"
|
|
73
|
+
}
|
|
74
|
+
}
|