feat: scaffold OpenCode V2 toolkit with safe project installer
This commit is contained in:
commit
aac5627e98
30 files changed
+7533
No files matched your search
@@ -0,0 +1,51 @@
|
||||
{
|
||||
"name": "@sargatxet/opencode-toolkit",
|
||||
"version": "0.1.0",
|
||||
"description": "A small, OpenCode V2-native toolkit with selectively adapted ECC workflows.",
|
||||
"type": "module",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=20"
|
||||
},
|
||||
"main": "./dist/plugin.js",
|
||||
"types": "./dist/plugin.d.ts",
|
||||
"exports": {
|
||||
".": {
|
||||
"types": "./dist/plugin.d.ts",
|
||||
"import": "./dist/plugin.js"
|
||||
},
|
||||
"./installer": {
|
||||
"types": "./dist/installer/project.d.ts",
|
||||
"import": "./dist/installer/project.js"
|
||||
}
|
||||
},
|
||||
"bin": {
|
||||
"opencode-toolkit": "./dist/cli.js"
|
||||
},
|
||||
"files": [
|
||||
"dist/",
|
||||
"content/",
|
||||
"LICENSE",
|
||||
"LICENSE-ECC",
|
||||
"NOTICE.md",
|
||||
"README.md"
|
||||
],
|
||||
"scripts": {
|
||||
"build": "tsc -p tsconfig.json",
|
||||
"prepare": "npm run build",
|
||||
"prepack": "npm run build",
|
||||
"typecheck": "tsc -p tsconfig.json --noEmit",
|
||||
"test": "npm run build && node --test",
|
||||
"test:coverage": "npm run build && c8 --all --include=dist/**/*.js --reporter=text --check-coverage --lines 80 --functions 80 --branches 75 node --test",
|
||||
"pack:check": "npm pack --dry-run"
|
||||
},
|
||||
"dependencies": {
|
||||
"@opencode/plugin": "2.0.24",
|
||||
"jsonc-parser": "3.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/node": "24.10.0",
|
||||
"c8": "10.1.3",
|
||||
"typescript": "5.9.3"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user