package.json 3.5 KB

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