forked from ink-analyzer/ink-vscode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
124 lines (124 loc) · 3.51 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
{
"name": "ink-analyzer",
"displayName": "ink! Analyzer",
"description": "ink! language support for Visual Studio Code",
"version": "0.1.25",
"lspServerVersion": "0.2.24",
"private": true,
"publisher": "ink-analyzer",
"icon": "icon.png",
"homepage": "https://github.com/ink-analyzer",
"repository": {
"url": "https://github.com/ink-analyzer/ink-vscode.git",
"type": "git"
},
"bugs": {
"url": "https://github.com/ink-analyzer/ink-vscode/issues"
},
"license": "GPL-3.0",
"engines": {
"vscode": "^1.82.0"
},
"categories": [
"Programming Languages"
],
"keywords": [
"ink!",
"smart contract",
"substrate",
"polkadot",
"blockchain"
],
"activationEvents": [
"onLanguage:rust",
"onCommand:ink-analyzer.createProject",
"workspaceContains:new-ink-project"
],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "ink-analyzer.restart",
"title": "ink!: Restart Language Server"
},
{
"command": "ink-analyzer.stop",
"title": "ink!: Stop Language Server"
},
{
"command": "ink-analyzer.createProject",
"title": "ink!: New Project"
}
],
"configuration": {
"type": "object",
"title": "ink! Analyzer",
"properties": {
"ink-analyzer.server.path": {
"type": [
"null",
"string"
],
"scope": "machine-overridable",
"default": null,
"description": "Path to ink! Language Server (ink-lsp-server) binary/executable (points to bundled binary/executable by default)."
},
"ink-analyzer.trace.server": {
"scope": "window",
"type": "string",
"enum": [
"off",
"messages",
"verbose"
],
"enumDescriptions": [
"No traces",
"Error only",
"Full log"
],
"default": "off",
"description": "Traces the communication between VS Code and the ink! Language Server (not recommended for regular users)."
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn build-publish",
"package": "vsce package -o ink-analyzer.vsix --yarn",
"build-base": "yarn setup && esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node --target=node16",
"build": "yarn build-base --sourcemap",
"watch": "yarn build-base --sourcemap --watch",
"build-publish": "yarn build-base --minify",
"setup": "node setup.js",
"test-base": "yarn build && tsc",
"lint": "eslint src --ext ts ./src --ext js",
"format": "prettier --write . && eslint --ext ts ./src --ext js --fix",
"test": "yarn test-base && node ./out/test/runTest.js"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.82.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.53.0",
"@vscode/test-electron": "^2.3.8",
"@vscode/vsce": "^2.22.0",
"adm-zip": "^0.5.10",
"chai": "^4.4.0",
"chalk": "^4.1.2",
"esbuild": "^0.17.11",
"eslint": "^8.34.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"node-fetch": "^2.6.12",
"prettier": "^2.8.4",
"typescript": "^4.9.5"
},
"dependencies": {
"vscode-languageclient": "^9.0.1"
}
}