-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
124 lines (124 loc) · 3.47 KB
/
package.json
File metadata and controls
124 lines (124 loc) · 3.47 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
{
"name": "zoiodelula",
"displayName": "Zoio de lula",
"description": "Zoio de lula is a XAML Formatter extension for Visual Studio Code",
"version": "1.1.0",
"author": "Anderson Oliveira",
"publisher": "AndersonOliveira",
"license": "MIT",
"icon": "images/logo.png",
"readme": "https://github.com/AndersonPull/Zoio_de_lula_MAUI/blob/main/README.md",
"repository": {
"url": "https://github.com/AndersonPull/Zoio_de_lula_MAUI"
},
"bugs": "https://github.com/AndersonPull/Zoio_de_lula_MAUI/issues",
"markdown": "standard",
"keywords": [
"MAUI",
"maui",
"XAML",
"xaml",
"formatter"
],
"engines": {
"vscode": "^1.87.0"
},
"categories": [
"Formatters"
],
"activationEvents": [
"onLanguage:xaml"
],
"main": "./out/extension",
"contributes": {
"menus": {
"editor/context": [
{
"command": "zoiodelula.Format",
"when": "resourceLangId == xaml && resourceScheme == file",
"group": "1_modification"
}
]
},
"commands": [
{
"command": "zoiodelula.Format",
"title": "Format (Zoio)"
}
],
"languages": [
{
"id": "xaml",
"extensions": [
".xaml",
".axaml"
]
}
],
"configuration": [
{
"title": "Zoio de lula",
"properties": {
"zoiodelula.settings.numberOfAttributesPerLine": {
"markdownDescription": "Number of attributes per line",
"type": "number",
"default": 1,
"enum": [
1,
2,
3,
4,
5,
6,
7,
8,
9
]
},
"zoiodelula.settings.positionAllAttributesOnFirstLine": {
"markdownDescription": "Position all attributes on same line as element.\n\n **Checked** : \n\n `<Label Text=\"Hello world\" TextColor=\"Red\"` \n\n **Unchecked** :\n\n`<Label Text=\"Hello world\"`\n\n   `TextColor=\"Red\"` ",
"type": "boolean",
"default": false
},
"zoiodelula.settings.putTheFirstAttributeOnTheFirstLine": {
"markdownDescription": "Put the first attribute on the first line",
"type": "boolean",
"default": false
},
"zoiodelula.settings.removeUnusedAttributes": {
"markdownDescription": "Remove unused attributes",
"type": "boolean",
"default": false
},
"zoiodelula.settings.useSelfClosingTag": {
"markdownDescription": "If no child nodes then use self closing tag `/>`.\n\n **Checked** : `<label></label>` → `<label/>` \n\n **Unchecked** : `<label></label>` → `<label></label>` ",
"type": "boolean",
"default": true
}
}
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.87.0",
"@typescript-eslint/eslint-plugin": "^7.0.2",
"@typescript-eslint/parser": "^7.0.2",
"@vscode/test-cli": "^0.0.6",
"@vscode/test-electron": "^2.3.9",
"eslint": "^8.56.0",
"typescript": "^5.3.3"
},
"dependencies": {
"punycode": "^2.3.1"
}
}