-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
117 lines (117 loc) · 3 KB
/
package.json
File metadata and controls
117 lines (117 loc) · 3 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
{
"repository": {
"type": "git",
"url": "https://github.com/Pastajello/VsCode_MauiTools.git"
},
"homepage": "https://github.com/TwojNick/maui-xaml-tools",
"bugs": {
"url": "https://github.com/TwojNick/maui-xaml-tools/issues"
},
"name": "maui-xaml-tools",
"displayName": "MAUI Xaml Tools",
"description": "Set of MAUI Tools for XAML coloring and quick refactorings",
"version": "0.0.1",
"icon": "assets/logo.png",
"publisher": "Pastajello",
"engines": {
"vscode": "^1.110.0"
},
"scripts": {
"build": "npm run build:grammar && tsc",
"test": "TS_NODE_PROJECT=tsconfig.test.json mocha -r ts-node/register \"test/**/*.test.ts\"",
"watch": "npm run build:grammar && concurrently \"npm:watch:ts\" \"npm:watch:grammar\"",
"watch:ts": "tsc -w",
"watch:grammar": "chokidar \"syntaxes/*.jsonc\" -c \"npm run build:grammar\"",
"package": "npm run build && vsce package --no-dependencies",
"build:grammar": "node ./scripts/build-grammar.js",
"bundle": "esbuild src/extension.ts --bundle --platform=node --outfile=out/extension.js"
},
"categories": [
"Programming Languages"
],
"activationEvents": [
"workspaceContains:**/*.csproj"
],
"main": "./out/extension.js",
"contributes": {
"submenus": [
{
"id": "mauiTools.add",
"label": "MAUI Tools → Add"
}
],
"menus": {
"explorer/context": [
{
"submenu": "mauiTools.add",
"when": "explorerResourceIsFolder && isMauiProject",
"group": "navigation"
}
],
"editor/context": [
{
"command": "mauiTools.extractToControl",
"when": "editorHasSelection && isMauiProject",
"group": "refactor"
}
],
"mauiTools.add": [
{
"command": "mauiTools.addContentPage",
"group": "1"
},
{
"command": "mauiTools.addContentView",
"group": "2"
}
]
},
"commands": [
{
"command": "mauiTools.addContentPage",
"title": "ContentPage XAML"
},
{
"command": "mauiTools.addContentView",
"title": "ContentView XAML"
},
{
"command": "mauiTools.extractToControl",
"title": "Extract to Control"
}
],
"languages": [
{
"id": "xaml",
"aliases": [
"XAML",
"xaml"
],
"extensions": [
".xaml"
],
"configuration": "./language-configuration.json"
}
],
"grammars": [
{
"language": "xaml",
"scopeName": "text.xml.xaml",
"path": "./syntaxes/xaml.tmLanguage.json"
}
]
},
"devDependencies": {
"@types/mocha": "^10.0.10",
"@types/node": "^25.5.2",
"@types/vscode": "^1.110.0",
"assert": "^2.1.0",
"chokidar-cli": "^3.0.0",
"concurrently": "^9.2.1",
"esbuild": "^0.28.0",
"mocha": "^11.7.5",
"strip-json-comments": "^5.0.3",
"ts-node": "^10.9.2",
"typescript": "^6.0.2"
}
}