-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
178 lines (178 loc) · 5.62 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
{
"name": "al-id-range-manager",
"displayName": "AL ID Range Manager",
"description": "Manage your object ids in Microsoft Business Central.",
"publisher": "ARTAAAEfromCzechiaKeptycz",
"version": "0.7.0",
"icon": "resources/img/ALIDRangeManager.png",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:al-id-range-manager.initialize",
"onCommand:al-id-range-manager.synchronize",
"onCommand:al-id-range-manager.newObject",
"onCommand:al-id-range-manager.newObjectLine",
"onCommand:al-id-range-manager.switchObjectIDs",
"onLanguage:al"
],
"main": "./out/extension.js",
"repository": {
"url": "https://github.com/TKapitan/ALRM-VSCode"
},
"contributes": {
"configuration": {
"title": "ALRM: AL ID Range Manager",
"properties": {
"al-id-range-manager.apiType": {
"title": "API Type",
"type": "string",
"enum": [
"OnPrem",
"Cloud"
],
"markdownEnumDescriptions": [
"Requires **Base Url**",
"Requires **Environment** and **Tenant**"
],
"default": "OnPrem",
"markdownDescription": "Specifies the API type. **OnPrem** allows you to specify your own url in **Base Url**. Use **Cloud** in combination with **Oauth** authentication to connect to cloud BC.",
"order": 0
},
"al-id-range-manager.baseUrlWithoutVersion": {
"type": "string",
"title": "Base Url",
"default": "",
"markdownDescription": "Specifies the API Base URL without version (for example: https://{server}:{port}/{instance}/api/teamARTAAAE/extension/). Mandatory for **OnPrem** API.",
"order": 1
},
"al-id-range-manager.apiVersion": {
"title": "Version",
"type": "string",
"enum": [
"1.0",
"1.1"
],
"default": "1.1",
"description": "Specifies the API version. Select the highest available version installed on your server.",
"order": 2
},
"al-id-range-manager.tenant": {
"title": "Tenant",
"type": "string",
"default": "default",
"description": "Specifies the tenant on which the API is hosted.",
"order": 3
},
"al-id-range-manager.environment": {
"title": "Environment",
"type": "string",
"default": "",
"description": "Specifies the environment (instance) on which the API is hosted.",
"order": 4
},
"al-id-range-manager.companyId": {
"title": "Company Id",
"type": "string",
"default": "",
"description": "Specifies the ID of the company for API URL. If connecting to the instance's default company, the field can be blank.",
"order": 5
},
"al-id-range-manager.authenticationType": {
"title": "Authentication type",
"type": "string",
"enum": [
"Basic",
"Oauth"
],
"default": "Basic",
"markdownDescription": "Specifies the API authentication type. **Cloud** API supports **Oauth** only.",
"order": 6
},
"al-id-range-manager.username": {
"title": "Username",
"type": "string",
"default": "",
"markdownDescription": "Specifies the username used for API calls when using **OnPrem** API with **Basic** authentication.",
"order": 7
},
"al-id-range-manager.password": {
"title": "Password",
"type": "string",
"default": "",
"markdownDescription": "Specifies the password used for API calls when using **OnPrem** API with **Basic** authentication.",
"order": 8
},
"al-id-range-manager.snippets": {
"title": "Snippets",
"type": "string",
"enum": [
"Default",
"Waldo's CRS AL Language Snippets"
],
"default": "Default",
"description": "Snippets",
"order": 9
}
}
},
"commands": [
{
"command": "al-id-range-manager.initialize",
"title": "ALRM: Initialize"
},
{
"command": "al-id-range-manager.synchronize",
"title": "ALRM: Synchronize"
},
{
"command": "al-id-range-manager.newObject",
"title": "ALRM: New object"
},
{
"command": "al-id-range-manager.newObjectLine",
"title": "ALRM: New object extension field or value"
},
{
"command": "al-id-range-manager.switchObjectIDs",
"title": "ALRM: Switch object IDs"
},
{
"command": "al-id-range-manager.clearCredentials",
"title": "ALRM: Clear credentials (oauth)"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.19.5",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^4.9.1",
"@typescript-eslint/parser": "^4.9.1",
"eslint": "^7.15.0",
"glob": "^7.1.6",
"mocha": "^8.1.3",
"prettier": "^3.0.3",
"typescript": "^4.0.2",
"vsce": "^1.81.1",
"vscode-test": "^1.4.0"
},
"prettier": {},
"dependencies": {
"axios": "^0.21.4",
"replace-in-file": "^6.3.5",
"yarn": "^1.22.19"
}
}