package.json 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. {
  2. "name": "pikapython",
  3. "displayName": "PikaPython",
  4. "description": "PikaPython Vscode extension",
  5. "version": "0.0.1",
  6. "engines": {
  7. "vscode": "^1.80.0"
  8. },
  9. "categories": [
  10. "Other"
  11. ],
  12. "activationEvents": [
  13. "*"
  14. ],
  15. "main": "./out/extension.js",
  16. "contributes": {
  17. "configuration": {
  18. "title": "PikaPython",
  19. "properties": {
  20. "pikapython.executablePath": {
  21. "type": "string",
  22. "default": "../PikaPython-win32.exe",
  23. "description": "Path to the PikaPython executable."
  24. },
  25. "pikapython.precompilerPath": {
  26. "type": "string",
  27. "default": "./rust-msc-latest-win10.exe",
  28. "description": "Path to the PikaPython precompiler executable."
  29. }
  30. }
  31. },
  32. "commands": [
  33. {
  34. "command": "PikaPython.sayHello",
  35. "title": "sayHello"
  36. },
  37. {
  38. "command": "extension.newFile",
  39. "title": "newFile"
  40. },
  41. {
  42. "command": "extension.runProgram",
  43. "title": "runProgram"
  44. },
  45. {
  46. "command": "extension.stopProgram",
  47. "title": "stopProgram"
  48. },
  49. {
  50. "command": "extension.runSelectedText",
  51. "title": "Run Selected Text with PikaPython"
  52. },
  53. {
  54. "command": "extension.runLine",
  55. "title": "Run Line"
  56. }
  57. ],
  58. "menus": {
  59. "editor/context": [
  60. {
  61. "command": "extension.runSelectedText",
  62. "when": "editorTextFocus"
  63. }
  64. ]
  65. }
  66. },
  67. "scripts": {
  68. "vscode:prepublish": "npm run compile",
  69. "compile": "tsc -p ./",
  70. "watch": "tsc -watch -p ./",
  71. "pretest": "npm run compile && npm run lint",
  72. "lint": "eslint src --ext ts",
  73. "test": "node ./out/test/runTest.js"
  74. },
  75. "devDependencies": {
  76. "@types/vscode": "^1.80.0",
  77. "@types/glob": "^8.1.0",
  78. "@types/mocha": "^10.0.1",
  79. "@types/node": "20.2.5",
  80. "@typescript-eslint/eslint-plugin": "^5.59.8",
  81. "@typescript-eslint/parser": "^5.59.8",
  82. "eslint": "^8.41.0",
  83. "glob": "^8.1.0",
  84. "mocha": "^10.2.0",
  85. "typescript": "^5.1.3",
  86. "@vscode/test-electron": "^2.3.2"
  87. }
  88. }