mirror of
https://github.com/microsoft/vscode-extension-samples.git
synced 2026-04-27 16:55:44 +08:00
Switches all samples to use eslint 9 with flat configs. I've tried to migrate existing settings as much as possible. However our eslint configs were also inconsistent so I've tried to align these too
52 lines
1.2 KiB
JSON
52 lines
1.2 KiB
JSON
{
|
|
"name": "vscode-authenticationprovider-sample",
|
|
"displayName": "AuthenticationProvider API Sample",
|
|
"description": "AuthenticationProvider API Sample",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.74.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "vscode-authenticationprovider-sample.login",
|
|
"title": "Login with Azure DevOps"
|
|
}
|
|
],
|
|
"authentication": [
|
|
{
|
|
"id": "azuredevopspat",
|
|
"label": "Azure DevOps PAT"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint",
|
|
"test": "node ./out/test/runTest.js"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.13.0",
|
|
"@stylistic/eslint-plugin": "^2.9.0",
|
|
"@types/glob": "^7.1.3",
|
|
"@types/isomorphic-fetch": "^0.0.35",
|
|
"@types/node": "^20",
|
|
"@types/vscode": "^1.60.0",
|
|
"eslint": "^9.13.0",
|
|
"glob": "^7.1.7",
|
|
"typescript": "^5.6.2",
|
|
"typescript-eslint": "^8.11.0"
|
|
},
|
|
"dependencies": {
|
|
"isomorphic-fetch": "^3.0.0"
|
|
}
|
|
}
|