package.json 3.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. {
  2. "name": "fastmd",
  3. "publisher": "olinox14",
  4. "displayName": "FastMd",
  5. "description": "Fast Markdown formatting for Visual Studio Code",
  6. "version": "0.0.1",
  7. "engines": {
  8. "vscode": "^1.31.0"
  9. },
  10. "categories": [
  11. "Other"
  12. ],
  13. "keywords": [
  14. "markdown",
  15. "formatting"
  16. ],
  17. "activationEvents": [
  18. "*"
  19. ],
  20. "main": "./extension.js",
  21. "contributes": {
  22. "commands": [
  23. {
  24. "command": "fastmd.toggleItalic",
  25. "title": "Toggle Italic",
  26. "category": "Markdown Shortcuts"
  27. }
  28. ],
  29. "keybindings": [
  30. {"command": "fastmd.addLinebreak", "key": "ctrl+enter", "when": "editorTextFocus && editorLangId == 'markdown'"},
  31. {"command": "fastmd.escape", "key": "ctrl+/", "when": "editorTextFocus && editorLangId == 'markdown'"},
  32. {"command": "fastmd.headerUp", "key": "ctrl+h", "when": "editorTextFocus && editorLangId == 'markdown'"},
  33. {"command": "fastmd.headerDown", "key": "ctrl+shift+h", "when": "editorTextFocus && editorLangId == 'markdown'"},
  34. {"command": "fastmd.toggleH1", "key": "ctrl+shift+1", "when": "editorTextFocus && editorLangId == 'markdown'"},
  35. {"command": "fastmd.toggleH2", "key": "ctrl+shift+2", "when": "editorTextFocus && editorLangId == 'markdown'"},
  36. {"command": "fastmd.toggleH3", "key": "ctrl+shift+3", "when": "editorTextFocus && editorLangId == 'markdown'"},
  37. {"command": "fastmd.toggleH4", "key": "ctrl+shift+4", "when": "editorTextFocus && editorLangId == 'markdown'"},
  38. {"command": "fastmd.toggleH5", "key": "ctrl+shift+5", "when": "editorTextFocus && editorLangId == 'markdown'"},
  39. {"command": "fastmd.toggleItalic", "key": "ctrl+i", "when": "editorTextFocus && editorLangId == 'markdown'"},
  40. {"command": "fastmd.toggleBold", "key": "ctrl+b", "when": "editorTextFocus && editorLangId == 'markdown'"},
  41. {"command": "fastmd.toggleCombinedEmphasis", "key": "ctrl+e", "when": "editorTextFocus && editorLangId == 'markdown'"},
  42. {"command": "fastmd.toggleStrikethrough", "key": "ctrl+alt+e", "when": "editorTextFocus && editorLangId == 'markdown'"},
  43. {"command": "fastmd.toggleLink", "key": "ctrl+l", "when": "editorTextFocus && editorLangId == 'markdown'"},
  44. {"command": "fastmd.toggleNumRefLink", "key": "ctrl+num", "when": "editorTextFocus && editorLangId == 'markdown'"},
  45. {"command": "fastmd.toggleImageLink", "key": "ctrl+g", "when": "editorTextFocus && editorLangId == 'markdown'"},
  46. {"command": "fastmd.toggleBlockquote", "key": "ctrl+q", "when": "editorTextFocus && editorLangId == 'markdown'"},
  47. {"command": "fastmd.insertHRule", "key": "ctrl+r", "when": "editorTextFocus && editorLangId == 'markdown'"},
  48. {"command": "fastmd.toggleCodeblock", "key": "ctrl+k", "when": "editorTextFocus && editorLangId == 'markdown'"},
  49. {"command": "fastmd.toggleUList", "key": "ctrl+u", "when": "editorTextFocus && editorLangId == 'markdown'"},
  50. {"command": "fastmd.toggleOList", "key": "ctrl+o", "when": "editorTextFocus && editorLangId == 'markdown'"},
  51. {"command": "fastmd.insertTable", "key": "ctrl+t", "when": "editorTextFocus && editorLangId == 'markdown'"},
  52. {"command": "fastmd.tableAddCol", "key": "ctrl+right", "when": "editorTextFocus && editorLangId == 'markdown'"},
  53. {"command": "fastmd.tableAddRow", "key": "ctrl+down", "when": "editorTextFocus && editorLangId == 'markdown'"},
  54. {"command": "fastmd.togglePreview", "key": "ctrl+alt+p", "when": "editorTextFocus && editorLangId == 'markdown'"}
  55. ]
  56. },
  57. "scripts": {
  58. "postinstall": "node ./node_modules/vscode/bin/install",
  59. "test": "node ./node_modules/vscode/bin/test"
  60. },
  61. "devDependencies": {
  62. "typescript": "^3.3.1",
  63. "vscode": "^1.1.28",
  64. "eslint": "^5.13.0",
  65. "@types/node": "^10.12.21",
  66. "@types/mocha": "^2.2.42"
  67. }
  68. }