forked from TypeFox/yang-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
71 lines (71 loc) · 2.37 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
{
"name": "yang-vscode",
"displayName": "Yang VS Code Extension",
"description": "Yang editor support for VS Code, based on YANG-LSP.",
"version": "1.7.0",
"publisher": "typefox",
"license": "Apache-2.0",
"repository": {
"url": "https://github.com/theia-ide/yang-vscode.git"
},
"icon": "images/yin_yang.png",
"engines": {
"vscode": "^1.17.0"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"onLanguage:yang"
],
"main": "./out/client/extension",
"contributes": {
"languages": [
{
"id": "yang",
"aliases": [
"Yang",
"yang"
],
"extensions": [
".yang"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "yang",
"scopeName": "source.yang",
"path": "./syntaxes/yang.tmLanguage.json"
}
],
"configuration": {
"type": "object",
"title": "Yang client configuration",
"properties": {
"yangLanguageServer.maxNumberOfProblems": {
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
}
}
}
},
"scripts": {
"preinstall": "npm run install:languageserver",
"install:languageserver": "rm -rf ./build && mkdir build && npm run download:languageserver",
"download:languageserver": "curl -o yang-language-server.zip http://services.typefox.io/open-source/jenkins/job/yang-lsp/job/master/lastSuccessfulBuild/artifact/yang-lsp/build/yang-language-server_diagram-extension_0.1.0-SNAPSHOT.zip && unzip yang-language-server.zip -d build/ && mv build/yang-language-server-0.1.0-SNAPSHOT build/yang-language-server",
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"@types/node": "^6.0.40",
"typescript": "^2.6.2",
"vscode": "^1.1.18"
},
"dependencies": {
"vscode-languageclient": "^3.1.0"
}
}