You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

package.json 2.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. {
  2. "name": "topjs-debugger",
  3. "displayName": "TopJS Debugger",
  4. "version": "0.0.5",
  5. "publisher": "AbbyCin",
  6. "description": "TopJS debugger extension for VS Code.",
  7. "author": {
  8. "name": "AbbyCin",
  9. "email": "abbytsing@gmail.com"
  10. },
  11. "license": "ISC",
  12. "keywords": [
  13. "multi-root ready"
  14. ],
  15. "engines": {
  16. "vscode": "^1.30.0",
  17. "node": "^8.9.3"
  18. },
  19. "icon": "favicon.png",
  20. "categories": [
  21. "Debuggers"
  22. ],
  23. "private": true,
  24. "repository": {
  25. "type": "git",
  26. "url": "https://git.isliberty.me/abbycin/topjs-debugger"
  27. },
  28. "bugs": {
  29. "url": "https://git.isliberty.me/abbycin/topjs-debugger/issues"
  30. },
  31. "homepage": "https://git.isliberty.me/abbycin/topjs-debugger/src/master/README.md",
  32. "scripts": {
  33. "postinstall": "node ./node_modules/vscode/bin/install",
  34. "build": "node ./build.js",
  35. "package": "vsce package --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/raw/master/",
  36. "unpublish": "vsce unpublish",
  37. "publish": "vsce publish --baseImagesUrl https://git.isliberty.me/abbycin/topjs-debugger/raw/master/"
  38. },
  39. "dependencies": {
  40. "await-notify": "^1.0.1",
  41. "command-exists": "^1.2.8",
  42. "vscode-debugadapter": "^1.33.0"
  43. },
  44. "devDependencies": {
  45. "@types/node": "8.9.3",
  46. "vscode": "1.1.21",
  47. "vscode-debugadapter-testsupport": "1.33.0",
  48. "vsce": "1.53.2",
  49. "ncp": "2.0.0"
  50. },
  51. "main": "./src/extension",
  52. "activationEvents": [
  53. "onDebug",
  54. "onCommand:extension.topjs-debugger.getProgramPath"
  55. ],
  56. "contributes": {
  57. "breakpoints": [
  58. {
  59. "language": "javascript"
  60. }
  61. ],
  62. "debuggers": [
  63. {
  64. "type": "topjs",
  65. "label": "TopJS Debugger",
  66. "program": "./src/debugAdapter.js",
  67. "runtime": "node",
  68. "configurationAttributes": {
  69. "launch": {
  70. "required": [
  71. "program"
  72. ],
  73. "properties": {
  74. "program": {
  75. "type": "string",
  76. "description": "Absolute path to a javascript file.",
  77. "default": "${workspaceFolder}/${command:getProgramPath}"
  78. },
  79. "port": {
  80. "type": "number",
  81. "descrition": "Port for debugger backend.",
  82. "default": 30992
  83. },
  84. "runtimeExecutable": {
  85. "type": "string",
  86. "default": "topjs3"
  87. }
  88. }
  89. }
  90. },
  91. "initialConfigurations": [
  92. {
  93. "type": "topjs",
  94. "request": "launch",
  95. "name": "Launch Debugger",
  96. "program": "${workspaceFolder}/${command:getProgramPath}"
  97. }
  98. ],
  99. "configurationSnippets": [
  100. {
  101. "label": "TopJS Debug: Launch",
  102. "description": "A new configuration for 'debugging' a user selected javascript file.",
  103. "body": {
  104. "type": "topjs",
  105. "request": "launch",
  106. "name": "Launch Debugger2",
  107. "program": "^\"\\${workspaceFolder}/\\${command:getProgramPath}\""
  108. }
  109. }
  110. ],
  111. "variables": {
  112. "getProgramPath": "extension.topjs-debugger.getProgramPath"
  113. }
  114. }
  115. ]
  116. }
  117. }