-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
94 lines (94 loc) · 2.79 KB
/
Copy pathpackage.json
File metadata and controls
94 lines (94 loc) · 2.79 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
93
94
{
"name": "spektrum",
"version": "1.2.0",
"description": "Tiny reactive engine with HTML bindings and time-travel. ~13kB minified, zero runtime deps, agent-native.",
"type": "module",
"main": "./spektrum.js",
"types": "./spektrum.d.ts",
"unpkg": "./spektrum.min.js",
"jsdelivr": "./spektrum.min.js",
"exports": {
".": {
"types": "./spektrum.d.ts",
"import": "./spektrum.js"
},
"./compile": {
"types": "./companions/spektrum-compile.d.ts",
"import": "./companions/spektrum-compile.js"
},
"./devtools": {
"types": "./companions/spektrum-devtools.d.ts",
"import": "./companions/spektrum-devtools.js"
},
"./persist": {
"types": "./companions/spektrum-persist.d.ts",
"import": "./companions/spektrum-persist.js"
},
"./mcp": {
"types": "./companions/spektrum-mcp.d.ts",
"import": "./companions/spektrum-mcp.js"
},
"./agent": {
"types": "./companions/spektrum-agent.d.ts",
"import": "./companions/spektrum-agent.js"
},
"./inspect": {
"types": "./companions/spektrum-inspect.d.ts",
"import": "./companions/spektrum-inspect.js"
},
"./dock": {
"types": "./companions/spektrum-dock.d.ts",
"import": "./companions/spektrum-dock.js"
}
},
"files": [
"spektrum.js",
"spektrum.min.js",
"spektrum.d.ts",
"companions/",
"AGENTS.md",
"CHANGELOG.md",
"llms.txt",
"docs/"
],
"scripts": {
"start": "python3 -m http.server 8088",
"test": "node --test tests/*.test.js",
"test:coverage": "node --test --experimental-test-coverage",
"lint": "eslint .",
"typecheck": "tsc --noEmit",
"build": "esbuild spektrum.js --minify --format=esm --outdir=. --out-extension:.js=.min.js --legal-comments=none && esbuild companions/spektrum-persist.js companions/spektrum-devtools.js companions/spektrum-mcp.js companions/spektrum-agent.js companions/spektrum-inspect.js companions/spektrum-dock.js --minify --format=esm --outdir=companions --out-extension:.js=.min.js --legal-comments=none",
"size": "node scripts/size.js",
"docs": "typedoc"
},
"keywords": [
"reactive",
"state-management",
"data-binding",
"ui",
"time-travel",
"history",
"esm",
"no-dependencies",
"tiny",
"declarative"
],
"author": "Danny de Zeeuw <danny@nekomedia.nl>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/D-dezeeuw/spektrum.git"
},
"homepage": "https://github.com/D-dezeeuw/spektrum#readme",
"bugs": "https://github.com/D-dezeeuw/spektrum/issues",
"engines": {
"node": ">=22"
},
"devDependencies": {
"@happy-dom/global-registrator": "~20.9.0",
"esbuild": "^0.25.0",
"eslint": "^9.0.0",
"typedoc": "^0.28.19",
"typescript": "^5.9.3"
}
}