-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
184 lines (184 loc) · 4.85 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
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
{
"name": "catala",
"displayName": "Catala",
"description": "A VSCode extension and LSP server for the Catala language",
"version": "0.22.0",
"publisher": "catalalang",
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/CatalaLang/catala-language-server/"
},
"icon": "logo.png",
"categories": [
"Programming Languages"
],
"engines": {
"vscode": "^1.86.0"
},
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Catala",
"properties": {
"catala.enableCustomTestCaseEditor": {
"type": "boolean",
"default": false,
"description": "Enable the custom test case editor for Catala test files"
},
"catala.lspServerPath": {
"type": "string",
"default": null,
"description": "Custom path to the `catala-lsp` executable"
},
"catala.catalaFormatPath": {
"type": "string",
"default": null,
"description": "Custom path to the `catala-format` executable"
}
}
},
"customEditors": [
{
"viewType": "catala.testCaseEditor",
"displayName": "Catala Test Case Editor",
"selector": [
{
"filenamePattern": "*test*.catala_*"
}
],
"priority": "option"
}
],
"languages": [
{
"id": "catala_en",
"aliases": [
"Catala (English)"
],
"extensions": [
".catala_en"
],
"configuration": "./language-configuration.json"
},
{
"id": "catala_fr",
"aliases": [
"Catala (French)"
],
"extensions": [
".catala_fr"
],
"configuration": "./language-configuration.json"
},
{
"id": "catala_type_en",
"configuration": "./language-configuration.json"
},
{
"id": "catala_type_fr",
"configuration": "./language-configuration.json"
},
{
"id": "catala_code_en",
"configuration": "./language-configuration.json"
},
{
"id": "catala_code_fr",
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "catala_en",
"scopeName": "source.catala_en",
"path": "./syntaxes/en.xml"
},
{
"language": "catala_fr",
"scopeName": "source.catala_fr",
"path": "./syntaxes/fr.xml"
},
{
"language": "catala_type_en",
"scopeName": "source.catala_type_en",
"path": "./syntaxes/types_en.xml"
},
{
"language": "catala_type_fr",
"scopeName": "source.catala_type_fr",
"path": "./syntaxes/types_fr.xml"
},
{
"language": "catala_code_en",
"scopeName": "source.catala_code_en",
"path": "./syntaxes/code_en.xml"
},
{
"language": "catala_code_fr",
"scopeName": "source.catala_code_fr",
"path": "./syntaxes/code_fr.xml"
}
],
"comments": {
"lineComment": "#"
},
"configurationDefaults": {
"[catala_en]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
},
"[catala_fr]": {
"editor.tabSize": 2,
"editor.insertSpaces": true
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "opam exec -- dune build @lsp; webpack --mode development",
"test": "tsc && vscode-test",
"format": "prettier --write .",
"lint": "eslint . --ext .js,.ts",
"lint:fix": "eslint . --ext .js,.ts --fix",
"watch": "webpack --mode development --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"prepare": "husky",
"atd:generate_ts": "cd src/generated && atdts ../../test-case-parser/test_case.atd"
},
"dependencies": {
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@types/vscode-webview": "^1.57.5",
"@vscode/codicons": "^0.0.36",
"command-exists": "^1.2.9",
"microdiff": "^1.4.0",
"p-queue": "^6.6.2",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"vscode-languageclient": "^8.0.2"
},
"devDependencies": {
"@types/command-exists": "^1.2.3",
"@types/mocha": "^10.0.6",
"@types/node": "^18.11.18",
"@types/vscode": "^1.86.0",
"@typescript-eslint/eslint-plugin": "^7.16.1",
"@typescript-eslint/parser": "^7.16.1",
"@vscode/test-cli": "^0.0.10",
"@vscode/test-electron": "^2.4.1",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"prettier": "3.3.3",
"ts-loader": "^9.5.1",
"tsc-watch": "^6.2.0",
"typescript": "^4.9.5",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
},
"lint-staged": {
"*.{js,ts,jsx,tsx,md,json}": "npm run format",
"*.{js,ts,jsx,tsx}": "npm run lint:fix"
}
}