-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
133 lines (133 loc) · 3.83 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
{
"name": "slice",
"displayName": "Slice",
"description": "Slice language support for Visual Studio Code",
"icon": "images/icon.png",
"version": "4.4.1",
"publisher": "ZeroCInc",
"license": "BSD-3-Clause",
"engines": {
"vscode": "^1.75.0"
},
"main": "./client/out/extension",
"galleryBanner": {
"color": "#000030",
"theme": "dark"
},
"categories": [
"Programming Languages"
],
"contributes": {
"languages": [
{
"id": "slice",
"aliases": [
"icerpc"
],
"extensions": [
".slice"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./images/slice.svg",
"dark": "./images/slice.svg"
}
},
{
"id": "ice",
"aliases": [
"slice"
],
"extensions": [
".ice"
],
"configuration": "./language-configuration.json",
"icon": {
"light": "./images/ice.svg",
"dark": "./images/ice.svg"
}
}
],
"grammars": [
{
"language": "slice",
"scopeName": "source.slice",
"path": "./syntaxes/slice.tmLanguage.json"
},
{
"language": "ice",
"scopeName": "source.ice",
"path": "./syntaxes/ice.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "Slice",
"properties": {
"slice.configurations": {
"type": "array",
"title": "Slice Configurations",
"description": "Array of Slice configuration sets.",
"items": {
"type": "object",
"properties": {
"paths": {
"type": "array",
"items": {
"type": "string"
},
"description": "Specifies which paths the compiler should check for Slice files."
},
"addWellKnownTypes": {
"type": "boolean",
"default": true,
"description": "Enables / Disables adding the IceRpc well-known Slice files during compilation."
}
},
"required": [
"paths"
]
}
},
"slice.languageServer.enabled": {
"type": "boolean",
"default": true,
"description": "Enables / Disables the Slice language server.",
"scope": "resource"
}
}
}
},
"homepage": "https://zeroc.com/",
"repository": {
"type": "git",
"url": "https://github.com/zeroc-ice/vscode-slice"
},
"bugs": {
"url": "https://github.com/zeroc-ice/vscode-slice/issues"
},
"scripts": {
"build:prod": "NODE_ENV=production tsc -b",
"compile": "tsc -b",
"esbuild-base": "esbuild ./client/src/extension.ts --bundle --outfile=client/out/extension.js --external:vscode --format=cjs --platform=node --define:process.env.SERVER_PATH='\"/server/target/\"' --define:process.env.BUILT_IN_SLICE_PATH='\"/slice/\"' --define:process.env.NODE_ENV='\"production\"'",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"esbuild": "npm run esbuild-base -- --sourcemap",
"lint": "eslint ./client/src --ext .ts,.tsx",
"make-readonly": "echo \"Making /slice readonly for distribution\" && run-script-os",
"make-readonly:nix": "chmod -R a-w ./slice",
"make-readonly:win32": "attrib +r /s /d /l .\\slice\\*",
"postinstall": "cd client && npm install",
"test-compile": "tsc -p ./",
"vscode:prepublish": "npm run make-readonly && npm run esbuild-base -- --minify",
"watch": "tsc -b -w"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.10",
"esbuild": "^0.23.0",
"eslint": "^9.7.0",
"mocha": "^10.6.0",
"run-script-os": "^1.1.6",
"typescript": "^5.5.3"
}
}