forked from starkware-libs/cairo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
129 lines (129 loc) · 3.43 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
{
"name": "cairo1",
"displayName": "Cairo 1.0",
"description": "Support Cairo syntax",
"version": "2.6.3",
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:cairo",
"workspaceContains:**/cairo_project.toml",
"workspaceContains:**/Scarb.toml"
],
"main": "./out/extension",
"contributes": {
"snippets": [
{
"language": "cairo",
"path": "./snippets/cairo.json"
}
],
"languages": [
{
"id": "cairo",
"aliases": [
"Cairo",
"cairo"
],
"extensions": [
".cairo"
],
"configuration": "./language-configuration.json"
}
],
"commands": [
{
"command": "cairo1.reload",
"title": "Reload workspace",
"category": "cairo1"
}
],
"configuration": [
{
"title": "Cairo",
"properties": {
"cairo1.enableLanguageServer": {
"type": "boolean",
"default": "true",
"description": "Enable the Cairo language server.",
"scope": "window"
},
"cairo1.languageServerPath": {
"type": "string",
"description": "Path to the Cairo language server (cairo-language-server).",
"scope": "window"
},
"cairo1.enableScarb": {
"type": "boolean",
"default": "true",
"description": "Enable the use of Scarb package manager.",
"scope": "window"
},
"cairo1.scarbPath": {
"type": "string",
"description": "Path to the Scarb package manager binary.",
"scope": "window"
},
"cairo1.corelibPath": {
"type": "string",
"description": "Path to the Cairo core library, used as a fallback.",
"scope": "window"
},
"cairo1.languageServerExtraEnv": {
"type": [
"null",
"object"
],
"additionalProperties": {
"type": [
"string",
"number"
]
},
"default": {},
"markdownDescription": "Extra environment variables that will be passed to the `cairo-language-server` executable.\nUseful for passing e.g. `CAIRO_LS_LOG` for debugging."
}
}
}
],
"configurationDefaults": {
"[cairo]": {
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.semanticHighlighting.enabled": true
},
"explorer.fileNesting.patterns": {
"Scarb.toml": "Scarb.lock"
}
}
},
"publisher": "StarkWare",
"repository": "https://github.com/starkware-libs/cairo/",
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"fmt": "prettier --write .",
"fmt:check": "prettier --check .",
"lint": "eslint . src --ext .ts,.tsx"
},
"engines": {
"vscode": "^1.84.0"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
},
"devDependencies": {
"@tsconfig/node18": "^18.2.2",
"@tsconfig/strictest": "^2.0.2",
"@types/node": "^18.15.3",
"@types/vscode": "^1.84.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"prettier": "3.2.4",
"typescript": "^5.3.3"
}
}