-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
72 lines (72 loc) · 2.01 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
{
"name": "ebnf-language-support",
"displayName": "EBNF Language Support",
"description": "EBNF Language Support for Visual Studio Code",
"publisher": "devdoge1",
"version": "1.1.4",
"engines": {
"vscode": "^1.75.0"
},
"repository": {
"type": "git",
"url": "https://github.com/wiisportsresort/ebnf-language-support"
},
"scripts": {
"generate": "yq syntaxes/ebnf.YAML-tmLanguage -o=json -P > syntaxes/ebnf.tmLanguage.json",
"watch": "watchexec -w syntaxes -e YAML-tmLanguage -r \"yarn run generate\"",
"build": "vsce package",
"vscode:prepublish": "yarn run generate && yarn run compile",
"build-script": "esbuild --bundle --platform=node --format=esm --target=es2022 --sourcemap=inline --outfile=script.mjs",
"script": "yarn build-script $0 2>/dev/null && node --enable-source-maps script.mjs $*",
"compile": "esbuild --bundle --platform=node --format=cjs --target=es2022 --sourcemap=inline --outfile=out/extension.js --external:vscode extension/main.ts"
},
"categories": [
"Programming Languages"
],
"activationEvents": [],
"main": "./out/extension.js",
"icon": "assets/icon.png",
"galleryBanner": {
"color": "#282c34",
"theme": "dark"
},
"contributes": {
"languages": [
{
"id": "ebnf",
"aliases": [
"Extended Backus-Naur Form",
"ebnf"
],
"extensions": [
"ebnf"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "ebnf",
"scopeName": "source.ebnf",
"path": "./syntaxes/ebnf.tmLanguage.json"
}
]
},
"configurationDefaults": {
"[ebnf]": {
"editor.semanticHighlighting.enabled": true
}
},
"dependencies": {
"didyoumean": "^1.2.2"
},
"devDependencies": {
"@types/didyoumean": "^1.2.0",
"@types/node": "^18.13.0",
"@types/vscode": "^1.75.0",
"esbuild": "^0.17.6",
"typescript": "^4.9.5",
"yq": "^0.0.1"
},
"packageManager": "yarn@1.22.19"
}