forked from StanislawSwierc/vscode-odata
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
166 lines (166 loc) · 4.52 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
{
"name": "vscode-odata",
"displayName": "vscode-odata",
"description": "OData query language support.",
"version": "0.1.1",
"publisher": "stansw",
"engines": {
"vscode": "^1.68.0"
},
"categories": [
"Programming Languages"
],
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/StanislawSwierc/vscode-odata.git"
},
"icon": "images/logo.png",
"activationEvents": [
"onLanguage:odata",
"onCommand:odata.combine",
"onCommand:odata.decode",
"onCommand:odata.encode",
"onCommand:odata.escape",
"onCommand:odata.open",
"onCommand:odata.unescape"
],
"main": "./dist/extension",
"contributes": {
"languages": [
{
"id": "odata",
"aliases": [
"OData",
"odata"
],
"extensions": [
".odata"
],
"configuration": "./odata.configuration.json"
}
],
"grammars": [
{
"language": "odata",
"scopeName": "source.odata",
"path": "./syntaxes/odata.json"
}
],
"configuration": {
"id": "odata",
"type": "object",
"title": "OData",
"properties": {
"odata.diagnostic.enable": {
"type": "boolean",
"default": false,
"description": "Enable/disable default OData diagnostic (requires restart)"
},
"odata.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable default OData formatter (requires restart)"
},
"odata.format.decode": {
"type": "boolean",
"default": true,
"description": "Enable/disable decoding as part of OData formatter (requires restart)"
},
"odata.format.syntax": {
"type": "boolean",
"default": false,
"description": "Enable/disable syntax-aware OData formatter (requires restart)"
},
"odata.metadata.map": {
"type": "array",
"description": "Associate OData metadata files in the current project and provide completion",
"default": [],
"items": {
"type": "object",
"properties": {
"url": {
"type": "string",
"default": "http://services.odata.org/V4/TripPinServiceRW",
"description": "A URL to OData endpoint."
},
"path": {
"type": "string",
"default": "/user.metadata.xml",
"description": "Absolute path to a local metadata file"
}
}
}
}
}
},
"commands": [
{
"command": "odata.combine",
"title": "OData: Combine"
},
{
"command": "odata.decode",
"title": "OData: Decode URI"
},
{
"command": "odata.encode",
"title": "OData: Encode URI"
},
{
"command": "odata.escape",
"title": "OData: Escape"
},
{
"command": "odata.unescape",
"title": "OData: Unescape"
},
{
"command": "odata.open",
"title": "OData: Open"
}
]
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "shx rm -rf ./out && npm run compile && shx cp -R ./src/test/fixtures/ ./out/src/test/fixtures/",
"test": "node ./out/src/test/runTests.js",
"pegjs": "node node_modules/pegjs/bin/pegjs --format umd -o ./src/odataParser.js ./src/odataParser.pegjs",
"test-compile": "tsc -p ./",
"vscode:prepublish": "npm run package",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"vsce": "vsce package",
"vsce-latest": "vsce package -o vscode-odata-latest.vsix"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/lodash": "^4.14.182",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.0",
"@types/vscode": "^1.68.1",
"@types/xmldoc": "^1.1.6",
"@vscode/test-electron": "^2.1.5",
"assert": "^2.0.0",
"constants": "^0.0.2",
"glob": "^8.0.3",
"mocha": "^10.0.0",
"pegjs": "^0.10.0",
"shx": "^0.3.4",
"stream": "^0.0.2",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"util": "^0.12.4",
"vsce": "^2.9.2",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
},
"dependencies": {
"fs-extra": "^10.1.0",
"lodash": "^4.17.21",
"xmldoc": "^1.1.4"
}
}