Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3.19 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 3.19 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
{
"name": "maapipeline-format",
"displayName": "MAA Pipeline Formatter",
"description": "Format MaaFramework Pipeline JSON files with intelligent structure-aware formatting",
"version": "2.1.1",
"publisher": "SwordofMorning",
"author": {
"name": "MaaGF1",
"url": "https://github.com/MaaGF1"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/MaaGF1/MaaPipeline-Format-VSCode.git"
},
"bugs": {
"url": "https://github.com/MaaGF1/MaaPipeline-Format-VSCode/issues"
},
"homepage": "https://github.com/MaaGF1/MaaPipeline-Format-VSCode#readme",
"engines": {
"vscode": "^1.60.0"
},
"categories": [
"Formatters",
"Other"
],
"keywords": [
"maa",
"pipeline",
"json",
"formatter",
"maaframework"
],
"icon": "icon.png",
"activationEvents": [
"onLanguage:json",
"onLanguage:jsonc"
],
"main": "./out/extension.js",
"contributes": {
"languages": [
{
"id": "json",
"aliases": ["JSON", "json"],
"extensions": [".json"]
}
],
"commands": [
{
"command": "maapipeline-format.formatDocument",
"title": "Format MAA Pipeline",
"category": "MAA"
}
],
"menus": {
"editor/context": [
{
"command": "maapipeline-format.formatDocument",
"when": "resourceExtname == .json",
"group": "1_modification@1"
}
],
"commandPalette": [
{
"command": "maapipeline-format.formatDocument",
"when": "resourceExtname == .json"
}
]
},
"keybindings": [
{
"command": "maapipeline-format.formatDocument",
"key": "ctrl+shift+alt+f",
"mac": "cmd+shift+alt+f",
"when": "editorTextFocus && resourceExtname == .json"
}
],
"configuration": {
"title": "MAA Pipeline Formatter",
"properties": {
"maapipeline-format.enableFormatOnSave": {
"type": "boolean",
"default": false,
"description": "Enable MAA Pipeline formatting on save"
},
"maapipeline-format.filePatterns": {
"type": "array",
"default": ["pipeline", "interface", "task"],
"description": "File name patterns that should be formatted with MAA Pipeline formatter"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/node": "^16.x",
"@types/vscode": "^1.60.0",
"typescript": "^4.4.4",
"@types/mocha": "^9.1.0",
"mocha": "^9.2.0"
}
}