2018-06-13 19:49:47 -04:00
|
|
|
{
|
|
|
|
"name": "auto-build",
|
|
|
|
"displayName": "Auto Build Marlin",
|
|
|
|
"description": "Auto Build Marlin for VS code",
|
2019-09-20 01:45:03 -04:00
|
|
|
"version": "2.0.0",
|
2018-06-13 19:49:47 -04:00
|
|
|
"publisher": "marlinfirmware",
|
2019-09-20 01:45:03 -04:00
|
|
|
"icon": "logo.svg",
|
2018-06-13 19:49:47 -04:00
|
|
|
"engines": {
|
2019-09-30 03:55:57 -04:00
|
|
|
"vscode": "^1.32.0"
|
2018-06-13 19:49:47 -04:00
|
|
|
},
|
|
|
|
"enableProposedApi": true,
|
|
|
|
"categories": [
|
|
|
|
"Other"
|
|
|
|
],
|
|
|
|
"activationEvents": [
|
2019-09-30 03:55:57 -04:00
|
|
|
"onCommand:mfbuild",
|
|
|
|
"onCommand:mfclean",
|
|
|
|
"onCommand:mfupload",
|
|
|
|
"onCommand:mftraceback"
|
2018-06-13 19:49:47 -04:00
|
|
|
],
|
|
|
|
"main": "./extension",
|
|
|
|
"contributes": {
|
|
|
|
"viewsContainers": {
|
|
|
|
"activitybar": [
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"id": "autoBuildVC",
|
|
|
|
"title": "Marlin Build",
|
2019-09-20 01:45:03 -04:00
|
|
|
"icon": "resources/AB.svg"
|
2018-06-13 19:49:47 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"views": {
|
2019-09-30 03:55:57 -04:00
|
|
|
"autoBuildVC": [
|
2018-06-13 19:49:47 -04:00
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"id": "autoBuildView",
|
|
|
|
"name": "Build…"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"id": "marlinView",
|
|
|
|
"name": "Marlin Info"
|
2018-06-13 19:49:47 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"commands": [
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"command": "mfbuild",
|
|
|
|
"title": "Build",
|
2019-09-20 01:45:03 -04:00
|
|
|
"icon": {
|
|
|
|
"light": "resources/B48x48_light.svg",
|
|
|
|
"dark": "resources/B48x48_dark.svg"
|
|
|
|
}
|
2018-06-13 19:49:47 -04:00
|
|
|
},
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"command": "mfupload",
|
|
|
|
"title": "Upload",
|
2019-09-20 01:45:03 -04:00
|
|
|
"icon": {
|
|
|
|
"light": "resources/U48x48_light.svg",
|
|
|
|
"dark": "resources/U48x48_dark.svg"
|
|
|
|
}
|
2018-06-13 19:49:47 -04:00
|
|
|
},
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"command": "mftraceback",
|
|
|
|
"title": "Upload (traceback)",
|
2019-09-20 01:45:03 -04:00
|
|
|
"icon": {
|
|
|
|
"light": "resources/T48x48_light.svg",
|
|
|
|
"dark": "resources/T48x48_dark.svg"
|
|
|
|
}
|
2019-09-26 01:18:45 -04:00
|
|
|
},
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"command": "mfclean",
|
|
|
|
"title": "Clean",
|
2019-09-26 01:18:45 -04:00
|
|
|
"icon": {
|
|
|
|
"light": "resources/C48x48_light.svg",
|
|
|
|
"dark": "resources/C48x48_dark.svg"
|
|
|
|
}
|
2018-06-13 19:49:47 -04:00
|
|
|
}
|
|
|
|
],
|
|
|
|
"menus": {
|
|
|
|
"view/title": [
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"command": "mfbuild",
|
|
|
|
"group": "navigation@1",
|
|
|
|
"when": "view == autoBuildView || view == marlinView"
|
2018-06-13 19:49:47 -04:00
|
|
|
},
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"command": "mfupload",
|
|
|
|
"group": "navigation@2",
|
|
|
|
"when": "view == autoBuildView || view == marlinView"
|
2018-06-13 19:49:47 -04:00
|
|
|
},
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"command": "mftraceback",
|
|
|
|
"group": "navigation@3",
|
|
|
|
"when": "view == autoBuildView || view == marlinView"
|
2018-06-13 19:49:47 -04:00
|
|
|
},
|
|
|
|
{
|
2019-09-30 03:55:57 -04:00
|
|
|
"command": "mfclean",
|
|
|
|
"group": "navigation@4",
|
|
|
|
"when": "view == autoBuildView || view == marlinView"
|
2018-06-13 19:49:47 -04:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"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 03:55:57 -04:00
|
|
|
"@types/vscode": "^1.34.0",
|
|
|
|
"typescript": "^3.5.1",
|
|
|
|
"tslint": "^5.16.0",
|
|
|
|
"@types/node": "^10.14.17",
|
2018-06-13 19:49:47 -04:00
|
|
|
"@types/mocha": "^2.2.42"
|
|
|
|
}
|
|
|
|
}
|