generated from sebjulliand/vscode-extension-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.85 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
{
"name": "c4i-command-extension",
"publisher": "?",
"displayName": "Code for i command extension",
"description": "Sample extension to run commands through Code for i.",
"version": "0.0.1",
"engines": {
"vscode": "^1.80.0"
},
"extensionDependencies": [
"HalcyonTechLtd.code-for-ibmi"
],
"license": "MIT",
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"l10n": "./l10n",
"contributes": {
"commands": [
{
"command": "sample.runPRTRPGPRT",
"title": "%runPRTRPGPRT%"
}
],
"submenus": [
{
"id": "sample.commands.menu",
"label": "%sample.commands%"
}
],
"menus": {
"commandPalette": [
{
"command": "sample.runPRTRPGPRT",
"when": "never"
}
],
"sample.commands.menu": [
{
"command": "sample.runPRTRPGPRT"
}
],
"view/item/context": [
{
"submenu": "sample.commands.menu",
"when": "view === objectBrowser && viewItem === member"
}
]
}
},
"scripts": {
"clean": "rimraf dist",
"nls": "npx @vscode/l10n-dev export --outDir ./l10n ./src",
"build": "npm run clean && webpack --mode development",
"watch": "npm run clean && webpack --mode development --watch",
"vscode:prepublish": "npm run clean && webpack --mode production --devtool hidden-source-map",
"package": "vsce package --pre-release"
},
"devDependencies": {
"@halcyontech/vscode-ibmi-types": "^2.13",
"@types/node": "^20.15",
"@types/vscode": "1.93",
"@typescript-eslint/eslint-plugin": "^6.20.0",
"@typescript-eslint/parser": "^6.20.0",
"esbuild-loader": "^4.2.2",
"rimraf": "^5.0.5",
"typescript": "^5.3.3",
"webpack": "^5.94.0",
"webpack-cli": "^5.1.4"
}
}