mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
88 lines
2.1 KiB
JSON
88 lines
2.1 KiB
JSON
{
|
|
"name": "pikapython",
|
|
"displayName": "PikaPython",
|
|
"description": "PikaPython Vscode extension",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.80.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"*"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"configuration": {
|
|
"title": "PikaPython",
|
|
"properties": {
|
|
"pikapython.executablePath": {
|
|
"type": "string",
|
|
"default": "../PikaPython-win32.exe",
|
|
"description": "Path to the PikaPython executable."
|
|
},
|
|
"pikapython.precompilerPath": {
|
|
"type": "string",
|
|
"default": "./rust-msc-latest-win10.exe",
|
|
"description": "Path to the PikaPython precompiler executable."
|
|
}
|
|
}
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "PikaPython.sayHello",
|
|
"title": "sayHello"
|
|
},
|
|
{
|
|
"command": "extension.newFile",
|
|
"title": "newFile"
|
|
},
|
|
{
|
|
"command": "extension.runProgram",
|
|
"title": "runProgram"
|
|
},
|
|
{
|
|
"command": "extension.stopProgram",
|
|
"title": "stopProgram"
|
|
},
|
|
{
|
|
"command": "extension.runSelectedText",
|
|
"title": "Run Selected Text with PikaPython"
|
|
},
|
|
{
|
|
"command": "extension.runLine",
|
|
"title": "Run Line"
|
|
}
|
|
],
|
|
"menus": {
|
|
"editor/context": [
|
|
{
|
|
"command": "extension.runSelectedText",
|
|
"when": "editorTextFocus"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint src --ext ts",
|
|
"test": "node ./out/test/runTest.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.80.0",
|
|
"@types/glob": "^8.1.0",
|
|
"@types/mocha": "^10.0.1",
|
|
"@types/node": "20.2.5",
|
|
"@typescript-eslint/eslint-plugin": "^5.59.8",
|
|
"@typescript-eslint/parser": "^5.59.8",
|
|
"eslint": "^8.41.0",
|
|
"glob": "^8.1.0",
|
|
"mocha": "^10.2.0",
|
|
"typescript": "^5.1.3",
|
|
"@vscode/test-electron": "^2.3.2"
|
|
}
|
|
} |