96 linhas
2.7 KiB

  1. {
  2. "name": "gitlens",
  3. "version": "0.0.4",
  4. "author": "Eric Amodio",
  5. "publisher": "eamodio",
  6. "engines": {
  7. "vscode": "^1.3.0"
  8. },
  9. "license": "SEE LICENSE IN LICENSE",
  10. "displayName": "GitLens",
  11. "description": "Provides Git information in CodeLens",
  12. "categories": [
  13. "Other"
  14. ],
  15. "keywords": [
  16. "git", "gitblame", "blame", "codelens"
  17. ],
  18. "galleryBanner": {
  19. "color": "#0000FF",
  20. "theme": "dark"
  21. },
  22. "preview": true,
  23. "repository": {
  24. "type": "git",
  25. "url": "https://github.com/eamodio/vscode-gitlens.git"
  26. },
  27. "main": "./out/src/extension",
  28. "contributes": {
  29. "commands": [{
  30. "command": "gitlens.diffWithPrevious",
  31. "title": "GitLens: Open Diff with Previous Commit",
  32. "category": "GitLens"
  33. },
  34. {
  35. "command": "gitlens.diffWithWorking",
  36. "title": "GitLens: Open Diff with Working Tree",
  37. "category": "GitLens"
  38. },
  39. {
  40. "command": "gitlens.showBlame",
  41. "title": "GitLens: Show Git Blame",
  42. "category": "GitLens"
  43. },
  44. {
  45. "command": "gitlens.toggleBlame",
  46. "title": "GitLens: Toggle Git Blame",
  47. "category": "GitLens"
  48. }],
  49. "menus": {
  50. "editor/title": [{
  51. "when": "editorTextFocus",
  52. "command": "gitlens.toggleBlame",
  53. "group": "gitlens"
  54. }],
  55. "editor/context": [
  56. {
  57. "when": "editorTextFocus",
  58. "command": "gitlens.diffWithWorking",
  59. "group": "gitlens@1.0"
  60. },
  61. {
  62. "when": "editorTextFocus",
  63. "command": "gitlens.diffWithPrevious",
  64. "group": "gitlens@1.1"
  65. },
  66. {
  67. "when": "editorTextFocus",
  68. "command": "gitlens.toggleBlame",
  69. "group": "gitlens-blame@1.2"
  70. }]
  71. },
  72. "keybindings": [{
  73. "command": "gitlens.toggleBlame",
  74. "key": "alt+b",
  75. "mac": "alt+b",
  76. "when": "editorTextFocus"
  77. }]
  78. },
  79. "activationEvents": [
  80. "*"
  81. ],
  82. "dependencies": {
  83. "lodash": "^4.15.0",
  84. "moment": "^2.14.1",
  85. "spawn-rx": "^2.0.1",
  86. "tmp": "^0.0.28"
  87. },
  88. "devDependencies": {
  89. "typescript": "^2.0.0",
  90. "vscode": "^0.11.17"
  91. },
  92. "scripts": {
  93. "vscode:prepublish": "node ./node_modules/vscode/bin/compile && tsc",
  94. "compile": "node ./node_modules/vscode/bin/compile -watch -p ./",
  95. "postinstall": "node ./node_modules/vscode/bin/install"
  96. }
  97. }