dist-build/package.json

207 lines
5.4 KiB
JSON
Raw Normal View History

2022-08-25 15:19:13 +08:00
{
"name": "kylin-code-dist-compile",
"displayName": "kylin-code-dist-compile",
"description": "dist compile",
2022-08-31 15:02:41 +08:00
"publisher": "kylinos",
"version": "0.0.1-beta.20221207",
2022-08-25 15:19:13 +08:00
"engines": {
2022-09-09 16:33:25 +08:00
"vscode": "^1.68.0"
2022-08-25 15:19:13 +08:00
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.c",
2022-10-10 17:54:45 +08:00
"workspaceContains:**/*.cc",
2022-08-25 15:19:13 +08:00
"workspaceContains:**/*.cpp"
],
"main": "./dist/extension.js",
"contributes": {
2022-08-26 16:14:21 +08:00
"commands": [
{
"command": "distbuild.addHost",
2022-09-06 14:38:47 +08:00
"title": "%commands.distbuild.addHost%",
2022-08-26 16:14:21 +08:00
"category": "distbuild",
"icon": "$(add)"
},
2022-09-14 17:10:22 +08:00
{
"command": "distbuild.setting",
"title": "%commands.distbuild.setting%",
"category": "distbuild",
2022-11-07 11:51:49 +08:00
"icon": "$(settings)"
2022-09-14 17:10:22 +08:00
},
2022-08-26 16:14:21 +08:00
{
"command": "distbuild.refresh",
2022-09-06 14:38:47 +08:00
"title": "%commands.distbuild.refresh%",
2022-08-26 16:14:21 +08:00
"category": "distbuild",
"icon": "$(refresh)"
},
{
"command": "distbuild.runTask",
2022-09-06 14:38:47 +08:00
"title": "%commands.distbuild.runTask%",
2022-08-26 16:14:21 +08:00
"category": "distbuild",
2022-11-07 11:51:49 +08:00
"icon": "$(run-all)"
2022-08-26 16:44:27 +08:00
},
2022-09-05 14:58:08 +08:00
{
"command": "distbuild.stopTask",
2022-09-06 14:38:47 +08:00
"title": "%commands.distbuild.stopTask%",
2022-09-05 14:58:08 +08:00
"category": "distbuild",
"icon": "$(stop)"
},
2022-08-26 16:44:27 +08:00
{
"command": "distbuild.remove",
2022-09-06 14:38:47 +08:00
"title": "%commands.distbuild.remove%",
2022-08-26 16:44:27 +08:00
"category": "distbuild",
"icon": "$(trash)"
},
{
"command": "distbuild.stop",
2022-09-06 14:38:47 +08:00
"title": "%commands.distbuild.stop%",
2022-08-26 16:44:27 +08:00
"category": "distbuild",
"icon": "$(stop)"
},
{
2022-08-26 17:23:16 +08:00
"command": "distbuild.run",
2022-09-06 14:38:47 +08:00
"title": "%commands.distbuild.run%",
2022-08-26 16:44:27 +08:00
"category": "distbuild",
"icon": "$(run)"
2022-11-07 11:51:49 +08:00
},
{
"command": "distbuild.compilerPath",
"title": "%commands.distbuild.compilerPath%",
"category": "distbuild",
"icon": "$(settings-gear)"
2022-08-26 16:14:21 +08:00
}
],
"menus": {
"view/title": [
{
2022-11-07 11:51:49 +08:00
"command": "distbuild.compilerPath",
2022-08-26 16:14:21 +08:00
"when": "view == distbuildtree",
"group": "navigation@0"
},
2022-11-07 11:51:49 +08:00
{
"command": "distbuild.addHost",
"when": "view == distbuildtree",
"group": "navigation@1"
},
2022-08-26 16:14:21 +08:00
{
"command": "distbuild.runTask",
2022-09-05 14:58:08 +08:00
"when": "view == distbuildtree && distbuild.task.start == false",
2022-11-07 11:51:49 +08:00
"group": "navigation@2"
2022-08-26 16:14:21 +08:00
},
2022-09-05 14:58:08 +08:00
{
"command": "distbuild.stopTask",
"when": "view == distbuildtree && distbuild.task.start == true",
"group": "navigation@2"
},
2022-08-26 16:14:21 +08:00
{
"command": "distbuild.refresh",
"when": "view == distbuildtree",
2022-09-05 14:58:08 +08:00
"group": "navigation@3"
2022-08-26 16:14:21 +08:00
}
2022-08-26 16:44:27 +08:00
],
"view/item/context": [
2022-09-14 17:10:22 +08:00
{
"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"
2022-11-07 11:51:49 +08:00
},
{
"command": "distbuild.remove",
"when": "view == distbuildtree && viewItem != distbuild.state",
"group": "inline@2"
2022-08-26 16:44:27 +08:00
}
2022-08-26 16:14:21 +08:00
]
},
"viewsContainers": {
"activitybar": [
{
"id": "distbuildtree",
"title": "distbuild",
2022-09-29 11:13:22 +08:00
"icon": "$(run-all)"
2022-08-26 16:14:21 +08:00
}
]
},
"views": {
"distbuildtree": [
{
"id": "distbuildtree",
"name": "distbuild",
"when": "distbuildtree.show == true"
2022-08-26 16:14:21 +08:00
}
]
},
2022-08-25 15:19:13 +08:00
"taskDefinitions": [
2022-08-26 16:14:21 +08:00
{
"type": "distbuild",
"required": [
"command",
"group"
],
2022-08-25 15:19:13 +08:00
"properties": {
2022-08-26 16:14:21 +08:00
"command": {
"type": "string",
"default": ""
2022-08-25 15:19:13 +08:00
},
2022-08-26 16:14:21 +08:00
"group": {
"type": "string",
"default": "build"
2022-08-25 15:19:13 +08:00
},
2022-08-26 16:14:21 +08:00
"args": {
"type": "array",
2022-10-10 17:54:45 +08:00
"default": []
2022-08-25 15:19:13 +08:00
}
}
2022-08-26 16:14:21 +08:00
}
]
2022-08-25 15:19:13 +08:00
},
"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",
2022-08-31 11:20:26 +08:00
"@types/ssh2": "^1.11.5",
2022-09-13 14:27:56 +08:00
"@types/vscode": "^1.68.0",
2022-08-31 11:20:26 +08:00
"@typescript-eslint/eslint-plugin": "^5.36.1",
"@typescript-eslint/parser": "^5.36.1",
"@vscode/test-electron": "^2.1.5",
2022-08-25 15:19:13 +08:00
"eslint": "^8.20.0",
"glob": "^8.0.3",
2022-09-05 14:58:08 +08:00
"javascript-obfuscator": "^4.0.0",
2022-08-25 15:19:13 +08:00
"mocha": "^10.0.0",
2022-09-05 14:58:08 +08:00
"node-loader": "^2.0.0",
2022-08-25 15:19:13 +08:00
"ts-loader": "^9.3.1",
2022-08-31 11:20:26 +08:00
"ts-node": "^10.9.1",
"typescript": "^4.7.4",
2022-08-25 15:19:13 +08:00
"webpack": "^5.74.0",
2022-09-05 14:58:08 +08:00
"webpack-cli": "^4.10.0",
"webpack-obfuscator": "^3.5.1"
},
"dependencies": {
2022-11-07 11:51:49 +08:00
"@vscode/webview-ui-toolkit": "^1.1.0",
2022-09-06 14:38:47 +08:00
"ssh2": "^1.11.0",
"vscode-nls": "^5.2.0"
2022-08-25 15:19:13 +08:00
}
}