-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
132 lines (132 loc) · 3.87 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
{
"name": "vsc-drama-support",
"displayName": "DRAMA support",
"description": "Adds support for the DRAMA language, currently adds a formatter & syntax highlighting",
"version": "0.0.4",
"engines": {
"vscode": "^1.76.0"
},
"categories": [
"Programming Languages",
"Formatters"
],
"publisher": "MV-GH",
"icon": "./media/upscaled_drama.jpg",
"repository": {
"type": "git",
"url": "https://github.com/MV-GH/vsc-drama-support"
},
"bugs": "https://github.com/MV-GH/vsc-drama-support/issues",
"scripts": {
"antlr4-gen": "antlr4 -v 4.12.0 -Dlanguage=TypeScript -o src/antlr grammars/DRAMA_Lexer.g4 -no-listener -visitor && antlr4 -v 4.12.0 -Dlanguage=TypeScript -lib ./src/antlr -o src/antlr grammars/drama.g4 -no-listener -visitor",
"test_antlr4": "antlr4-parse -v 4.12.0 ./grammars/DRAMA_Lexer.g4 ./grammars/drama.g4 start -gui ./testfiles/valid/test01.dra",
"antlr4-tests": "node ./src/test/antlr/grammar_tests.mjs",
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile",
"test": "node ./out/test/runTest.js",
"test-cyclic-dep": "madge --circular --extensions ts ./"
},
"main": "./dist/extension.js",
"contributes": {
"languages": [
{
"id": "drama",
"aliases": [
"DRAMA",
"drama"
],
"extensions": [
".dra"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./media/DramaIcon.gif",
"dark": "./media/DramaIcon.gif"
}
}
],
"grammars": [
{
"language": "drama",
"scopeName": "source.dra",
"path": "./syntaxes/drama.tmLanguage.json"
}
],
"configuration": {
"title": "DRAMA Support",
"properties": {
"drama.casing.keyword": {
"type": "string",
"enum": [
"To upper",
"To lower",
"Do not change"
],
"default": "To upper",
"description": "(Un)capitalizes or do no change all the keywords."
},
"drama.casing.label": {
"type": "string",
"enum": [
"To upper",
"To lower",
"Do not change"
],
"default": "To lower",
"description": "(Un)capitalizes or do no change all the labels."
},
"drama.alignment.label": {
"type": "string",
"enum": [
"Left",
"Center",
"Right"
],
"default": "Right",
"description": "Pads labels to the left/center/right."
},
"drama.alignment.comment": {
"type": "string",
"enum": [
"Start",
"Instruction",
"End"
],
"default": "Instruction",
"description": "Pads comment only lines, to start either at the Start of a line; at Instruction position or at End of line."
},
"drama.multipleLabelLayer": {
"type": "boolean",
"default": false,
"description": "[TODO] Label only lines cause a label indentation."
}
}
},
"configurationDefaults": {
"[drama]": {
"editor.guides.indentation": false
}
}
},
"dependencies": {},
"devDependencies": {
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.76.0",
"@vscode/test-electron": "^2.2.3",
"antlr4": "^4.12.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"ts-loader": "^9.4.2",
"typescript": "^4.9.5",
"webpack": "^5.75.0",
"webpack-cli": "^5.0.1",
"madge": "^6.0.0"
}
}