dist-build/package.json

207 lines
5.4 KiB
JSON

{
"name": "kylin-code-dist-compile",
"displayName": "kylin-code-dist-compile",
"description": "dist compile",
"publisher": "kylinos",
"version": "0.0.1-beta.20221207",
"engines": {
"vscode": "^1.68.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.c",
"workspaceContains:**/*.cc",
"workspaceContains:**/*.cpp"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "distbuild.addHost",
"title": "%commands.distbuild.addHost%",
"category": "distbuild",
"icon": "$(add)"
},
{
"command": "distbuild.setting",
"title": "%commands.distbuild.setting%",
"category": "distbuild",
"icon": "$(settings)"
},
{
"command": "distbuild.refresh",
"title": "%commands.distbuild.refresh%",
"category": "distbuild",
"icon": "$(refresh)"
},
{
"command": "distbuild.runTask",
"title": "%commands.distbuild.runTask%",
"category": "distbuild",
"icon": "$(run-all)"
},
{
"command": "distbuild.stopTask",
"title": "%commands.distbuild.stopTask%",
"category": "distbuild",
"icon": "$(stop)"
},
{
"command": "distbuild.remove",
"title": "%commands.distbuild.remove%",
"category": "distbuild",
"icon": "$(trash)"
},
{
"command": "distbuild.stop",
"title": "%commands.distbuild.stop%",
"category": "distbuild",
"icon": "$(stop)"
},
{
"command": "distbuild.run",
"title": "%commands.distbuild.run%",
"category": "distbuild",
"icon": "$(run)"
},
{
"command": "distbuild.compilerPath",
"title": "%commands.distbuild.compilerPath%",
"category": "distbuild",
"icon": "$(settings-gear)"
}
],
"menus": {
"view/title": [
{
"command": "distbuild.compilerPath",
"when": "view == distbuildtree",
"group": "navigation@0"
},
{
"command": "distbuild.addHost",
"when": "view == distbuildtree",
"group": "navigation@1"
},
{
"command": "distbuild.runTask",
"when": "view == distbuildtree && distbuild.task.start == false",
"group": "navigation@2"
},
{
"command": "distbuild.stopTask",
"when": "view == distbuildtree && distbuild.task.start == true",
"group": "navigation@2"
},
{
"command": "distbuild.refresh",
"when": "view == distbuildtree",
"group": "navigation@3"
}
],
"view/item/context": [
{
"command": "distbuild.setting",
"when": "view == distbuildtree && viewItem != distbuild.state",
"group": "inline@0"
},
{
"command": "distbuild.run",
"when": "view == distbuildtree && viewItem == distbuild.host.state.stop",
"group": "inline@1"
},
{
"command": "distbuild.stop",
"when": "view == distbuildtree && viewItem == distbuild.host.state.run",
"group": "inline@1"
},
{
"command": "distbuild.remove",
"when": "view == distbuildtree && viewItem != distbuild.state",
"group": "inline@2"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "distbuildtree",
"title": "distbuild",
"icon": "$(run-all)"
}
]
},
"views": {
"distbuildtree": [
{
"id": "distbuildtree",
"name": "distbuild",
"when": "distbuildtree.show == true"
}
]
},
"taskDefinitions": [
{
"type": "distbuild",
"required": [
"command",
"group"
],
"properties": {
"command": {
"type": "string",
"default": ""
},
"group": {
"type": "string",
"default": "build"
},
"args": {
"type": "array",
"default": []
}
}
}
]
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "16.x",
"@types/ssh2": "^1.11.5",
"@types/vscode": "^1.68.0",
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vscode/test-electron": "^2.1.5",
"eslint": "^8.20.0",
"glob": "^8.0.3",
"javascript-obfuscator": "^4.0.0",
"mocha": "^10.0.0",
"node-loader": "^2.0.0",
"ts-loader": "^9.3.1",
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0",
"webpack-obfuscator": "^3.5.1"
},
"dependencies": {
"@vscode/webview-ui-toolkit": "^1.1.0",
"ssh2": "^1.11.0",
"vscode-nls": "^5.2.0"
}
}