package.json 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. {
  2. "name": "acmx",
  3. "displayName": "acmX",
  4. "description": "Competitive Programming made simple",
  5. "icon": "images/logo.png",
  6. "publisher": "marx24",
  7. "version": "0.1.8",
  8. "license": "MIT",
  9. "engines": {
  10. "vscode": "^1.30.0"
  11. },
  12. "author": {
  13. "name": "Marcelo Fornet"
  14. },
  15. "categories": [
  16. "Other"
  17. ],
  18. "activationEvents": [
  19. "onCommand:acmx.addProblem",
  20. "onCommand:acmx.addContest",
  21. "onCommand:acmx.runSolution",
  22. "onCommand:acmx.openTestcase",
  23. "onCommand:acmx.addTestcase",
  24. "onCommand:acmx.coding",
  25. "onCommand:acmx.stress",
  26. "onCommand:acmx.upgrade",
  27. "onCommand:acmx.compile",
  28. "onCommand:acmx.debugTest"
  29. ],
  30. "main": "./out/extension",
  31. "contributes": {
  32. "configuration": [
  33. {
  34. "title": "acmX",
  35. "properties": {
  36. "acmx.run.timeLimit": {
  37. "type": "number",
  38. "default": 2,
  39. "description": "Maximum time limit in seconds to run the program on each test case.",
  40. "scope": "resource"
  41. },
  42. "acmx.stress.times": {
  43. "type": "number",
  44. "default": 10,
  45. "description": "Number of times to run the solution in stress mode.",
  46. "scope": "resource"
  47. },
  48. "acmx.execution.compile": {
  49. "type": "string",
  50. "default": "g++ -std=c++11 $PROGRAM -o $OUTPUT",
  51. "description": "Command to compile the program. Refer to the code as $PROGRAM, and output file as $OUTPUT.",
  52. "scope": "resource"
  53. },
  54. "acmx.execution.pythonPath": {
  55. "type": "string",
  56. "default": "/usr/bin/python3",
  57. "description": "Path to python executable.",
  58. "scope": "resource"
  59. },
  60. "acmx.configuration.templatePath": {
  61. "type": "string",
  62. "default": "",
  63. "description": "Path to template file. Leave empty to use default template.",
  64. "scope": "resource"
  65. },
  66. "acmx.configuration.solutionPath": {
  67. "type": "string",
  68. "default": ".",
  69. "description": "Path to folder where contest will be created and stored. To set active workspace use `.`",
  70. "scope": "resource"
  71. },
  72. "acmx.configuration.extension": {
  73. "type": "string",
  74. "default": "cpp",
  75. "description": "Extension of the programming language you will use to code solutions. Default `cpp` for c++",
  76. "scope": "resource"
  77. }
  78. }
  79. }
  80. ],
  81. "commands": [
  82. {
  83. "command": "acmx.addProblem",
  84. "title": "ACMX: New Problem"
  85. },
  86. {
  87. "command": "acmx.addContest",
  88. "title": "ACMX: New Contest"
  89. },
  90. {
  91. "command": "acmx.runSolution",
  92. "title": "ACMX: Run"
  93. },
  94. {
  95. "command": "acmx.openTestcase",
  96. "title": "ACMX: Open Test Case"
  97. },
  98. {
  99. "command": "acmx.addTestcase",
  100. "title": "ACMX: Add Test Case"
  101. },
  102. {
  103. "command": "acmx.coding",
  104. "title": "ACMX: View: Code"
  105. },
  106. {
  107. "command": "acmx.stress",
  108. "title": "ACMX: Stress"
  109. },
  110. {
  111. "command": "acmx.upgrade",
  112. "title": "ACMX: Upgrade"
  113. },
  114. {
  115. "command": "acmx.compile",
  116. "title": "ACMX: Compile"
  117. }
  118. ],
  119. "keybindings": [
  120. {
  121. "command": "acmx.compile",
  122. "key": "ctrl+alt+b"
  123. },
  124. {
  125. "command": "acmx.runSolution",
  126. "key": "ctrl+alt+l"
  127. },
  128. {
  129. "command": "acmx.stress",
  130. "key": "ctrl+alt+k"
  131. },
  132. {
  133. "command": "acmx.coding",
  134. "key": "ctrl+alt+o"
  135. }
  136. ]
  137. },
  138. "scripts": {
  139. "vscode:prepublish": "npm run compile",
  140. "compile": "tsc -p ./",
  141. "watch": "tsc -watch -p ./",
  142. "postinstall": "node ./node_modules/vscode/bin/install",
  143. "test": "npm run compile && node ./node_modules/vscode/bin/test"
  144. },
  145. "repository": {
  146. "type": "git",
  147. "url": "https://github.com/mfornet/acmx.git"
  148. },
  149. "bugs": {
  150. "url": "https://github.com/mfornet/acmx/issues",
  151. "email": "mfornet94@gmail.com"
  152. },
  153. "devDependencies": {
  154. "@types/got": "^9.3.0",
  155. "@types/mocha": "^2.2.42",
  156. "@types/node": "^8.10.25",
  157. "tslint": "^5.8.0",
  158. "typescript": "^3.1.4",
  159. "vscode": "^1.1.25"
  160. },
  161. "dependencies": {
  162. "got": "^9.5.0",
  163. "jssoup": "0.0.10",
  164. "sync-request": "^6.0.0",
  165. "unescape": "^1.0.1"
  166. }
  167. }