Marlin/buildroot/share/vscode/AutoBuildMarlin/package.json

118 lines
2.7 KiB
JSON
Raw Normal View History

{
"name": "auto-build",
"displayName": "Auto Build Marlin",
"description": "Auto Build Marlin for VS code",
"version": "2.0.0",
"publisher": "marlinfirmware",
"icon": "logo.svg",
"engines": {
2019-09-30 09:55:57 +02:00
"vscode": "^1.32.0"
},
"enableProposedApi": true,
"categories": [
"Other"
],
"activationEvents": [
2019-09-30 09:55:57 +02:00
"onCommand:mfbuild",
"onCommand:mfclean",
"onCommand:mfupload",
"onCommand:mftraceback"
],
"main": "./extension",
"contributes": {
"viewsContainers": {
"activitybar": [
{
2019-09-30 09:55:57 +02:00
"id": "autoBuildVC",
"title": "Marlin Build",
"icon": "resources/AB.svg"
}
]
},
"views": {
2019-09-30 09:55:57 +02:00
"autoBuildVC": [
{
2019-09-30 09:55:57 +02:00
"id": "autoBuildView",
"name": "Build…"
},
{
"id": "marlinView",
"name": "Marlin Info"
}
]
},
"commands": [
{
2019-09-30 09:55:57 +02:00
"command": "mfbuild",
"title": "Build",
"icon": {
"light": "resources/B48x48_light.svg",
"dark": "resources/B48x48_dark.svg"
}
},
{
2019-09-30 09:55:57 +02:00
"command": "mfupload",
"title": "Upload",
"icon": {
"light": "resources/U48x48_light.svg",
"dark": "resources/U48x48_dark.svg"
}
},
{
2019-09-30 09:55:57 +02:00
"command": "mftraceback",
"title": "Upload (traceback)",
"icon": {
"light": "resources/T48x48_light.svg",
"dark": "resources/T48x48_dark.svg"
}
2019-09-26 07:18:45 +02:00
},
{
2019-09-30 09:55:57 +02:00
"command": "mfclean",
"title": "Clean",
2019-09-26 07:18:45 +02:00
"icon": {
"light": "resources/C48x48_light.svg",
"dark": "resources/C48x48_dark.svg"
}
}
],
"menus": {
"view/title": [
{
2019-09-30 09:55:57 +02:00
"command": "mfbuild",
"group": "navigation@1",
"when": "view == autoBuildView || view == marlinView"
},
{
2019-09-30 09:55:57 +02:00
"command": "mfupload",
"group": "navigation@2",
"when": "view == autoBuildView || view == marlinView"
},
{
2019-09-30 09:55:57 +02:00
"command": "mftraceback",
"group": "navigation@3",
"when": "view == autoBuildView || view == marlinView"
},
{
2019-09-30 09:55:57 +02:00
"command": "mfclean",
"group": "navigation@4",
"when": "view == autoBuildView || view == marlinView"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
2019-09-30 09:55:57 +02:00
"@types/vscode": "^1.34.0",
"typescript": "^3.5.1",
"tslint": "^5.16.0",
"@types/node": "^10.14.17",
"@types/mocha": "^2.2.42"
}
}