-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
111 lines (111 loc) · 3.29 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
{
"name": "bbnf-language-support",
"displayName": "BBNF Language Support",
"version": "0.0.9",
"description": "Formatting, intellisense, and syntax highlighting for BBNF lang.",
"icon": "icons/bbnf.png",
"repository": {
"type": "git",
"url": "https://github.com/mkbabb/bbnf-language-support"
},
"author": "@mkbabb",
"publisher": "mkbabb",
"keywords": [
"multi-root ready"
],
"categories": [
"Programming Languages",
"Formatters",
"Extension Packs"
],
"engines": {
"vscode": "^1.6.0"
},
"main": "./client/out/extension",
"activationEvents": [
"onLanguage:bbnf"
],
"contributes": {
"configuration": {
"type": "object",
"title": "BBNF configuration",
"properties": {
"BBNF.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable the BBNF language support."
},
"BBNF.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable the BBNF formatter."
},
"BBNF.maxNumberOfProblems": {
"type": "number",
"default": 100,
"description": "Maximum number of problems to show in the Problems pane."
}
}
},
"languages": [
{
"id": "bbnf",
"aliases": [
"BBNF",
"bbnf"
],
"extensions": [
".bbnf"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./icons/bbnf.png",
"dark": "./icons/bbnf.png"
}
}
],
"grammars": [
{
"language": "bbnf",
"scopeName": "source.bbnf",
"path": "./syntaxes/bbnf.tmLanguage.json"
},
{
"injectTo": [
"source.bbnf"
],
"scopeName": "inline.inlineLanguageString",
"path": "./syntaxes/inlineLanguageString.tmLanguage.json"
}
],
"commands": [
{
"command": "extension.testGrammar",
"title": "BBNF test grammar"
}
]
},
"scripts": {
"test": "vitest",
"build:client": "vite build --mode client",
"build:server": "vite build --mode server",
"build": "npm run build:client && npm run build:server"
},
"dependencies": {
"@mkbabb/parse-that": "github:mkbabb/parse-that",
"prettier": "^2.8.4",
"chalk": "^4.1.2"
},
"devDependencies": {
"@rollup/plugin-commonjs": "^24.0.1",
"@rollup/plugin-node-resolve": "^15.0.1",
"@types/node": "^18.14.2",
"@types/prettier": "^2.7.2",
"@types/vscode": "^1.6.0",
"@vscode/test-electron": "^2.3.0",
"typescript": "^4.9.5",
"vite": "^4.1.4",
"vite-plugin-dts": "^2.0.2",
"vitest": "^0.29.2"
}
}