-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
84 lines (84 loc) · 2.28 KB
/
package.json
File metadata and controls
84 lines (84 loc) · 2.28 KB
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
{
"name": "sample",
"description": "A language server example",
"author": "Microsoft Corporation",
"license": "MIT",
"version": "1.0.0",
"repository": {
"type": "git",
"url": "https://github.com/kirill-knize-sonarsource/sample-vscode-extension"
},
"publisher": "knize",
"categories": [],
"keywords": [
"multi-root ready"
],
"engines": {
"vscode": "^1.43.0"
},
"activationEvents": [
"*",
"onLanguage:typescript"
],
"main": "./client/out/extension",
"contributes": {
"commands": [
{
"command": "extension.helloWorld",
"title": "Hello World"
}
],
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"languageServerExample.maxNumberOfProblems": {
"scope": "resource",
"type": "number",
"default": 100,
"description": "Controls the maximum number of problems produced by the server."
},
"languageServerExample.spaceCharsSwitch": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "Controls if exstension should count space chars."
},
"languageServerExample.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -b",
"watch": "tsc -b -w",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "node ./client/out/test/runTest.js",
"test-cov": "node ./client/out/test/runTest.js --coverage",
"publish": "vsce package"
},
"devDependencies": {
"@types/mocha": "^5.2.7",
"mocha": "^6.2.2",
"@types/node": "^12.11.7",
"eslint": "^6.4.0",
"@typescript-eslint/parser": "^2.3.0",
"typescript": "^3.8.3",
"vsce": "1.74.0",
"istanbul-lib-coverage": "^2.0.5",
"istanbul-lib-instrument": "^3.3.0",
"istanbul-lib-report": "^2.0.8",
"istanbul-lib-source-maps": "^3.0.6",
"istanbul-reports": "^2.2.6"
}
}