Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
74 lines (74 loc) · 3.11 KB
/
Copy pathpackage.json
File metadata and controls
74 lines (74 loc) · 3.11 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
{
"name": "glpython-editor",
"private": true,
"version": "0.1.0",
"license": "MIT",
"type": "module",
"description": "Embeddable Python editor + step-by-step visualizer + turtle graphics panel, extracted from glpython.",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/src/index.d.ts",
"files": [
"dist",
"bin",
"THIRD_PARTY_NOTICES.md"
],
"bin": {
"glpython-tree": "./bin/glpython-tree.mjs"
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/index.js"
},
"./style.css": "./dist/style.css",
"./tree-svg": {
"types": "./dist/src/treeSvg.d.ts",
"import": "./dist/tree-svg.js"
}
},
"scripts": {
"dev": "vite build --watch",
"dev:embed": "vite --config vite.embed.config.ts",
"build": "tsc -b && vite build && cp src/style.css dist/style.css",
"build:embed": "tsc -b && vite build --config vite.embed.config.ts && cp LICENSE THIRD_PARTY_NOTICES.md dist-embed/",
"lint": "oxlint",
"preview:embed": "vite preview --config vite.embed.config.ts",
"test:protocol": "npm run build && node scripts/check-embed-protocol.mjs",
"test:hints": "node scripts/check-error-hints.mjs",
"test:console": "node scripts/check-console-browser.mjs",
"test:layout": "node --experimental-strip-types --no-warnings scripts/check-tree-layout.mjs",
"test:tree": "node --experimental-strip-types --no-warnings scripts/check-tree-mode.mjs",
"test:svg": "node --experimental-strip-types --no-warnings scripts/check-tree-svg.mjs",
"test:runtime": "python3 -B scripts/check-runtime-columns.py && python3 -B scripts/check-runtime-values.py && python3 -B scripts/check-runtime-doctests.py && python3 -B scripts/check-runtime-coverage.py && python3 -B scripts/check-runtime-calls.py && python3 -B scripts/check-runtime-hints.py && python3 -B scripts/check-runtime-fidelity.py && python3 -B scripts/check-runtime-replay.py && python3 -B scripts/check-runtime-imports.py && python3 -B scripts/check-runtime-repl.py && python3 -B scripts/check-runtime-input.py && python3 -B scripts/check-runtime-lists.py && python3 -B scripts/check-runtime-main.py && python3 -B scripts/check-runtime-trees.py && python3 -B scripts/check-runtime-box-reasons.py && python3 -B scripts/check-runtime-none-calls.py",
"prepare": "npm run build"
},
"peerDependencies": {
"@monaco-editor/react": "^4.7.0",
"lucide-react": "^1.47.0",
"react": "^19.2.8",
"react-dom": "^19.2.8"
},
"peerDependenciesMeta": {
"@monaco-editor/react": { "optional": true },
"lucide-react": { "optional": true },
"react": { "optional": true },
"react-dom": { "optional": true }
},
"devDependencies": {
"@monaco-editor/react": "^4.7.0",
"@types/node": "^24.13.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.7",
"@vitejs/plugin-react": "^6.1.1",
"d3-flextree": "2.1.2",
"lucide-react": "^1.47.0",
"oxlint": "^1.81.0",
"playwright-core": "^1.48.2",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"typescript": "~6.0.2",
"vite": "^8.3.0",
"vite-plugin-dts": "^4.5.0"
}
}