-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
127 lines (127 loc) · 4.18 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
{
"name": "raise",
"displayName": "RAISE",
"description": "Support for the RAISE Specification Language",
"publisher": "janaszkiewicz-dtu",
"repository": "https://github.com/JakuJ/raise-vscode",
"license": "MIT",
"version": "0.3.0",
"icon": "icon.png",
"main": "./out/extension.js",
"activationEvents": [
"onLanguage:rsl"
],
"engines": {
"vscode": "^1.59.0"
},
"categories": [
"Programming Languages",
"Formatters"
],
"contributes": {
"languages": [
{
"id": "rsl",
"aliases": [
"RSL",
"rsl"
],
"extensions": [
".rsl"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "rsl",
"scopeName": "source.rsl",
"path": "./syntaxes/rsl.tmLanguage.json"
}
],
"snippets": [
{
"language": "rsl",
"path": "./snippets/rsl.json"
}
],
"commands": [
{
"command": "raise.typeCheck",
"title": "RAISE: Typecheck"
},
{
"command": "raise.compileToSML",
"title": "RAISE: Compile to SML"
},
{
"command": "raise.runSML",
"title": "RAISE: Run SML"
},
{
"command": "raise.saveResults",
"title": "RAISE: Save Results"
}
],
"configuration": {
"title": "RAISE",
"properties": {
"raise.commands.typecheck": {
"type": "string",
"default": "rsltc",
"description": "Specifies which command to call to typecheck a file."
},
"raise.commands.compile": {
"type": "string",
"default": "rsltc -m",
"description": "Specifies which command to call to compile an RSL file to SML."
},
"raise.commands.execute": {
"type": "string",
"default": "sml <",
"description": "Specifies which command to call to execute an SML file. Make sure this command terminates."
},
"raise.commands.format": {
"type": "string",
"default": "rsltc -pl 80",
"description": "Specifies which command to call to pretty-print an RSL file."
},
"raise.format.enable": {
"type": "boolean",
"default": "true",
"description": "Whether to enable formatting using the rsltc pretty-printer."
},
"raise.languageServer.path": {
"type": "string",
"default": "rsl-language-server",
"description": "Path to the RSL Language server binary."
},
"raise.languageServer.compilerDiagnostics": {
"type": "boolean",
"default": "true",
"description": "Whether to provide diagnostics generated by running `rsltc -m`. This causes SML files to be recompiled on every save."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -watch -p ./"
},
"devDependencies": {
"@types/node": "^12.12.0",
"@types/vscode": "^1.34.0",
"@typescript-eslint/eslint-plugin": "^4.16.0",
"@typescript-eslint/parser": "^4.16.0",
"esbuild": "^0.12.25",
"eslint": "^7.21.0",
"typescript": "^4.2.2"
},
"dependencies": {
"vscode-languageclient": "^7.0.0"
}
}