Files
python-task-provider/package.json
T
2021-02-05 16:36:35 +11:00

58 lines
1.3 KiB
JSON

{
"name": "python-task-provider",
"displayName": "Python task provider",
"description": "Provide tasks for common Python code snippets into the VS Code tasks API",
"version": "0.0.1",
"engines": {
"vscode": "^1.52.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:workbench.action.tasks.runTask"
],
"main": "./out/extension.js",
"contributes": {
"taskDefinitions": [
{
"type": "setuptools",
"required": [
"task"
],
"properties": {
"task": {
"type": "string",
"description": "The setuptools command to customize"
},
"file": {
"type": "string",
"description": "The setup.py file path that provides the command. Can be omitted."
}
}
}
]
},
"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.52.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.11.7",
"eslint": "^7.9.0",
"@typescript-eslint/eslint-plugin": "^4.1.1",
"@typescript-eslint/parser": "^4.1.1",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"typescript": "^4.0.2",
"vscode-test": "^1.4.0"
}
}