-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
158 lines (158 loc) · 4.34 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
{
"name": "gleam-qol",
"displayName": "Gleam QoL",
"description": "improve QOL of programming with Gleam language",
"publisher": "Yasuo-Higano",
"repository": {
"type": "git",
"url": "https://github.com/Yasuo-Higano/vscode-gleam-qol"
},
"version": "0.0.3",
"engines": {
"vscode": "^1.81.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"icon": "images/icon.png",
"contributes": {
"languages": [
{
"id": "gleam",
"aliases": [
"Gleam",
"gleam"
],
"extensions": [
".gleam"
],
"icon": {
"light": "./images/logo.png",
"dark": "./images/logo.png"
}
}
],
"commands": [
{
"command": "vscode-gleam-qol.helloWorld",
"title": "Hello World"
},
{
"command": "vscode-gleam-qol.copy_erlang_path",
"title": "Gleam: module name -> clipboard"
},
{
"command": "vscode-gleam-qol.send_erlang_path_to_terminal",
"title": "Gleam: module name -> terminal"
},
{
"command": "vscode-gleam-qol.jump_to_test",
"title": "Gleam: Jump -> test file"
},
{
"command": "vscode-gleam-qol.jump_to_src",
"title": "Gleam: Jump -> source file"
},
{
"command": "vscode-gleam-qol.jump_to_erlang_ffi",
"title": "Gleam: Jump -> erlang ffi file"
},
{
"command": "vscode-gleam-qol.jump_to_gleam",
"title": "Gleam: Jump to gleam source file"
},
{
"command": "vscode-gleam-qol.erlang_abracadabra",
"title": "Gleam: fix erlang module name"
},
{
"command": "vscode-gleam-qol.gleam_auto_import",
"title": "Gleam: generate import statement"
},
{
"command": "vscode-gleam-qol.gleam_beautify_import",
"title": "Gleam: beautify import statement"
}
],
"menus": {
"editor/context": [
{
"command": "vscode-gleam-qol.copy_erlang_path",
"when": "resourceExtname == .erl"
},
{
"command": "vscode-gleam-qol.copy_erlang_path",
"when": "resourceExtname == .gleam || resourceExtname == .erl"
},
{
"command": "vscode-gleam-qol.send_erlang_path_to_terminal",
"when": "resourceExtname == .gleam || resourceExtname == .erl"
},
{
"command": "vscode-gleam-qol.jump_to_test",
"when": "resourceFilename =~ /[^_test]\\.gleam$/"
},
{
"command": "vscode-gleam-qol.jump_to_src",
"when": "resourceFilename =~ /_test\\.gleam$/"
},
{
"command": "vscode-gleam-qol.jump_to_erlang_ffi",
"when": "resourceFilename =~ /\\.gleam$/"
},
{
"command": "vscode-gleam-qol.jump_to_gleam",
"when": "resourceFilename =~ /_ffi\\.erl$/"
},
{
"command": "vscode-gleam-qol.erlang_abracadabra",
"when": "resourceExtname == .erl"
},
{
"command": "vscode-gleam-qol.gleam_auto_import",
"when": "resourceExtname == .gleam"
},
{
"command": "vscode-gleam-qol.gleam_beautify_import",
"when": "resourceExtname == .gleam"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.81.0",
"@typescript-eslint/eslint-plugin": "^6.4.1",
"@typescript-eslint/parser": "^6.4.1",
"@vscode/test-electron": "^2.3.4",
"@vscode/vsce": "^2.22.0",
"eslint": "^8.47.0",
"glob": "^10.3.3",
"mocha": "^10.2.0",
"ts-loader": "^9.4.4",
"typescript": "^5.2.2",
"vsce": "^1.97.0",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
},
"dependencies": {
"@types/copy-paste": "^1.1.33",
"copy-paste": "^1.5.3"
}
}