-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
68 lines (68 loc) · 1.88 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
{
"name": "p4-lang",
"displayName": "p4-lang",
"description": "p4 language support in vscode",
"version": "0.0.14",
"repository": "https://github.com/RabbitWhite1/p4-lang-vscode",
"publisher": "ZhanghanWang",
"engines": {
"vscode": "^1.42.0"
},
"icon": "images/p4-128x128.png",
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:p4"
],
"main": "./out/main.js",
"contributes": {
"languages": [
{
"id": "p4",
"aliases": [
"p4",
"p4"
],
"extensions": [
".p4"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "p4",
"scopeName": "source.p4",
"path": "./syntaxes/p4.tmLanguage.json"
}
]
},
"configurationDefaults": {
"p4": {
"editor.semanticHighlighting.enabled": true
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"convert_yaml": "npx js-yaml syntaxes/p4.tmLanguage.yaml > syntaxes/p4.tmLanguage.json",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./",
"antlr4ts": "antlr4ts -visitor ./src/grammar/P4.g4"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@types/vscode": "^1.42.0",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"eslint": "^7.21.0",
"typescript": "^4.2.2",
"antlr4": "^4.9.2",
"antlr4ts": "^0.5.0-alpha.4",
"antlr4ts-cli": "^0.5.0-alpha.4"
},
"dependencies": {
"antlr4ts": "^0.5.0-alpha.4"
}
}