mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-06-13 07:10:26 +08:00
Pick up latest eslint to avoid a nasty warning about using an unsupported version of TS Also updates the eslint script to be more scoped on which files it checks
51 lines
1.2 KiB
JSON
51 lines
1.2 KiB
JSON
{
|
|
"name": "extension-terminal-sample",
|
|
"displayName": "extension-terminal-sample",
|
|
"description": "An example usage of the extension terminal 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.39.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:extensionTerminalSample.create",
|
|
"onCommand:extensionTerminalSample.clear"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "extensionTerminalSample.create",
|
|
"title": "Extension Terminal Sample: Create"
|
|
},
|
|
{
|
|
"command": "extensionTerminalSample.clear",
|
|
"title": "Extension Terminal Sample: Clear"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"lint": "eslint \"src/**/*.ts\""
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^16.11.7",
|
|
"@types/vscode": "~1.39.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"eslint": "^8.26.0",
|
|
"typescript": "^4.8.4"
|
|
}
|
|
}
|