forked from lf-lang/vscode-lingua-franca
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
184 lines (184 loc) · 6.76 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
{
"name": "vscode-lingua-franca",
"displayName": "Lingua Franca",
"description": "Lingua Franca for Visual Studio Code. Provides lints, code completion and navigation, interactive diagrams, and more.",
"version": "0.5.1",
"publisher": "lf-lang",
"icon": "images/icon.png",
"license": "BSD-2-Clause",
"repository": {
"type": "git",
"url": "https://github.com/lf-lang/vscode-lingua-franca.git"
},
"bugs": {
"url": "https://github.com/lf-lang/vscode-lingua-franca/issues"
},
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"reactors",
"coordination",
"polyglot",
"concurrency",
"diagrams"
],
"extensionDependencies": [
"kieler.klighd-vscode"
],
"activationEvents": [
"onLanguage:lflang"
],
"main": "out/extension",
"contributes": {
"languages": [
{
"id": "lflang",
"aliases": [
"Lingua Franca"
],
"extensions": [
".lf"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "lflang",
"scopeName": "source.lf",
"path": "./syntaxes/lflang.tmLanguage.json",
"embeddedLanguages": {
"meta.embedded.block.c": "c",
"meta.embedded.block.cpp": "cpp",
"meta.embedded.block.py": "python",
"meta.embedded.block.ts": "typescript"
}
}
],
"semanticTokenScopes": [
{
"scopes": {
"type": [
"storage.type.lflang"
]
}
}
],
"commands": [
{
"command": "linguafranca.build",
"title": "Lingua Franca: Build"
},
{
"command": "linguafranca.buildAndRun",
"title": "Lingua Franca: Build and Run"
},
{
"command": "linguafranca.createNewFile",
"title": "New Lingua Franca File",
"shortTitle": "Lingua Franca File"
}
],
"configuration": {
"title": "LinguaFranca",
"properties": {
"linguafranca.generateCodeOnSave": {
"type": "boolean",
"default": true,
"description": "Generate code from the active Lingua Franca file when it is saved. This facilitates target language syntax checks."
},
"linguafranca.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable formatting for Lingua Franca source files."
}
}
},
"menus": {
"editor/title": [
{
"when": "resourceLangId == lflang",
"command": "klighd-vscode.diagram.open",
"group": "navigation"
}
],
"editor/context": [
{
"when": "resourceLangId == lflang",
"command": "klighd-vscode.diagram.open",
"group": "navigation"
}
],
"explorer/context": [
{
"when": "resourceLangId == lflang",
"command": "klighd-vscode.diagram.open",
"group": "navigation"
}
],
"file/newFile": [
{
"command": "linguafranca.createNewFile"
}
]
}
},
"devDependencies": {
"@types/chai": "^4.3.1",
"@types/chai-spies": "^1.0.0",
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.0",
"@types/rimraf": "^3.0.2",
"@types/vscode": "^1.49.0",
"@types/which": "^2.0.1",
"@vscode/test-electron": "^2.1.3",
"chai": "^4.3.4",
"chai-spies": "^1.0.0",
"colorette": "^2.0.16",
"commander": "^8.3.0",
"esbuild": "^0.14.2",
"glob": "^8.0.3",
"maven": "^5.0.0",
"mocha": "^10.0.0",
"move-cli": "^2.0.0",
"node": "^18.13.0",
"node-fetch": "^3.3.1",
"path": "^0.12.7",
"rimraf": "^3.0.2",
"simple-git": "^3.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.6.4",
"url-exist": "^3.0.0",
"vsce": "^2.15.0",
"vscode-oniguruma": "^1.7.0",
"vscode-textmate": "^9.0.0",
"which": "^2.0.2"
},
"dependencies": {
"vscode-languageclient": "^6.1.3"
},
"scripts": {
"clean": "rimraf out && rimraf lib && rimraf vscode-lingua-franca-*.vsix",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"compile": "npm run esbuild-base -- --sourcemap",
"watch": "npm run esbuild-base -- --sourcemap --watch",
"build": "npx ts-node src/build_lds.ts",
"compile-tests": "npx tsc --lib \"dom\" --outDir out/test --inlineSourceMap",
"package": "move-cli lingua-franca ../temp-lingua-franca89539275 && vsce package && move-cli ../temp-lingua-franca89539275 lingua-franca",
"package-pre-release": "move-cli lingua-franca ../temp-lingua-franca89539275 && vsce package --pre-release && move-cli ../temp-lingua-franca89539275 lingua-franca",
"deploy": "echo \"Y\r\n\" | code --install-extension vscode-lingua-franca-*.vsix --force",
"install": "npm run clean && npm run build && npm run package && npm run deploy",
"test": "npm run compile-tests && node ./out/test/test/test_runner.js --dependencies=present",
"test-dependencies-outdated": "npm run compile-tests && node ./out/test/test/test_runner.js --dependencies=outdated",
"test-dependencies-missing-basic": "npm run compile-tests && node ./out/test/test/test_runner.js --dependencies=missing0",
"test-dependencies-missing-extended": "npm run compile-tests && node ./out/test/test/test_runner.js --dependencies=missing1",
"test-syntax": "npm run compile-tests && npx mocha out/test/test/check_highlighting.test.js --ui tdd --reporter-option maxDiffSize=0",
"update-known-good": "rm -rf test/known-good && npm run compile-tests && npx mocha out/test/test/check_highlighting.test.js --ui tdd",
"amend-jar": "./uf.py"
}
}