forked from codefori/vscode-rpgle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
178 lines (178 loc) · 4.57 KB
/
Copy pathpackage.json
File metadata and controls
178 lines (178 loc) · 4.57 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
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
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
{
"name": "vscode-rpgle",
"displayName": "RPGLE",
"description": "RPGLE language tools and linter for VS Code",
"author": {
"name": "Halcyon Tech Ltd",
"url": "https://github.com/halcyon-tech"
},
"icon": "media/logo.png",
"publisher": "halcyontechltd",
"repository": {
"url": "https://github.com/halcyon-tech/vscode-rpgle"
},
"license": "MIT",
"version": "0.29.2",
"engines": {
"vscode": "^1.70.0"
},
"keywords": [
"rpg",
"rpgle",
"ibmi",
"iseries",
"as400"
],
"categories": [
"Programming Languages",
"Formatters"
],
"activationEvents": [
"onLanguage:rpgle",
"onCommand:workbench.action.showAllSymbols"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"title": "RPGLE language tools",
"properties": {
"vscode-rpgle.rulerEnabledByDefault": {
"type": "boolean",
"default": true,
"description": "Whether to show the fixed-format ruler by default."
}
}
},
"snippets": [
{
"path": "./schemas/rpgle.code-snippets",
"language": "rpgle"
}
],
"jsonValidation": [
{
"fileMatch": [
"rpglint.json",
"RPGLINT.JSON"
],
"url": "./schemas/rpglint.json"
}
],
"commands": [
{
"command": "vscode-rpgle.openLintConfig",
"title": "Open RPGLE lint configuration",
"category": "RPGLE"
},
{
"command": "vscode-rpgle.assist.launchUI",
"title": "Launch Column Assistant",
"category": "RPGLE",
"enablement": "editorLangId == rpgle"
},
{
"command": "vscode-rpgle.assist.toggleFixedRuler",
"title": "Toggle Inline Editor Helper",
"category": "RPGLE",
"enablement": "editorLangId == rpgle"
},
{
"command": "vscode-rpgle.server.reloadCache",
"title": "RPGLE: Reload Cache",
"category": "RPGLE",
"enablement": "code-for-ibmi:connected",
"icon": "$(refresh)"
},
{
"command": "vscode-rpgle.assist.moveLeft",
"title": "Move Left",
"category": "RPGLE Fixed-Format",
"icon": "$(arrow-left)",
"when": "editorLangId == rpgle"
},
{
"command": "vscode-rpgle.assist.moveRight",
"title": "Move Right",
"category": "RPGLE Fixed-Format",
"icon": "$(arrow-right)",
"when": "editorLangId == rpgle"
}
],
"keybindings": [
{
"command": "vscode-rpgle.assist.launchUI",
"key": "ctrl+shift+f4",
"mac": "cmd+shift+f4",
"when": "editorLangId == rpgle"
},
{
"command": "vscode-rpgle.assist.toggleFixedRuler",
"key": "shift+f4",
"mac": "shift+f4",
"when": "editorLangId == rpgle"
},
{
"command": "vscode-rpgle.assist.moveLeft",
"key": "ctrl+[",
"mac": "ctrl+[",
"when": "editorLangId == rpgle"
},
{
"command": "vscode-rpgle.assist.moveRight",
"key": "ctrl+]",
"mac": "ctrl+]",
"when": "editorLangId == rpgle"
}
],
"menus": {
"view/item/context": [
{
"command": "vscode-rpgle.openLintConfig",
"when": "view == objectBrowser && viewItem =~ /^filter.*$/",
"group": "1_LibActions@2"
}
],
"view/title": [
{
"command": "vscode-rpgle.server.reloadCache",
"group": "navigation",
"when": "view == outline"
}
]
}
},
"scripts": {
"test": "vitest run",
"test:watch": "vitest",
"package": "vsce package",
"vscode:prepublish": "npm run webpack",
"webpack": "npm run clean && webpack --mode production --config ./extension/client/webpack.config.js && webpack --mode production --config ./extension/server/webpack.config.js",
"webpack:dev": "npm run clean && webpack --mode none --config ./extension/client/webpack.config.js && webpack --mode none --config ./extension/server/webpack.config.js",
"clean": "rimraf out && rimraf client/out && rimraf server/out",
"compile": "tsc -b",
"compile:tests": "tsc -b ./tests/tsconfig.json",
"compile:client": "tsc -b ./extension/client/tsconfig.json",
"compile:server": "tsc -b ./extension/server/tsconfig.json",
"watch": "tsc -b -w",
"lint": "eslint ./extension/client/src ./extension/server/src --ext .ts,.tsx",
"postinstall": "cd extension/client && npm install && cd ../server && npm install && cd ../..",
"cli:dev:rpglint": "cd cli/rpglint && npm run webpack:dev"
},
"devDependencies": {
"@halcyontech/vscode-ibmi-types": "^2.11.0",
"@types/node": "^18.16.1",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"esbuild-loader": "^3.0.1",
"eslint": "^8.13.0",
"glob": "^7.2.0",
"merge-options": "^3.0.4",
"rimraf": "^3.0.2",
"semver": "^7.3.5",
"tsx": "^3.11.0",
"typescript": "^4.8.4",
"vitest": "^1.3.1",
"webpack": "^5.76.0",
"webpack-cli": "^4.5.0"
}
}