My Marlin configs for Fabrikator Mini and CTC i3 Pro B
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

package.json 2.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "auto-build",
  3. "displayName": "Auto Build Marlin",
  4. "description": "Auto Build Marlin for VS code",
  5. "version": "2.0.0",
  6. "publisher": "marlinfirmware",
  7. "icon": "logo.svg",
  8. "engines": {
  9. "vscode": "^1.32.0"
  10. },
  11. "enableProposedApi": true,
  12. "categories": [
  13. "Other"
  14. ],
  15. "activationEvents": [
  16. "onCommand:mfbuild",
  17. "onCommand:mfclean",
  18. "onCommand:mfupload",
  19. "onCommand:mftraceback"
  20. ],
  21. "main": "./extension",
  22. "contributes": {
  23. "viewsContainers": {
  24. "activitybar": [
  25. {
  26. "id": "autoBuildVC",
  27. "title": "Marlin Build",
  28. "icon": "resources/AB.svg"
  29. }
  30. ]
  31. },
  32. "views": {
  33. "autoBuildVC": [
  34. {
  35. "id": "autoBuildView",
  36. "name": "Build…"
  37. },
  38. {
  39. "id": "marlinView",
  40. "name": "Marlin Info"
  41. }
  42. ]
  43. },
  44. "commands": [
  45. {
  46. "command": "mfbuild",
  47. "title": "Build",
  48. "icon": {
  49. "light": "resources/B48x48_light.svg",
  50. "dark": "resources/B48x48_dark.svg"
  51. }
  52. },
  53. {
  54. "command": "mfupload",
  55. "title": "Upload",
  56. "icon": {
  57. "light": "resources/U48x48_light.svg",
  58. "dark": "resources/U48x48_dark.svg"
  59. }
  60. },
  61. {
  62. "command": "mftraceback",
  63. "title": "Upload (traceback)",
  64. "icon": {
  65. "light": "resources/T48x48_light.svg",
  66. "dark": "resources/T48x48_dark.svg"
  67. }
  68. },
  69. {
  70. "command": "mfclean",
  71. "title": "Clean",
  72. "icon": {
  73. "light": "resources/C48x48_light.svg",
  74. "dark": "resources/C48x48_dark.svg"
  75. }
  76. }
  77. ],
  78. "menus": {
  79. "view/title": [
  80. {
  81. "command": "mfbuild",
  82. "group": "navigation@1",
  83. "when": "view == autoBuildView || view == marlinView"
  84. },
  85. {
  86. "command": "mfupload",
  87. "group": "navigation@2",
  88. "when": "view == autoBuildView || view == marlinView"
  89. },
  90. {
  91. "command": "mftraceback",
  92. "group": "navigation@3",
  93. "when": "view == autoBuildView || view == marlinView"
  94. },
  95. {
  96. "command": "mfclean",
  97. "group": "navigation@4",
  98. "when": "view == autoBuildView || view == marlinView"
  99. }
  100. ]
  101. }
  102. },
  103. "scripts": {
  104. "vscode:prepublish": "npm run compile",
  105. "compile": "tsc -p ./",
  106. "watch": "tsc -watch -p ./",
  107. "postinstall": "node ./node_modules/vscode/bin/install",
  108. "test": "npm run compile && node ./node_modules/vscode/bin/test"
  109. },
  110. "devDependencies": {
  111. "@types/vscode": "^1.34.0",
  112. "typescript": "^3.5.1",
  113. "tslint": "^5.16.0",
  114. "@types/node": "^10.14.17",
  115. "@types/mocha": "^2.2.42"
  116. }
  117. }