Files
skill-runner/skill-runner-vscode/package.json
2026-01-19 03:32:49 +08:00

92 lines
2.3 KiB
JSON

{
"name": "skill-runner",
"displayName": "Skill Runner",
"publisher": "abearxiong",
"description": "右键运行命令插件",
"version": "0.0.1",
"repository": {
"type": "git",
"url": "https://cnb.cool/skillpod/skill-runner"
},
"license": "MIT",
"engines": {
"vscode": "^1.108.1"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:skill-runner.run"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "skill-runner.run",
"title": "运行技能"
},
{
"command": "skill-runner.runPalette",
"title": "Runner: 运行命令"
},
{
"command": "skill-runner.configure",
"title": "Runner: 配置命令"
}
],
"menus": {
"editor/context": [
{
"command": "skill-runner.run",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "skill-runner.runPalette"
},
{
"command": "skill-runner.configure"
}
]
},
"configuration": {
"title": "Skill Runner",
"properties": {
"skill-runner.command": {
"type": "string",
"default": "opencode run",
"description": "要在终端中运行的命令"
}
}
}
},
"scripts": {
"vscode:prepublish": "pnpm run package",
"compile": "pnpm run check-types && pnpm run lint && node esbuild.js",
"watch": "npm-run-all -p watch:*",
"watch:esbuild": "node esbuild.js --watch",
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
"package": "pnpm run check-types && pnpm run lint && node esbuild.js --production",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "pnpm run compile-tests && pnpm run compile && pnpm run lint",
"check-types": "tsc --noEmit",
"lint": "eslint src",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "22.x",
"@types/vscode": "^1.108.1",
"@vscode/test-cli": "^0.0.12",
"@vscode/test-electron": "^2.5.2",
"@vscode/vsce": "^3.7.1",
"esbuild": "^0.27.2",
"eslint": "^9.39.2",
"npm-run-all": "^4.1.5",
"typescript": "^5.9.3",
"typescript-eslint": "^8.52.0"
}
}