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.

104 lines
2.4 KiB

4 years ago
  1. {
  2. "name": "ShuiShan",
  3. "publisher": "yuxinli",
  4. "displayName": "ShuiShan",
  5. "description": "online code",
  6. "version": "0.0.1",
  7. "icon": "images/shuishan.png",
  8. "engines": {
  9. "vscode": "^1.51.1"
  10. },
  11. "categories": [
  12. "Other"
  13. ],
  14. "activationEvents": [
  15. "onView:view.shuishan",
  16. "onCommand:ShuiShan.click",
  17. "onCommand:ShuiShan.helloWorld",
  18. "onCommand:ShuiShan.solveProblem",
  19. "onCommand:ShuiShan.compileSolution",
  20. "onCommand:ShuiShan.testSolution",
  21. "onCommand:ShuiShan.checkSolution",
  22. "onCommand:ShuiShan.submitSolution"
  23. ],
  24. "main": "./dist/extension.js",
  25. "contributes": {
  26. "viewsContainers": {
  27. "activitybar": [
  28. {
  29. "id":"shuishanView",
  30. "title":"水杉编程",
  31. "icon":"images/shuishan.png"
  32. }
  33. ]
  34. },
  35. "views": {
  36. "shuishanView":[
  37. {
  38. "id":"view.shuishan",
  39. "name":"Shuishan"
  40. }
  41. ]
  42. },
  43. "commands": [
  44. {
  45. "command": "ShuiShan.helloWorld",
  46. "title": "Hello World"
  47. },
  48. {
  49. "command": "ShuiShan.click",
  50. "title": "Show Problem"
  51. },
  52. {
  53. "command": "ShuiShan.solveProblem",
  54. "title": "Solve Problem"
  55. },
  56. {
  57. "command": "ShuiShan.compileSolution",
  58. "title": "Compile Solution"
  59. },
  60. {
  61. "command": "ShuiShan.testSolution",
  62. "title": "Test Solution"
  63. },
  64. {
  65. "command": "ShuiShan.checkSolution",
  66. "title": "Check Solution"
  67. },
  68. {
  69. "command": "ShuiShan.submitSolution",
  70. "title": "Submit Solution"
  71. }
  72. ]
  73. },
  74. "scripts": {
  75. "vscode:prepublish": "npm run package",
  76. "compile": "webpack --devtool nosources-source-map --config ./build/node-extension.webpack.config.js",
  77. "watch": "webpack --watch --devtool nosources-source-map --info-verbosity verbose --config ./build/node-extension.webpack.config.js",
  78. "package": "webpack --mode production --config ./build/node-extension.webpack.config.js",
  79. "test-compile": "tsc -p ./",
  80. "test-watch": "tsc -watch -p ./",
  81. "pretest": "npm run test-compile && npm run lint",
  82. "lint": "eslint src --ext ts",
  83. "test": "node ./out/test/runTest.js"
  84. },
  85. "devDependencies": {
  86. "@types/vscode": "^1.51.0",
  87. "@types/glob": "^7.1.3",
  88. "@types/mocha": "^8.0.0",
  89. "@types/node": "^12.11.7",
  90. "eslint": "^7.9.0",
  91. "@typescript-eslint/eslint-plugin": "^4.1.1",
  92. "@typescript-eslint/parser": "^4.1.1",
  93. "glob": "^7.1.6",
  94. "mocha": "^8.1.3",
  95. "typescript": "^4.0.2",
  96. "vscode-test": "^1.4.0",
  97. "ts-loader": "^8.0.3",
  98. "webpack": "^4.44.1",
  99. "webpack-cli": "^3.3.12"
  100. },
  101. "dependencies": {
  102. "axios": "^0.21.1"
  103. }
  104. }