-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
146 lines (146 loc) · 4.91 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
{
"name": "saml-to-vscode",
"version": "0.1.14",
"displayName": "VSCode Extension for SAML.to",
"publisher": "saml-to",
"author": "SAML.to",
"license": "Apache-2.0",
"private": false,
"description": "Assume AWS Roles in VSCode using SAML.to",
"icon": "resources/marketplace/[email protected]",
"repository": {
"type": "git",
"url": "https://github.com/saml-to/vscode.git"
},
"bugs": {
"url": "https://github.com/saml-to/vscode/issues"
},
"homepage": "https://github.com/saml-to/vscode#readme",
"engines": {
"vscode": "^1.84.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "saml-to-vscode.assume-aws-role",
"title": "SAML.to: Assume AWS Role"
},
{
"command": "saml-to-vscode.stop-refresh",
"title": "SAML.to: Stop Refreshing Credentials"
}
],
"configuration": {
"title": "SAML.to",
"properties": {
"saml-to.github.token": {
"type": "string",
"default": null,
"markdownDescription": "Provide a GitHub Token instead of using VSCode Authentication. This token requires the `user:email` scope. (Overridden by the `GITHUB_TOKEN` environment variable.)"
},
"saml-to.assumeAws.assumeRoleAtStartup": {
"type": "boolean",
"default": true,
"markdownDescription": "Automatically attempt to assume a role at startup. If `assumeAws.role` or `assumeAws.rememberRole` is set, the role prompt will be skipped."
},
"saml-to.assumeAws.autoRefresh": {
"type": "boolean",
"default": true,
"description": "Automatically refresh the credentials before they expire."
},
"saml-to.assumeAws.region": {
"type": "string",
"default": "us-east-1",
"markdownDescription": "The AWS Default Region to set after assuming a role. (Overridden by the `AWS_DEFAULT_REGION` environment variable.)"
},
"saml-to.assumeAws.role": {
"type": "string",
"default": null,
"markdownDescription": "Skip role selection input and assume this role. (Overridden by the `AWS_ROLE_ARN` environment variable.)"
},
"saml-to.assumeAws.rememberRole": {
"type": "string",
"default": "None",
"enum": [
"Workspace",
"Global",
"None"
],
"markdownDescription": "Skip role selection input and assume the last role used. This is ignored when the `assumeAws.role` setting is set."
},
"saml-to.assumeAws.profile.name": {
"type": "string",
"default": "Role Name",
"enum": [
"Default Profile",
"Role ARN",
"Role Name",
"Account ID",
"None"
],
"enumDescriptions": [
"Use the \"default\" as the profile name.",
"Use the Role ARN as the profile name.",
"Use the Role Name as the profile name.",
"Use the Account ID as the profile name.",
"Do not save the credentials to a profile."
],
"markdownDescription": "Save AWS Credentials to a named profile in `~/.aws/config`. (Overridden by the `AWS_PROFILE` environment variable.)"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js",
"deploy": "vsce publish --yarn",
"openapi": "openapi-generator -g axios -i .scaffoldly/$NODE_ENV -o api -r github-sls-rest-api"
},
"devDependencies": {
"@scaffoldly/openapi-generator": "^2.0.0",
"@types/fs-extra": "^11.0.4",
"@types/humanize-duration": "^3.27.3",
"@types/ini": "^1.3.34",
"@types/mocha": "^10.0.3",
"@types/node": "18.x",
"@types/qrcode-svg": "^1.1.4",
"@types/qrcode-terminal": "^0.12.2",
"@types/vscode": "^1.84.0",
"@types/which": "^3.0.3",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@aws-sdk/client-sts": "^3.458.0",
"@octokit/rest": "^20.0.2",
"axios": "^1.6.2",
"fs-extra": "^11.2.0",
"humanize-duration": "^3.31.0",
"ini": "^4.1.1",
"qrcode-svg": "^1.1.0",
"which": "^4.0.0"
}
}