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
55 lines
1.4 KiB
JSON
55 lines
1.4 KiB
JSON
{
|
|
"name": "vscode-authenticationprovider-sample",
|
|
"displayName": "AuthenticationProvider API Sample",
|
|
"description": "AuthenticationProvider API Sample",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.60.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onCommand:vscode-authenticationprovider-sample.login",
|
|
"onAuthenticationRequest:AzureDevOpsPAT"
|
|
],
|
|
"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 src --ext ts",
|
|
"test": "node ./out/test/runTest.js"
|
|
},
|
|
"devDependencies": {
|
|
"@types/glob": "^7.1.3",
|
|
"@types/isomorphic-fetch": "^0.0.35",
|
|
"@types/node": "^16.11.7",
|
|
"@types/vscode": "^1.60.0",
|
|
"@typescript-eslint/eslint-plugin": "^5.42.0",
|
|
"@typescript-eslint/parser": "^5.42.0",
|
|
"eslint": "^8.26.0",
|
|
"glob": "^7.1.7",
|
|
"typescript": "^4.8.4",
|
|
"vscode-test": "^1.5.2"
|
|
},
|
|
"dependencies": {
|
|
"isomorphic-fetch": "^3.0.0"
|
|
}
|
|
}
|