mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
This makes sure that if folks get a relatively recent `vscode.d.ts`. It also lets us safely bump up the target to es2024 so you can use all the latest lib additions
73 lines
1.5 KiB
JSON
73 lines
1.5 KiB
JSON
{
|
|
"name": "task-provider-samples",
|
|
"displayName": "Task Provider Samples",
|
|
"description": "Samples for VSCode's view API",
|
|
"version": "0.0.1",
|
|
"publisher": "vscode-samples",
|
|
"private": true,
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
},
|
|
"engines": {
|
|
"vscode": "^1.100.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."
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "custombuildscript",
|
|
"required": [
|
|
"flavor"
|
|
],
|
|
"properties": {
|
|
"flavor": {
|
|
"type": "string",
|
|
"description": "The build flavor. Should be either '32' or '64'."
|
|
},
|
|
"flags": {
|
|
"type": "array",
|
|
"description": "Additional build flags."
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -b",
|
|
"watch": "tsc -b -w"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/node": "^22",
|
|
"@types/vscode": "^1.100.0",
|
|
"eslint": "^9.13.0",
|
|
"typescript": "^5.9.2",
|
|
"typescript-eslint": "^8.39.0"
|
|
}
|
|
} |