-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
146 lines (146 loc) · 4.24 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": "vscode-wix-data-view",
"displayName": "Wix Data View",
"description": "Wix Data (CMS) client integrated into VSCode.",
"version": "0.0.2",
"publisher": "wix",
"icon": "assets/db_grey_256.png",
"engines": {
"vscode": "^1.91.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "git+https://github.com/wix-incubator/vscode-wix-data-view.git"
},
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "vscode-wix-data-view.refresh-collections",
"title": "Wix Data: Refresh Collections",
"icon": "$(refresh)"
},
{
"command": "vscode-wix-data-view.open-collection",
"title": "Wix Data: Open Collection",
"icon": "$(search)"
},
{
"command": "vscode-wix-data-view.configure-credentials",
"title": "Wix Data: Configure Credentials",
"icon": "$(gear)"
},
{
"command": "vscode-wix-data-view.new-query",
"title": "Wix Data: Write Query",
"icon": "$(search)"
},
{
"command": "vscode-wix-data-view.run-query",
"title": "Wix Data: Run Query",
"icon": "$(play)"
},
{
"command": "vscode-wix-data-view.copy-id",
"title": "Copy ID",
"icon": "$(clippy)"
}
],
"viewsContainers": {
"activitybar": [
{
"id": "vscode-wix-data-view",
"title": "Wix Data",
"icon": "./assets/db.svg"
}
]
},
"views": {
"vscode-wix-data-view": [
{
"id": "vscode-wix-data-view.collection-tree",
"name": "Collections",
"icon": "./assets/db.svg"
}
]
},
"menus": {
"view/title": [
{
"command": "vscode-wix-data-view.refresh-collections",
"when": "view == vscode-wix-data-view.collection-tree",
"group": "navigation"
},
{
"command": "vscode-wix-data-view.configure-credentials",
"when": "view == vscode-wix-data-view.collection-tree",
"group": "navigation"
}
],
"view/item/context": [
{
"command": "vscode-wix-data-view.open-collection",
"when": "view == vscode-wix-data-view.collection-tree && viewItem == collection",
"group": "inline"
},
{
"command": "vscode-wix-data-view.open-collection",
"when": "view == vscode-wix-data-view.collection-tree && viewItem == collection",
"title": "View Collection Data"
},
{
"command": "vscode-wix-data-view.copy-id",
"when": "view == vscode-wix-data-view.collection-tree && (viewItem == collection || viewItem == field)",
"title": "Copy ID"
}
],
"editor/title/run": [
{
"command": "vscode-wix-data-view.run-query",
"when": "resourceFilename =~ /\\.wdq\\.js$/",
"group": "navigation"
}
]
}
},
"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": "yarn run test-unit && yarn run test-extension",
"test-extension": "vscode-test --timeout 10000 --run ./out/test/extension.test.js",
"test-unit": "mocha -r ts-node/register test/**/*.spec.ts"
},
"devDependencies": {
"@types/lodash": "^4",
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.91.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"eslint": "^8.57.0",
"mocha": "^10.8.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"typescript": "^5.4.5",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@wix/data": "^1.0.121",
"@wix/sdk": "^1.12.8",
"@wix/wix-data-items-sdk": "^1.0.170",
"lodash": "^4.17.21"
}
}