-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
134 lines (134 loc) · 3.18 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
{
"name": "vscode-yext",
"displayName": "Yext",
"description": "Manage Yext Credentials",
"version": "0.0.2",
"publisher": "tatimblin",
"author": "Tristan Timblin",
"license": "ISC",
"repository": "https://github.com/tatimblin/vscode-yext",
"engines": {
"vscode": "^1.72.0",
"node": "^19.3.0"
},
"categories": [
"Other"
],
"keywords": [
"VS Code extension",
"Yext"
],
"main": "./out/main.js",
"scripts": {
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"build": "npm run esbuild-base -- --sourcemap",
"watch": "npm run esbuild-base -- --sourcemap --watch",
"vscode:prepublish": "npm run esbuild-base --minify"
},
"devDependencies": {
"@types/node": "^18.11.3",
"@types/vscode": "^1.72.0",
"esbuild": "^0.15.12",
"eslint": "^8.26.0",
"typescript": "^4.8.4"
},
"activationEvents": [
"workspaceContains:.yextrc",
"onView:yext-credentials"
],
"contributes": {
"commands": [
{
"command": "yext.init",
"title": "Add Credential",
"icon": "$(add)"
},
{
"command": "yext.credentials.delete",
"title": "Delete",
"icon": "$(trash)"
},
{
"command": "yext.writeYextRC",
"title": "Set as default",
"icon": "$(new-file)"
},
{
"command": "yext.credentials.signin",
"title": "Sign In (TODO)",
"icon": "$(sign-in)"
},
{
"command": "yext.credentials.refresh",
"title": "Refresh Credentials",
"icon": "$(refresh)"
},
{
"command": "yext.credentials.remote",
"title": "Go to account",
"icon": "$(globe)"
}
],
"configuration": {
"title": "Yext",
"properties": {
"yext.path": {
"type": "string",
"default": "/Users/ttimblin/.yext/",
"description": "Path to .yext/ directory"
}
}
},
"menus": {
"view/title": [
{
"command": "yext.init",
"when": "view == yext-credentials",
"group": "navigation"
},
{
"command": "yext.credentials.refresh",
"when": "view == yext-credentials",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "yext.credentials.signin",
"when": "viewItem == inactiveCredential",
"group": "inline"
},
{
"command": "yext.writeYextRC",
"when": "view == yext-credentials"
},
{
"command": "yext.credentials.delete",
"when": "view == yext-credentials"
},
{
"command": "yext.credentials.remote",
"when": "view == yext-credentials",
"group": "inline"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "yext-explorer",
"title": "Yext",
"icon": "assets/yext-logo.svg"
}
]
},
"views": {
"yext-explorer": [
{
"id": "yext-credentials",
"name": "Credentials"
}
]
}
}
}