forked from netsuite-upload-org/netsuite-upload
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
214 lines (214 loc) · 6.11 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
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
{
"name": "netsuite-upload",
"displayName": "NetSuite Upload",
"description": "Upload and download NetSuite SuiteScript files and folders.",
"version": "1.2.4",
"publisher": "nsupload-org",
"engines": {
"vscode": "^1.22.2"
},
"categories": [
"Other"
],
"homepage": "https://github.com/netsuite-upload-org/netsuite-upload",
"repository": {
"type": "git",
"url": "https://github.com/netsuite-upload-org/netsuite-upload"
},
"icon": "img/icon.png",
"keywords": [
"netsuite",
"netsuite upload",
"netsuite download",
"netsuite sync"
],
"activationEvents": [
"onCommand:netsuite-upload.downloadFile",
"onCommand:netsuite-upload.uploadFile",
"onCommand:netsuite-upload.deleteFile",
"onCommand:netsuite-upload.previewFile",
"onCommand:netsuite-upload.uploadFolder",
"onCommand:netsuite-upload.downloadFolder",
"onCommand:netsuite-upload.addCustomDependency",
"onCommand:netsuite-upload.addNSDependency",
"onCommand:netsuite-upload.getRestletVersion"
],
"main": "./extension",
"contributes": {
"configuration": {
"type": "object",
"title": "NetSuite Connection Configuration",
"properties": {
"netSuiteUpload.authentication": {
"type": "string",
"description": "NLAuth-style authentication header. To use OAuth instead, leave this unset."
},
"netSuiteUpload.restlet": {
"type": "string",
"description": "Restlet URL. After you deploy the vscodeExtensionRestlet.js, set this to the Script Deployment External URL."
},
"netSuiteUpload.tempFolder": {
"type": "string",
"description": "Temporary folder (e.g. C:\\temp or /tmp). Used during diff comparisons between local and remote files."
},
"netSuiteUpload.netSuiteKey": {
"type": "string",
"description": "OAuth NetSuite Token ID"
},
"netSuiteUpload.netSuiteSecret": {
"type": "string",
"description": "OAuth NetSuite Token Secret"
},
"netSuiteUpload.consumerToken": {
"type": "string",
"description": "OAuth NetSuite Consumer Key"
},
"netSuiteUpload.consumerSecret": {
"type": "string",
"description": "OAuth NetSuite Consumer Secret"
},
"netSuiteUpload.realm": {
"type": "string",
"description": "Your NetSuite numeric account number (used for OAuth 'realm' parameter)"
},
"netSuiteUpload.rootDirectory": {
"type": "string",
"description": "NetSuite File Cabinet SuiteScripts sub-folder path to upload to. Defaults to 'SuiteScripts' if not set."
}
}
},
"commands": [
{
"command": "netsuite-upload.downloadFile",
"title": "Pull file from NetSuite",
"category": "NetSuite"
},
{
"command": "netsuite-upload.previewFile",
"title": "Compare file with NetSuite",
"category": "NetSuite"
},
{
"command": "netsuite-upload.uploadFile",
"title": "Push file to NetSuite",
"category": "NetSuite"
},
{
"command": "netsuite-upload.deleteFile",
"title": "Delete file in NetSuite",
"category": "NetSuite"
},
{
"command": "netsuite-upload.uploadFolder",
"title": "Push folder to NetSuite",
"category": "NetSuite"
},
{
"command": "netsuite-upload.downloadFolder",
"title": "Pull folder from NetSuite",
"category": "NetSuite"
},
{
"command": "netsuite-upload.addCustomDependency",
"title": "Add Custom Dependency",
"category": "NetSuite"
},
{
"command": "netsuite-upload.addNSDependency",
"title": "Add NetSuite Dependency",
"category": "NetSuite"
},
{
"command": "netsuite-upload.getRestletVersion",
"title": "Get RESTlet version",
"category": "NetSuite"
}
],
"menus": {
"editor/context": [
{
"command": "netsuite-upload.downloadFile",
"group": "netsuite"
},
{
"command": "netsuite-upload.uploadFile",
"group": "netsuite"
},
{
"command": "netsuite-upload.previewFile",
"group": "netsuite"
}
],
"explorer/context": [
{
"when": "!explorerResourceIsFolder",
"command": "netsuite-upload.downloadFile",
"group": "netsuite"
},
{
"when": "!explorerResourceIsFolder",
"command": "netsuite-upload.previewFile",
"group": "netsuite"
},
{
"when": "!explorerResourceIsFolder",
"command": "netsuite-upload.uploadFile",
"group": "netsuite"
},
{
"when": "!explorerResourceIsFolder",
"command": "netsuite-upload.deleteFile",
"group": "netsuite"
},
{
"when": "explorerResourceIsFolder",
"command": "netsuite-upload.uploadFolder",
"group": "netsuite"
},
{
"when": "explorerResourceIsFolder",
"command": "netsuite-upload.downloadFolder",
"group": "netsuite"
}
]
},
"keybindings": [
{
"command": "netsuite-upload.downloadFile",
"key": "ctrl+n ctrl+d"
},
{
"command": "netsuite-upload.uploadFile",
"key": "ctrl+n ctrl+u"
}
],
"snippets": [
{
"language": "javascript",
"path": "./snippets/snippets.json"
}
]
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"@types/node": "^12.6.8",
"eslint": "^6.1.0",
"mocha": "^6.2.0",
"typescript": "^3.5.3",
"vscode": "^1.1.35",
"webpack": "^4.38.0",
"webpack-cli": "^3.3.6"
},
"dependencies": {
"compare-versions": "^3.5.0",
"crypto": "1.0.1",
"esprima": "4.0.1",
"estraverse": "4.2.0",
"oauth-1.0a": "^2.2.6",
"superagent": "^5.1.0",
"underscore": "1.9.1"
}
}