package.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  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.4",
  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.execution.compileCpp": {
  43. "type": "string",
  44. "default": "g++ -std=c++11 $PROGRAM -o $OUTPUT",
  45. "description": "Command to compile the program. Refer to the code as $PROGRAM, and output file as $OUTPUT.",
  46. "scope": "resource"
  47. },
  48. "acmx.execution.pythonPath": {
  49. "type": "string",
  50. "default": "/usr/bin/python3",
  51. "description": "Path to python executable.",
  52. "scope": "resource"
  53. },
  54. "acmx.configuration.templatePath": {
  55. "type": "string",
  56. "default": "",
  57. "description": "Path to template file. Leave empty to use default template.",
  58. "scope": "resource"
  59. },
  60. "acmx.configuration.solutionPath": {
  61. "type": "string",
  62. "default": ".",
  63. "description": "Path to folder where contest will be created and stored. To set active workspace use `.`",
  64. "scope": "resource"
  65. }
  66. }
  67. }
  68. ],
  69. "commands": [
  70. {
  71. "command": "acmx.addProblem",
  72. "title": "ACMX: New Problem"
  73. },
  74. {
  75. "command": "acmx.addContest",
  76. "title": "ACMX: New Contest"
  77. },
  78. {
  79. "command": "acmx.runSolution",
  80. "title": "ACMX: Run"
  81. },
  82. {
  83. "command": "acmx.openTestcase",
  84. "title": "ACMX: Open Test Case"
  85. },
  86. {
  87. "command": "acmx.addTestcase",
  88. "title": "ACMX: Add Test Case"
  89. },
  90. {
  91. "command": "acmx.coding",
  92. "title": "ACMX: View: Code"
  93. },
  94. {
  95. "command": "acmx.stress",
  96. "title": "ACMX: Stress"
  97. },
  98. {
  99. "command": "acmx.upgrade",
  100. "title": "ACMX: Upgrade"
  101. },
  102. {
  103. "command": "acmx.compile",
  104. "title": "ACMX: Compile"
  105. }
  106. ]
  107. },
  108. "scripts": {
  109. "vscode:prepublish": "npm run compile",
  110. "compile": "tsc -p ./",
  111. "watch": "tsc -watch -p ./",
  112. "postinstall": "node ./node_modules/vscode/bin/install",
  113. "test": "npm run compile && node ./node_modules/vscode/bin/test"
  114. },
  115. "repository": {
  116. "type": "git",
  117. "url": "https://github.com/mfornet/acmx.git"
  118. },
  119. "bugs": {
  120. "url": "https://github.com/mfornet/acmx/issues",
  121. "email": "mfornet94@gmail.com"
  122. },
  123. "devDependencies": {
  124. "@types/got": "^9.3.0",
  125. "@types/mocha": "^2.2.42",
  126. "@types/node": "^8.10.25",
  127. "tslint": "^5.8.0",
  128. "typescript": "^3.1.4",
  129. "vscode": "^1.1.25"
  130. },
  131. "dependencies": {
  132. "got": "^9.5.0",
  133. "jssoup": "0.0.10",
  134. "sync-request": "^6.0.0",
  135. "unescape": "^1.0.1"
  136. }
  137. }