ring/platforms/opencode/package.json

51 lines
1.5 KiB
JSON
Raw Normal View History

{
"name": "ring-opencode",
"version": "1.0.0",
"description": "Ring skills library for OpenCode - enforces proven software engineering practices",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"bin": {
"ring": "./dist/cli/index.js"
},
"files": [
"dist",
"assets"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./schema.json": "./assets/ring-config.schema.json"
},
"scripts": {
"build": "bun build src/index.ts --outdir dist --target bun --format esm && tsc --emitDeclarationOnly && bun build src/cli/index.ts --outdir dist/cli --target bun --format esm && bun run build:schema",
"build:schema": "bun run scripts/build-schema.ts",
"clean": "rm -rf dist",
"prepublishOnly": "bun run clean && bun run build",
"typecheck": "tsc --noEmit && tsc -p plugin/tsconfig.json --noEmit",
"test": "bun test",
"test:plugin": "bun test __tests__/plugin/",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write ."
},
"dependencies": {
"@clack/prompts": "^0.11.0",
"@opencode-ai/plugin": "1.1.3",
"better-sqlite3": "12.6.0",
"commander": "^14.0.2",
"jsonc-parser": "^3.3.1",
"picocolors": "^1.1.1",
"zod": "^4.1.8"
},
"devDependencies": {
"@biomejs/biome": "^2.3.11",
"@types/better-sqlite3": "7.6.13",
"@types/node": "22.19.5",
"bun-types": "latest",
"typescript": "5.9.3"
}
}