-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
192 lines (192 loc) · 4.81 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
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
{
"name": "op-vscode",
"displayName": "1Password",
"description": "Say goodbye to plaintext secrets in your code",
"version": "1.0.5",
"license": "MIT",
"publisher": "1Password",
"icon": "logo.png",
"main": "./dist/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/1Password/op-vscode"
},
"homepage": "https://github.com/1Password/op-vscode",
"qna": "https://developer.1password.com/docs/vscode",
"extensionKind": [
"ui"
],
"engines": {
"vscode": "^1.66.0",
"node": "^18.18.0"
},
"scripts": {
"build": "license-checker-rseidelsohn --direct --files licenses && cross-env NODE_ENV=production yarn compile",
"compile": "node -r esbuild-register compile.ts",
"eslint": "cross-env eslint -c .eslintrc.json \"src/**/*.ts\"",
"prepare": "husky install",
"prettier": "prettier --check src/",
"test": "jest",
"typecheck": "tsc --noEmit",
"vscode:prepublish": "yarn build",
"watch": "yarn compile --watch"
},
"keywords": [
"1password",
"secrets",
"security",
"json",
"yaml",
"dotenv"
],
"galleryBanner": {
"color": "#0a2d4d",
"theme": "dark"
},
"categories": [
"Other",
"Snippets"
],
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"command": "op-vscode.open1Password",
"title": "Open 1Password",
"category": "1Password"
},
{
"command": "op-vscode.chooseAccount",
"title": "Choose account",
"category": "1Password"
},
{
"command": "op-vscode.chooseVault",
"title": "Choose vault",
"category": "1Password"
},
{
"command": "op-vscode.getValueFromItem",
"title": "Get from 1Password",
"category": "1Password"
},
{
"command": "op-vscode.saveValueToItem",
"title": "Save in 1Password",
"category": "1Password"
},
{
"command": "op-vscode.createPassword",
"title": "Generate password",
"category": "1Password"
},
{
"command": "op-vscode.injectSecrets",
"title": "Preview with secrets",
"category": "1Password",
"icon": "$(unlock)"
},
{
"command": "op-vscode.openLogs",
"title": "Open logs",
"category": "1Password"
}
],
"configuration": [
{
"type": "object",
"title": "1Password",
"id": "1password",
"properties": {
"1password.items.cacheValues": {
"order": 1,
"type": "boolean",
"default": true,
"markdownDescription": "Use CLI cache when performing operations. Learn more about [caching](https://developer.1password.com/docs/cli/reference#cache-item-and-vault-information)."
},
"1password.items.passwordRecipe": {
"order": 2,
"type": "string",
"default": "letters,digits,symbols,32",
"markdownDescription": "The recipe to use when generating passwords. Learn more about [password recipes](https://developer.1password.com/docs/cli/reference/management-commands/item#generate-a-password)."
},
"1password.items.useSecretReferences": {
"order": 3,
"type": "boolean",
"default": true,
"markdownDescription": "Use secret reference syntax for storing and retrieving values. Learn more about [secret references](https://developer.1password.com/docs/cli/secrets-reference-syntax)."
},
"1password.editor.suggestStorage": {
"order": 4,
"type": "boolean",
"default": true,
"description": "Suggest storing a value when it looks like a secret."
},
"1password.debug.enabled": {
"order": 5,
"type": "boolean",
"default": false,
"description": "Log debugger data. Reload required."
}
}
}
],
"menus": {
"editor/title": [
{
"when": "op-vscode.injectable == true",
"command": "op-vscode.injectSecrets",
"group": "navigation"
}
]
},
"snippets": [
{
"path": "./src/op-vscode.code-snippets"
}
]
},
"prettier": "@1password/prettier-config",
"lint-staged": {
"src/**/*": [
"prettier --write"
],
"src/**/*.ts": [
"eslint -c .eslintrc.json --fix"
]
},
"dependencies": {
"@1password/op-js": "^0.1.13",
"json-to-ast": "^2.1.0",
"open": "^8.4.0",
"timeago.js": "^4.0.2",
"yaml-ast-parser": "^0.0.43"
},
"devDependencies": {
"@1password/eslint-config": "^4.3.0",
"@1password/prettier-config": "^1.1.3",
"@types/jest": "^27.4.1",
"@types/json-to-ast": "^2.1.2",
"@types/node": "20.8.6",
"@types/uuid": "^9.0.1",
"@types/vscode": "^1.66.0",
"@typescript-eslint/eslint-plugin": "^7.10.0",
"cross-env": "^7.0.3",
"esbuild": "^0.21.3",
"esbuild-register": "^3.5.0",
"eslint": "^8.57.0",
"fishery": "^2.2.2",
"husky": "^9.0.11",
"jest": "^27.5.1",
"license-checker-rseidelsohn": "^4.3.0",
"lint-staged": "^15.2.4",
"prettier": "^3.2.5",
"prettier-plugin-organize-imports": "^3.2.4",
"ts-jest": "^29.1.3",
"typescript": "^5.4.5",
"uuid": "^9.0.0",
"yaml": "^2.3.1"
}
}