2022-07-28 14:48:13 -07:00
|
|
|
{
|
|
|
|
|
"name": "notifications-sample",
|
|
|
|
|
"displayName": "Notifications Sample",
|
|
|
|
|
"description": "Examples of notification types and various configurations",
|
|
|
|
|
"version": "0.0.1",
|
|
|
|
|
"engines": {
|
|
|
|
|
"vscode": "^1.69.0"
|
|
|
|
|
},
|
|
|
|
|
"categories": [
|
|
|
|
|
"Other"
|
|
|
|
|
],
|
|
|
|
|
"activationEvents": [
|
|
|
|
|
"onCommand:notifications-sample.showInfo",
|
2022-07-28 15:27:06 -07:00
|
|
|
"onCommand:notifications-sample.showInfoAsModal",
|
2022-07-28 14:48:13 -07:00
|
|
|
"onCommand:notifications-sample.showWarning",
|
2022-07-28 15:08:17 -07:00
|
|
|
"onCommand:notifications-sample.showWarningWithActions",
|
2022-07-28 14:48:13 -07:00
|
|
|
"onCommand:notifications-sample.showError",
|
2022-07-29 10:21:21 -07:00
|
|
|
"onCommand:notifications-sample.showProgress",
|
|
|
|
|
"onCommand:notifications-sample.showAll"
|
|
|
|
|
|
2022-07-28 14:48:13 -07:00
|
|
|
],
|
|
|
|
|
"main": "./out/extension.js",
|
|
|
|
|
"contributes": {
|
|
|
|
|
"commands": [
|
|
|
|
|
{
|
|
|
|
|
"command": "notifications-sample.showInfo",
|
|
|
|
|
"title": "Show Info Notification",
|
|
|
|
|
"category": "Notifications Sample"
|
|
|
|
|
},
|
2022-07-28 15:27:06 -07:00
|
|
|
{
|
|
|
|
|
"command": "notifications-sample.showInfoAsModal",
|
|
|
|
|
"title": "Show Info Notification As Modal",
|
|
|
|
|
"category": "Notifications Sample"
|
|
|
|
|
},
|
2022-07-28 14:48:13 -07:00
|
|
|
{
|
|
|
|
|
"command": "notifications-sample.showWarning",
|
|
|
|
|
"title": "Show Warning Notification",
|
|
|
|
|
"category": "Notifications Sample"
|
|
|
|
|
},
|
2022-07-28 15:08:17 -07:00
|
|
|
{
|
|
|
|
|
"command": "notifications-sample.showWarningWithActions",
|
|
|
|
|
"title": "Show Warning Notification With Actions",
|
|
|
|
|
"category": "Notifications Sample"
|
|
|
|
|
},
|
2022-07-28 14:48:13 -07:00
|
|
|
{
|
|
|
|
|
"command": "notifications-sample.showError",
|
|
|
|
|
"title": "Show Error Notification",
|
|
|
|
|
"category": "Notifications Sample"
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "notifications-sample.showProgress",
|
|
|
|
|
"title": "Show Progress Notification",
|
|
|
|
|
"category": "Notifications Sample"
|
2022-07-29 10:21:21 -07:00
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"command": "notifications-sample.showAll",
|
|
|
|
|
"title": "Show All Notifications",
|
|
|
|
|
"category": "Notifications Sample"
|
2022-07-28 14:48:13 -07:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
|
|
|
|
"vscode:prepublish": "npm run compile",
|
|
|
|
|
"compile": "tsc -p ./",
|
|
|
|
|
"watch": "tsc -watch -p ./",
|
|
|
|
|
"pretest": "npm run compile && npm run lint",
|
2022-07-28 16:47:55 -07:00
|
|
|
"lint": "eslint src --ext ts"
|
2022-07-28 14:48:13 -07:00
|
|
|
},
|
|
|
|
|
"devDependencies": {
|
|
|
|
|
"@types/vscode": "^1.69.0",
|
|
|
|
|
"@types/glob": "^7.2.0",
|
|
|
|
|
"@types/node": "16.x",
|
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.27.0",
|
|
|
|
|
"@typescript-eslint/parser": "^5.27.0",
|
|
|
|
|
"eslint": "^8.16.0",
|
|
|
|
|
"glob": "^8.0.3",
|
2022-09-27 15:01:41 -07:00
|
|
|
"typescript": "^4.8.4",
|
2022-07-28 14:48:13 -07:00
|
|
|
"@vscode/test-electron": "^2.1.3"
|
|
|
|
|
}
|
|
|
|
|
}
|