-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathpackage.json
More file actions
107 lines (107 loc) · 2.52 KB
/
Copy pathpackage.json
File metadata and controls
107 lines (107 loc) · 2.52 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
96
97
98
99
100
101
102
103
104
105
106
107
{
"name": "opencode-rules",
"version": "0.8.0",
"description": "OpenCode plugin that discovers and injects markdown rules into system prompts",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"type": "module",
"oc-plugin": [
"server",
"tui"
],
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "vitest",
"test:run": "vitest run",
"lint": "eslint src tui",
"format": "prettier --write 'src/**/*.ts' 'tui/**/*.tsx' 'tui/**/*.ts'",
"format:check": "prettier --check 'src/**/*.ts' 'tui/**/*.tsx' 'tui/**/*.ts'",
"clean": "rm -rf dist",
"prepublishOnly": "bun run clean && bun run build"
},
"keywords": [
"opencode",
"plugin",
"rules",
"system-prompt",
"typescript"
],
"author": "Joe Maples <joe@maples.dev>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/frap129/opencode-rules.git"
},
"bugs": {
"url": "https://github.com/frap129/opencode-rules/issues"
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*",
"!dist/**/test-fixtures.*",
"!dist/**/api-surface.typecheck.*",
"src/",
"!src/**/*.test.ts",
"!src/**/*.spec.ts",
"!src/test-fixtures.ts",
"!src/api-surface.typecheck.ts",
"tui/",
"!tui/**/*.test.ts",
"!tui/**/*.test.tsx",
"!tui/**/*.spec.ts",
"!tui/**/*.spec.tsx",
"README.md",
"LICENSE"
],
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
},
"./tui": {
"types": "./dist/tui/index.d.ts",
"import": "./tui/index.tsx"
}
},
"peerDependencies": {
"@opencode-ai/plugin": "^1.3.7",
"@opencode-ai/sdk": "^1.3.7",
"@opentui/core": ">=0.4.5",
"@opentui/solid": ">=0.4.5",
"solid-js": ">=1.9.0"
},
"peerDependenciesMeta": {
"@opentui/core": {
"optional": true
},
"@opentui/solid": {
"optional": true
}
},
"devDependencies": {
"@opencode-ai/plugin": "^1.18.23",
"@opencode-ai/sdk": "^1.18.23",
"@opentui/core": "^0.5.8",
"@opentui/solid": "^0.5.8",
"@types/node": "^20.19.43",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint": "^8.57.1",
"prettier": "^3.9.6",
"solid-js": "^1.9.15",
"typescript": "^5.9.3",
"vitest": "^1.6.1"
},
"dependencies": {
"minimatch": "^9.0.9",
"yaml": "^2.9.0"
},
"aube": {
"allowBuilds": {
"esbuild": true,
"msgpackr-extract": true
}
}
}