mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +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
44 lines
1.0 KiB
JSON
44 lines
1.0 KiB
JSON
{
|
|
"name": "uri-handler-sample",
|
|
"publisher": "vscode-samples",
|
|
"description": "Uri Handler Sample",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.46.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:uri-handler-sample.start"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "uri-handler-sample.start",
|
|
"title": "Start handling Uris"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint src --ext ts",
|
|
"test": "node ./out/test/runTest.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/glob": "^7.1.3",
|
|
"@types/node": "^16.11.7",
|
|
"@types/vscode": "^1.46.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"@vscode/test-electron": "^1.6.1",
|
|
"eslint": "^8.26.0",
|
|
"glob": "^7.1.6",
|
|
"typescript": "^4.8.4"
|
|
}
|
|
}
|