-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
54 lines (54 loc) · 1.39 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
{
"name": "vscode-bait",
"displayName": "bait",
"description": "Provides rich language support for the Bait Programming Language.",
"icon": "images/bait-logo.png",
"version": "0.6.0",
"license": "MPL-2.0",
"repository": {
"type": "git",
"url": "https://github.com/bait-lang/vscode-bait"
},
"publisher": "bait-lang",
"engines": {
"node": "16 || >=18",
"vscode": "^1.74.0",
"pnpm": ">=8"
},
"categories": [
"Programming Languages"
],
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "bait",
"extensions": [
".bt"
],
"configuration": "./out/language-configuration.json"
}
],
"grammars": [
{
"language": "bait",
"scopeName": "source.bait",
"path": "./out/bait.json"
}
]
},
"scripts": {
"compile": "bait --library -o out/extension.js src",
"test": "pnpm run convert-yaml && vscode-tmgrammar-test -g ./out/bait.json \"syntaxes/tests/*.bt\"",
"install-dev-ext": "pnpm run test && vsce package -o out/vscode-bait-dev.vsix && code --install-extension out/vscode-bait-dev.vsix --force",
"package": "vsce package",
"convert-yaml": "yaml2json language-configuration.yml syntaxes/bait.yaml-tmlanguage",
"vscode:prepublish": "pnpm run compile && pnpm run convert-yaml"
},
"devDependencies": {
"@serkonda7/yaml2json": "^0.9.0",
"@vscode/vsce": "~2.22.0",
"vscode-tmgrammar-test": "~0.1.1"
}
}