1 Star 0 Fork 14

黑熊怪/dist-build

forked from openKylin/dist-build 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 4.75 KB
一键复制 编辑 原始数据 按行查看 历史
LIN CHAOCHAO 提交于 2022-09-09 16:49 . 修改工程文件
{
"name": "kylin-code-dist-compile",
"displayName": "kylin-code-dist-compile",
"description": "dist compile",
"publisher": "kylinos",
"version": "0.0.1-alpha.20220909",
"engines": {
"vscode": "^1.70.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.c",
"workspaceContains:**/*.cpp"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "distbuild.addHost",
"title": "%commands.distbuild.addHost%",
"category": "distbuild",
"icon": "$(add)"
},
{
"command": "distbuild.refresh",
"title": "%commands.distbuild.refresh%",
"category": "distbuild",
"icon": "$(refresh)"
},
{
"command": "distbuild.runTask",
"title": "%commands.distbuild.runTask%",
"category": "distbuild",
"icon": "$(run)"
},
{
"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)"
}
],
"menus": {
"view/title": [
{
"command": "distbuild.addHost",
"when": "view == distbuildtree",
"group": "navigation@0"
},
{
"command": "distbuild.runTask",
"when": "view == distbuildtree && distbuild.task.start == false",
"group": "navigation@1"
},
{
"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.remove",
"when": "view == distbuildtree && viewItem != distbuild.state",
"group": "inline@2"
},
{
"command": "distbuild.run",
"when": "view == distbuildtree && viewItem == distbuild.host.state.stop",
"group": "inline@0"
},
{
"command": "distbuild.stop",
"when": "view == distbuildtree && viewItem == distbuild.host.state.run",
"group": "inline@1"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "distbuildtree",
"title": "distbuild",
"icon": "$(package)"
}
]
},
"views": {
"distbuildtree": [
{
"id": "distbuildtree",
"name": "distbuild",
"when": "distbuildtree.show == true"
}
]
},
"taskDefinitions": [
{
"type": "distbuild",
"required": [
"command",
"group"
],
"properties": {
"command": {
"type": "string",
"description": "hehe",
"default": "make"
},
"group": {
"type": "string",
"default": "build"
},
"args": {
"type": "array",
"definition": "haha",
"default": [
"-j"
]
}
}
}
]
},
"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.70.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": {
"ssh2": "^1.11.0",
"vscode-nls": "^5.2.0"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xhafei/dist-build.git
git@gitee.com:xhafei/dist-build.git
xhafei
dist-build
dist-build
master

搜索帮助