-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
118 lines (118 loc) · 2.95 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
{
"name": "bamboo-pa-vscode",
"displayName": "Bamboo",
"publisher": "root16",
"repository": {
"url": "https://github.com/Root16/bamboo"
},
"description": "Allows users to create, update, and publish webresources on the Microsoft Power Platform straight from vscode",
"version": "0.2.3",
"icon": "resources/bamboo-green.png",
"engines": {
"vscode": "^1.61.0"
},
"categories": [
"Other"
],
"main": "./out/extension.js",
"activationEvents": [
"onStartupFinished",
"onCommand:extension.doThing"
],
"contributes": {
"configuration": {
"title": "Bamboo",
"properties": {
"bamboo.createWebResource.updateIfExists": {
"type": "boolean",
"default": false,
"description": "When creating a WebResource, override it's contents if it already exists"
},
"bamboo.createWebResource.askForName": {
"type": "boolean",
"default": false,
"description": "When creating a WebResource, manually enter the full name (path included) of the WebResource"
},
"bamboo.uploadWebResource.publishIfSuccessful": {
"type": "boolean",
"default": true,
"description": "When creating or updaing a WebResource, publish it."
},
"bamboo.general.listFilesOnStartup": {
"type": "boolean",
"default": false,
"description": "When the extension is loaded, list all files in the currently selected solution in the tree explorer"
}
}
},
"views": {
"explorer": [
{
"id": "webresourceTree",
"name": "WebResouces in Current Solution"
}
]
},
"commands": [
{
"command": "bamboo.updateFile",
"title": "Update webresource in Power Apps",
"category": "Bamboo"
},
{
"command": "bamboo.createAndUploadFile",
"title": "Create and upload webresource to Power Apps",
"category": "Bamboo"
},
{
"command": "bamboo.webresourceTree.refreshEntry",
"title": "Refresh",
"icon": {
"light": "resources/light/refresh.svg",
"dark": "resources/dark/refresh.svg"
}
}
],
"menus": {
"explorer/context": [
{
"command": "bamboo.updateFile",
"group": "navigation"
},
{
"command": "bamboo.createAndUploadFile",
"group": "navigation"
}
],
"view/title": [
{
"command": "bamboo.webresourceTree.refreshEntry",
"when": "view == webresourceTree",
"group": "navigation"
}
]
}
},
"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",
"package": "vsce package"
},
"devDependencies": {
"@types/vscode": "^1.61.0",
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "14.x",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"eslint": "^7.32.0",
"glob": "^7.1.7",
"mocha": "^9.1.1",
"typescript": "^4.4.3",
"@vscode/test-electron": "^1.6.2"
}
}