@expnn/opencode-yaml-hooks 1.0.1

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/package.json ADDED
@@ -0,0 +1,54 @@
1
+ {
2
+ "name": "@expnn/opencode-yaml-hooks",
3
+ "version": "1.0.1",
4
+ "description": "OpenCode plugin for running command, tool, and bash hooks from hooks.yaml during session and tool lifecycle events.",
5
+ "type": "module",
6
+ "main": "dist/index.js",
7
+ "types": "dist/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./dist/index.d.ts",
11
+ "import": "./dist/index.js"
12
+ }
13
+ },
14
+ "files": [
15
+ "dist",
16
+ "README.md"
17
+ ],
18
+ "scripts": {
19
+ "build": "bun build src/index.ts --outfile dist/index.js --target bun --format esm && tsc -p tsconfig.json --emitDeclarationOnly",
20
+ "typecheck": "tsc -p tsconfig.json --noEmit",
21
+ "test": "vitest run"
22
+ },
23
+ "keywords": [
24
+ "opencode",
25
+ "opencode-plugin",
26
+ "hooks",
27
+ "automation",
28
+ "workflow",
29
+ "tooling",
30
+ "plugin",
31
+ "runtime"
32
+ ],
33
+ "repository": {
34
+ "type": "git",
35
+ "url": "git+https://github.com/expnn/opencode-yaml-hooks.git"
36
+ },
37
+ "homepage": "https://github.com/expnn/opencode-yaml-hooks#readme",
38
+ "bugs": {
39
+ "url": "https://github.com/expnn/opencode-yaml-hooks/issues"
40
+ },
41
+ "license": "MIT",
42
+ "peerDependencies": {
43
+ "@opencode-ai/plugin": "^1.2.27"
44
+ },
45
+ "devDependencies": {
46
+ "@opencode-ai/plugin": "1.2.27",
47
+ "@types/node": "^25.5.0",
48
+ "typescript": "^5.9.3",
49
+ "vitest": "^4.0.17"
50
+ },
51
+ "dependencies": {
52
+ "yaml": "^2.8.2"
53
+ }
54
+ }