-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.59 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.59 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
95
{
"$schema": "https://json.schemastore.org/package.json",
"name": "@bojackduy/opencode-learn",
"version": "1.6.0",
"description": "Pi learn system for OpenCode — Socratic teaching, graded quiz, Obsidian md_log, and visual makers. Port of amosblomqvist/learn (video: How I Use AI to Learn Things) to OpenCode.",
"type": "module",
"license": "AGPL-3.0-or-later",
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/bojackduy/opencode-learn.git"
},
"homepage": "https://github.com/bojackduy/opencode-learn#readme",
"bugs": {
"url": "https://github.com/bojackduy/opencode-learn/issues"
},
"keywords": [
"opencode",
"opencode-plugin",
"learn",
"teach",
"quiz",
"md-log",
"obsidian",
"socratic",
"3blue1brown",
"mermaid",
"visual",
"tui",
"opentui"
],
"bin": {
"opencode-learn": "scripts/install.mjs"
},
"files": [
"dist",
"scripts",
"agents",
"skills",
"commands",
"plugins",
"assets",
"README.md",
"LICENSE",
"CHANGELOG.md"
],
"publishConfig": {
"access": "public"
},
"engines": {
"bun": ">=1.1.0"
},
"exports": {
".": {
"import": "./dist/server.js"
},
"./server": {
"import": "./dist/server.js"
},
"./tui": {
"import": "./dist/tui.js"
}
},
"scripts": {
"typecheck": "tsc --noEmit",
"build:server": "bun build plugins/learn.ts --outfile dist/server.js --target bun --external @opencode-ai/plugin --external @opencode-ai/plugin/tool",
"build:tui": "bun scripts/build-tui.ts",
"build": "bun run build:server && bun run build:tui",
"clean": "rm -rf dist",
"prepack": "bun run typecheck && bun run build",
"test": "echo \"no tests yet\" && exit 0",
"release:patch": "bun run typecheck && npm version patch -m \"chore: release %s\" && git push && git push --tags",
"release:minor": "bun run typecheck && npm version minor -m \"chore: release %s\" && git push && git push --tags",
"release:major": "bun run typecheck && npm version major -m \"chore: release %s\" && git push && git push --tags"
},
"peerDependencies": {
"@opencode-ai/plugin": ">=1.18.0 <2",
"@opentui/core": "*",
"@opentui/solid": "*",
"solid-js": "*"
},
"dependencies": {
"@mermaid-js/mermaid-cli": "^11.4.2",
"@opencode-ai/plugin": "1.18.25",
"@opentui/core": "0.5.11",
"@opentui/solid": "0.5.11",
"solid-js": "1.9.12"
},
"devDependencies": {
"@opencode/plugin": "^2.0.11",
"@types/bun": "^1.4.2",
"@types/node": "^26.4.0",
"typescript": "^5.7.0"
}
}