forked from famousj/hoon-vscode
-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
108 lines (108 loc) · 3.58 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
{
"name": "hoon-tloncorp",
"displayName": "Hoon",
"description": "Language support for the Hoon language",
"version": "0.3.3",
"publisher": "tloncorp",
"repository": "https://github.com/tloncorp/hoon-vscode.git",
"icon": "images/urbit.png",
"engines": {
"vscode": "^1.33.0"
},
"categories": [
"Programming Languages"
],
"main": "./out/main",
"activationEvents": [
"onLanguage:hoon"
],
"contributes": {
"languages": [
{
"id": "hoon",
"aliases": [
"hoon",
"hoon"
],
"extensions": [
".hoon"
],
"icon": {
"light": "./icons/tilde_light.png",
"dark": "./icons/tilde_dark.png"
},
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "hoon",
"scopeName": "source.hoon",
"path": "./syntaxes/hoon.tmLanguage"
}
],
"configuration": {
"title": "Hoon",
"properties": {
"hoon.languageServer.enabled": {
"type": "boolean",
"default": false,
"scope": "window",
"description": "Enable Language Server"
},
"hoon.languageServer.url": {
"type": "string",
"default": "http://localhost",
"scope": "window",
"description": "Your Urbit's url"
},
"hoon.languageServer.port": {
"type": "integer",
"default": "8080",
"scope": "window",
"description": "Port of the Urbit HTTP server"
},
"hoon.languageServer.delay": {
"type": "integer",
"default": "500",
"scope": "window",
"description": "Time in ms to wait before sending save events"
},
"hoon.languageServer.ship": {
"type": "string",
"default": "~sampel-palnet",
"scope": "window",
"description": "Your ship's name"
},
"hoon.languageServer.code": {
"type": "string",
"default": "~sampel-palnet-sampel-palnet",
"scope": "window",
"description": "Your ship's +code"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run update-vscode && npm run build",
"update-vscode": "vscode-install",
"postinstall": "vscode-install",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/main.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
"build": "npm run esbuild-base -- --minify",
"clean": "rm -rf out",
"watch": "tsc -w"
},
"dependencies": {
"@urbit/hoon-language-server": "^0.1.0",
"vscode-languageclient": "^5.2.1"
},
"devDependencies": {
"@types/node": "^13.13.32",
"esbuild": "^0.14.36",
"typescript": "^4.1.2",
"vscode": "^1.1.37"
}
}