@trohde/excal-cli 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 +21 -0
- package/README.md +195 -0
- package/dist/cli/index.d.ts +2 -0
- package/dist/cli/index.js +1245 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/render/bridge.global.js +17861 -0
- package/package.json +73 -0
package/package.json
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@trohde/excal-cli",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"description": "Agent-first CLI for Excalidraw scene inspection, validation, and rendering",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/cli/index.js",
|
|
7
|
+
"types": "./dist/cli/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"import": "./dist/cli/index.js",
|
|
11
|
+
"types": "./dist/cli/index.d.ts"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"license": "MIT",
|
|
15
|
+
"bin": {
|
|
16
|
+
"excal": "./dist/cli/index.js"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist",
|
|
20
|
+
"README.md",
|
|
21
|
+
"LICENSE"
|
|
22
|
+
],
|
|
23
|
+
"keywords": [
|
|
24
|
+
"excalidraw",
|
|
25
|
+
"cli",
|
|
26
|
+
"svg",
|
|
27
|
+
"png",
|
|
28
|
+
"pdf",
|
|
29
|
+
"render",
|
|
30
|
+
"diagram",
|
|
31
|
+
"agent",
|
|
32
|
+
"automation"
|
|
33
|
+
],
|
|
34
|
+
"repository": {
|
|
35
|
+
"type": "git",
|
|
36
|
+
"url": "git+https://github.com/ThomasRohde/excalidraw-cli.git"
|
|
37
|
+
},
|
|
38
|
+
"homepage": "https://github.com/ThomasRohde/excalidraw-cli#readme",
|
|
39
|
+
"bugs": {
|
|
40
|
+
"url": "https://github.com/ThomasRohde/excalidraw-cli/issues"
|
|
41
|
+
},
|
|
42
|
+
"author": "Thomas Klok Rohde",
|
|
43
|
+
"scripts": {
|
|
44
|
+
"build": "tsup",
|
|
45
|
+
"dev": "tsup --watch",
|
|
46
|
+
"test": "vitest run",
|
|
47
|
+
"test:watch": "vitest",
|
|
48
|
+
"typecheck": "tsc --noEmit",
|
|
49
|
+
"prepublishOnly": "pnpm build && pnpm test",
|
|
50
|
+
"bump:badge": "node -e \"const fs=require('fs');const v=require('./package.json').version;const r=fs.readFileSync('README.md','utf8');fs.writeFileSync('README.md',r.replace(/version-[^-]+-blue/,'version-'+v+'-blue'));\"",
|
|
51
|
+
"bump:patch": "npm version patch --no-git-tag-version && pnpm run bump:badge && pnpm build",
|
|
52
|
+
"bump:minor": "npm version minor --no-git-tag-version && pnpm run bump:badge && pnpm build",
|
|
53
|
+
"bump:major": "npm version major --no-git-tag-version && pnpm run bump:badge && pnpm build"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"commander": "^13.1.0",
|
|
57
|
+
"zod": "^3.24.2"
|
|
58
|
+
},
|
|
59
|
+
"devDependencies": {
|
|
60
|
+
"@excalidraw/utils": "^0.1.2",
|
|
61
|
+
"@types/node": "^22.13.0",
|
|
62
|
+
"tsup": "^8.4.0",
|
|
63
|
+
"typescript": "^5.7.0",
|
|
64
|
+
"vitest": "^3.0.0"
|
|
65
|
+
},
|
|
66
|
+
"optionalDependencies": {
|
|
67
|
+
"playwright": "^1.50.0",
|
|
68
|
+
"@excalidraw/excalidraw": "^0.18.0"
|
|
69
|
+
},
|
|
70
|
+
"engines": {
|
|
71
|
+
"node": ">=20"
|
|
72
|
+
}
|
|
73
|
+
}
|