package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  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.3",
  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:extension.addProblem",
  20. "onCommand:extension.addContest",
  21. "onCommand:extension.runSolution",
  22. "onCommand:extension.openTestcase",
  23. "onCommand:extension.addTestcase",
  24. "onCommand:extension.coding",
  25. "onCommand:extension.stress",
  26. "onCommand:extension.upgrade",
  27. "onCommand:extension.compile",
  28. "onCommand:extension.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. }
  61. }
  62. ],
  63. "commands": [
  64. {
  65. "command": "extension.addProblem",
  66. "title": "ACMX: New Problem"
  67. },
  68. {
  69. "command": "extension.addContest",
  70. "title": "ACMX: New Contest"
  71. },
  72. {
  73. "command": "extension.runSolution",
  74. "title": "ACMX: Run"
  75. },
  76. {
  77. "command": "extension.openTestcase",
  78. "title": "ACMX: Open Test Case"
  79. },
  80. {
  81. "command": "extension.addTestcase",
  82. "title": "ACMX: Add Test Case"
  83. },
  84. {
  85. "command": "extension.coding",
  86. "title": "ACMX: View: Code"
  87. },
  88. {
  89. "command": "extension.stress",
  90. "title": "ACMX: Stress"
  91. },
  92. {
  93. "command": "extension.upgrade",
  94. "title": "ACMX: Upgrade"
  95. },
  96. {
  97. "command": "extension.compile",
  98. "title": "ACMX: Compile"
  99. }
  100. ]
  101. },
  102. "scripts": {
  103. "vscode:prepublish": "npm run compile",
  104. "compile": "tsc -p ./",
  105. "watch": "tsc -watch -p ./",
  106. "postinstall": "node ./node_modules/vscode/bin/install",
  107. "test": "npm run compile && node ./node_modules/vscode/bin/test"
  108. },
  109. "repository": {
  110. "type": "git",
  111. "url": "https://github.com/mfornet/acmx.git"
  112. },
  113. "bugs": {
  114. "url": "https://github.com/mfornet/acmx/issues",
  115. "email": "mfornet94@gmail.com"
  116. },
  117. "devDependencies": {
  118. "@types/got": "^9.3.0",
  119. "@types/mocha": "^2.2.42",
  120. "@types/node": "^8.10.25",
  121. "tslint": "^5.8.0",
  122. "typescript": "^3.1.4",
  123. "vscode": "^1.1.25"
  124. },
  125. "dependencies": {
  126. "got": "^9.5.0",
  127. "jssoup": "0.0.10",
  128. "sync-request": "^6.0.0",
  129. "unescape": "^1.0.1"
  130. }
  131. }