-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
133 lines (133 loc) · 4.15 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
125
126
127
128
129
130
131
132
133
{
"name": "fe",
"displayName": "Fe",
"description": "VsCode plugin for Fe smart contract programming language.",
"publisher": "FeLang Developers",
"license": "Apache-2.0",
"version": "0.0.1",
"preview": true,
"homepage": "https://github.com/fe-lang/vscode-fe",
"repository": {
"url": "https://github.com/fe-lang/vscode-fe.git",
"type": "git"
},
"bugs": {
"url": "https://github.com/fe-lang/vscode-fe/issues"
},
"engines": {
"vscode": "^1.58.2"
},
"categories": [
"Programming Languages"
],
"keywords": [
"fe",
"smart contract",
"ethereum"
],
"main": "./out/src/main.js",
"activationEvents": [
"onLanguage:fe"
],
"contributes": {
"commands": [
{
"command": "fe.serverVersion",
"title": "Show Server Version for fls",
"category": "VsCode Fe"
}
],
"configuration": {
"type": "object",
"title": "VsCode Fe",
"properties": {
"fe.server.path": {
"type": "string",
"default": "/usr/bin/fls",
"markdownDescription": "Absolute path of the fls executable, e.g. `/usr/bin/fls`."
},
"fe.trace.server": {
"type": "string",
"scope": "window",
"enum": [
"off",
"messages",
"verbose"
],
"enumDescriptions": [
"Do not log any messages.",
"Log short summaries of each message.",
"Log each message and its contents."
],
"default": "off",
"description": "Traces the communication between the Fe language server and Visual Studio Code. Note that this log can be very verbose, and so not recommended for anyone besides people working on or debugging fls itself."
}
}
},
"grammars": [
{
"language": "fe",
"scopeName": "source.fe",
"path": "./fe.tmLanguage.json"
}
],
"languages": [
{
"id": "fe",
"aliases": [
"Fe",
"fe"
],
"extensions": [
".fe"
],
"configuration": "./language-configuration.json"
}
],
"menus": {
"commandPalette": [
{
"command": "fe.serverVersion"
}
],
"editor/context": [
{
"when": "editorTextFocus && editorLangId == 'fe'",
"command": "fe.serverVersion",
"group": "1_fe"
}
]
}
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"lint": "tsfmt --verify && eslint . --ext ts --max-warnings 0",
"fix": "tsfmt --replace && eslint . --ext ts --fix",
"pretest": "npm run compile && npm run lint",
"test": "node ./out/tests/runTests.js",
"vscode:prepublish": "npm run pretest",
"package": "vsce package -o vscode-fe.vsix",
"publish": "npm run pretest && npm run test && vsce publish"
},
"dependencies": {
"vscode-languageclient": "6.1.4"
},
"devDependencies": {
"@types/glob": "^7.1.4",
"@types/mocha": "^9.0.0",
"@types/node": "^14.17.22",
"@types/vscode": "^1.58.2",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"@typescript-eslint/parser": "^4.33.0",
"@vscode/test-electron": "^1.6.1",
"eslint": "^7.32.0",
"eslint-plugin-tsdoc": "^0.2.14",
"glob": "^7.1.7",
"mocha": "^9.1.1",
"typescript": "^4.4.4",
"typescript-formatter": "^7.2.2",
"vsce": "^2.5.1",
"vscode-test": "^1.6.1"
}
}