Files
vscode-extension-samples/notifications-sample/package.json
2025-03-03 09:59:28 -08:00

73 lines
1.8 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/glob": "^7.2.0",
"@types/node": "^20",
"@types/vscode": "^1.69.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^9.13.0",
"glob": "^8.0.3",
"typescript": "^5.8.2",
"typescript-eslint": "^8.26.0"
}
}