-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
148 lines (148 loc) · 4.16 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
{
"name": "apexlang",
"publisher": "apexlang",
"displayName": "Apex language support for VS Code",
"preview": false,
"private": false,
"description": "VS Code extension and language server for Apex",
"icon": "assets/images/logo.png",
"author": "Apex Authors",
"license": "Apache-2.0",
"version": "0.0.8",
"bugs": {
"url": "https://github.com/apexlang/vscode-extension/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/apexlang/vscode-extension"
},
"categories": [],
"keywords": [
"apex apexlang idl codegen"
],
"engines": {
"vscode": "^1.75.0"
},
"main": "./client/out/extension",
"contributes": {
"languages": [
{
"id": "apexlang",
"extensions": [
".apex",
".apexlang",
".apexidl",
".apexdef",
".aidl",
".axdl"
],
"icon": {
"light": "assets/icons/light.png",
"dark": "assets/icons/dark.png"
},
"aliases": [
"Apex",
"apex",
"apexlang"
],
"configuration": "./language/language-configuration.json"
}
],
"grammars": [
{
"language": "apexlang",
"path": "./grammars/apexlang.json",
"scopeName": "source.apexlang"
},
{
"injectTo": [
"source.js",
"source.ts",
"source.js.jsx",
"source.tsx",
"source.vue"
],
"scopeName": "inline.apexlang",
"path": "./grammars/apexlang.js.json",
"embeddedLanguages": {
"meta.embedded.block.apexlang": "apexlang"
}
},
{
"injectTo": [
"source.reason",
"source.ocaml"
],
"scopeName": "inline.apexlang.re",
"path": "./grammars/apexlang.re.json",
"embeddedLanguages": {
"meta.embedded.block.apex": "apexlang"
}
},
{
"injectTo": [
"source.rescript"
],
"scopeName": "inline.apexlang.res",
"path": "./grammars/apexlang.rescript.json",
"embeddedLanguages": {
"meta.embedded.block.apexlang": "apexlang"
}
},
{
"injectTo": [
"text.html.markdown"
],
"scopeName": "markdown.apexlang.codeblock",
"path": "./grammars/apexlang.markdown.codeblock.json",
"embeddedLanguages": {
"meta.embedded.block.apexlang": "apexlang"
}
}
],
"configuration": {
"type": "object",
"title": "Apex language",
"properties": {
"apexlang.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"apexlang.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"vscode:prepublish": "npm run esbuild-client-base -- --minify && npm run esbuild-server-base -- --minify",
"esbuild-client-base": "esbuild ./client/src/extension.ts --bundle --outfile=client/out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild-server-base": "esbuild ./server/src/server.ts --bundle --outfile=server/out/server.js --external:vscode --format=cjs --platform=node",
"esbuild-client": "npm run esbuild-client-base -- --sourcemap",
"esbuild-client-watch": "npm run esbuild-client-base -- --sourcemap --watch",
"watch": "npm run esbuild-client-base",
"test-compile": "tsc -p ./",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^14.18.29",
"@typescript-eslint/eslint-plugin": "^5.37.0",
"@typescript-eslint/parser": "^5.37.0",
"esbuild": "^0.15.7",
"eslint": "^8.23.1",
"mocha": "^10.0.0",
"typescript": "^4.8.3"
}
}