mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
This fixes a warning about running on an unsupported TypeScript version. Also makes sure we do not lint any `.vscode-test` contents if they are present
73 lines
1.8 KiB
JSON
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.7.2",
|
|
"typescript-eslint": "^8.16.0"
|
|
}
|
|
}
|