mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Fixes #180 Changes from using `vscode` to `@types/vscode` for the majority of extension samples. The `@types/vscode` package is much smaller and does not pull in any dependencies. Other changes: - Remove so empty test files - Bump engine versions to match @types/vscode versions - Use `npm run compile` for most `vscode:prepublish` scripts
49 lines
950 B
JSON
49 lines
950 B
JSON
{
|
|
"name": "task-provider-samples",
|
|
"displayName": "Task Provider Samples",
|
|
"description": "Samples for VSCode's view API",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode-samples",
|
|
"engines": {
|
|
"vscode": "^1.32.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:workbench.action.tasks.runTask"
|
|
],
|
|
"main": "./out/extension",
|
|
"contributes": {
|
|
"taskDefinitions": [
|
|
{
|
|
"type": "rake",
|
|
"required": [
|
|
"task"
|
|
],
|
|
"properties": {
|
|
"task": {
|
|
"type": "string",
|
|
"description": "The Rake task to customize"
|
|
},
|
|
"file": {
|
|
"type": "string",
|
|
"description": "The Rake file that provides the task. Can be omitted."
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -b",
|
|
"watch": "tsc -b -w"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^8.0.0",
|
|
"tslint": "^5.11.0",
|
|
"typescript": "^3.1.3",
|
|
"@types/vscode": "^1.32.0"
|
|
}
|
|
}
|