-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
116 lines (116 loc) · 2.95 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
{
"name": "mgcb-editor",
"publisher": "mangrimen",
"displayName": "MonoGame Content Builder (Editor)",
"description": "Edit MonoGame Content Builder files in VSCode",
"version": "0.0.6",
"repository": {
"type": "git",
"url": "https://github.com/MangriMen/mgcb-vscode.git"
},
"icon": "assets/images/icon.png",
"engines": {
"vscode": "^1.81.0"
},
"categories": [
"Other"
],
"activationEvents": [
"workspaceContains:**/*.mgcb"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"properties": {
"mgcb.executablePath": {
"type": "string",
"default": null,
"description": "MGCB editor executable path."
},
"mgcb.showContextMenu": {
"type": "boolean",
"default": true,
"description": "Whether to display options in the context menu."
}
}
},
"commands": [
{
"command": "mgcb.openInMgcbEditor",
"title": "Open in MGCB Editor",
"icon": {
"dark": "assets/images/button-dark.svg",
"light": "assets/images/button-light.svg"
}
}
],
"menus": {
"commandPalette": [
{
"command": "mgcb.openInMgcbEditor",
"when": "false"
}
],
"explorer/context": [
{
"command": "mgcb.openInMgcbEditor",
"when": "mgcb.showContextMenu && resourceLangId == mgcb",
"group": "navigation"
}
],
"editor/title": [
{
"command": "mgcb.openInMgcbEditor",
"when": "resourceLangId == mgcb",
"group": "navigation"
}
]
},
"languages": [
{
"id": "mgcb",
"aliases": [
"MonoGame Content Builder"
],
"extensions": [
".mgcb"
],
"configuration": "assets/configs/language-configuration.json"
}
],
"grammars": [
{
"language": "mgcb",
"scopeName": "source.mgcb",
"path": "assets/configs/language-syntax.json"
}
]
},
"scripts": {
"vscode:prepublish": "yarn 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": "yarn run compile-tests && pnpm run compile && pnpm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.81.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "20.2.5",
"@typescript-eslint/eslint-plugin": "^5.59.8",
"@typescript-eslint/parser": "^5.59.8",
"eslint": "^8.41.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^5.1.3",
"ts-loader": "^9.4.3",
"webpack": "^5.85.0",
"webpack-cli": "^5.1.1",
"@vscode/test-electron": "^2.3.2"
}
}