mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
68 lines
1.7 KiB
JSON
68 lines
1.7 KiB
JSON
{
|
|
"name": "notifications-sample",
|
|
"displayName": "Notifications Sample",
|
|
"description": "Examples of notification types and various configurations",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.74.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "notifications-sample.showInfo",
|
|
"title": "Show Info Notification",
|
|
"category": "Notifications Sample"
|
|
},
|
|
{
|
|
"command": "notifications-sample.showInfoAsModal",
|
|
"title": "Show Info Notification As Modal",
|
|
"category": "Notifications Sample"
|
|
},
|
|
{
|
|
"command": "notifications-sample.showWarning",
|
|
"title": "Show Warning Notification",
|
|
"category": "Notifications Sample"
|
|
},
|
|
{
|
|
"command": "notifications-sample.showWarningWithActions",
|
|
"title": "Show Warning Notification With Actions",
|
|
"category": "Notifications Sample"
|
|
},
|
|
{
|
|
"command": "notifications-sample.showError",
|
|
"title": "Show Error Notification",
|
|
"category": "Notifications Sample"
|
|
},
|
|
{
|
|
"command": "notifications-sample.showProgress",
|
|
"title": "Show Progress Notification",
|
|
"category": "Notifications Sample"
|
|
},
|
|
{
|
|
"command": "notifications-sample.showAll",
|
|
"title": "Show All Notifications",
|
|
"category": "Notifications Sample"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/vscode": "^1.69.0",
|
|
"eslint": "^9.13.0",
|
|
"typescript": "^5.9.2",
|
|
"typescript-eslint": "^8.39.0"
|
|
}
|
|
} |