-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
114 lines (114 loc) · 2.95 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
{
"name": "sl-language-server",
"description": "ShortLang Language Server",
"license": "GPL-3.0-only",
"version": "0.1.0",
"categories": [],
"keywords": [
"language-server",
"tower-lsp"
],
"repository": {
"url": "https://github.com/ShortLang/vscode-extension"
},
"engines": {
"vscode": "^1.66.0"
},
"enabledApiProposals": [],
"activationEvents": [
"onLanguage:sl"
],
"main": "./dist/extension.js",
"contributes": {
"menus": {
"editor/title": [
{
"command": "extension.runScript",
"group": "navigation",
"when": "resourceLangId == sl"
}
]
},
"commands": [
{
"command": "extension.runScript",
"title": "Run Script",
"icon": "$(run)"
}
],
"languages": [
{
"id": "sl",
"aliases": [
"ShortLang"
],
"extensions": [
".sl"
]
}
],
"configuration": {
"type": "object",
"title": "ShortLang",
"properties": {
"shortlang.executablePath": {
"type": "string",
"description": "Path to the ShortLang executable"
},
"shortlang.trace.server": {
"type": "string",
"scope": "window",
"enum": [
"off",
"messages",
"verbose"
],
"enumDescriptions": [
"No traces",
"Error only",
"Full log"
],
"default": "off",
"description": "Traces the communication between VS Code and the language server."
}
}
}
},
"scripts": {
"postinstall": "cd client && pnpm i",
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./client/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 ./",
"compile": "cross-env NODE_ENV=production tsc -b",
"watch": "rm -rf dist && tsc -b -w",
"lint": "eslint src --ext ts",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/test/runTest.js",
"build": "webpack --config webpack.config.js",
"package": "vsce package --no-dependencies",
"publish": "vsce publish --no-dependencies"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.0",
"@types/node": "^12.12.0",
"@types/vscode": "^1.44.0",
"@typescript-eslint/eslint-plugin": "^3.8.0",
"@typescript-eslint/parser": "^3.8.0",
"cross-env": "^7.0.2",
"electron-rebuild": "^1.11.0",
"esbuild": "^0.15.10",
"eslint": "^7.6.0",
"glob": "^7.1.7",
"mocha": "^8.0.1",
"typescript": "^4.4.3",
"vscode-test": "^1.4.0",
"vscode-uri": "^3.0.2",
"webpack": "^5.82.1"
},
"dependencies": {
"vscode-languageclient": "^8.0.2"
}
}