-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
136 lines (136 loc) · 4.13 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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "kubernetes-yaml-formatter",
"displayName": "Better YAML Formatter",
"icon": "images/icon.png",
"description": "A better YAML formatter",
"version": "2.0.0",
"publisher": "kennylong",
"repository": {
"url": "https://github.com/longkai/kubernetes-yaml-formatter.git",
"type": "git"
},
"license": "SEE LICENSE IN LICENSE.txt",
"homepage": "https://kennylong.io",
"badges": [
{
"description": "Github Actions",
"href": "https://github.com/longkai/kubernetes-yaml-formatter",
"url": "https://github.com/longkaikubernetes-yaml-formatter/actions/workflows/release.yaml/badge.svg"
}
],
"author": {
"email": "[email protected]",
"name": "Kennylong",
"url": "https://kennylong.io"
},
"keywords": [
"YAML",
"CI/CD",
"DevOps",
"Formatter",
"Kubernetes"
],
"bugs": {
"url": "https://github.com/longkai/kubernetes-yaml-formatter/issues"
},
"categories": [
"Formatters"
],
"engines": {
"vscode": "^1.63.0"
},
"activationEvents": [
"onLanguage:yaml",
"onLanguage:helm",
"onLanguage:ansible"
],
"main": "./out/extension.js",
"browser": "./dist/web/extension.js",
"contributes": {
"configuration": {
"title": "Better YAML",
"properties": {
"better-yaml.indentSeq": {
"type": "boolean",
"default": false,
"description": "Whether block sequences should be indented."
},
"better-yaml.directives": {
"type": [
"boolean",
"null"
],
"default": null,
"description": "Include directives in the output. If true, at least the document-start marker --- is always included. If false, no directives or marker is ever included. If null, directives and marker may be included if required."
},
"better-yaml.commentString": {
"type": [
"string",
"null"
],
"default": null,
"description": "Output should be valid for the current schema. By default, empty comment lines are left empty, lines consisting of a single space are replaced by #, and all other lines are prefixed with a #."
},
"better-yaml.lineWidth": {
"type": [
"number"
],
"default": 0,
"description": "Maximum line width (set to 0 to disable folding). This is a soft limit, as only double-quoted semantics allow for inserting a line break in the middle of a word."
},
"better-yaml.documentOptions.version": {
"type": [
"string"
],
"default": "1.2",
"description": "The YAML version used by documents without a %YAML directive. Must be '1.1' or '1.2'."
}
}
},
"configurationDefaults": {
"[yaml]": {
"editor.defaultFormatter": "kennylong.kubernetes-yaml-formatter",
"editor.formatOnSave": true
},
"[helm]": {
"editor.defaultFormatter": "kennylong.kubernetes-yaml-formatter",
"editor.formatOnSave": false
},
"[ansible]": {
"editor.defaultFormatter": "kennylong.kubernetes-yaml-formatter",
"editor.formatOnSave": false
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile && npm run compile-web",
"compile": "tsc -p ./",
"compile-web": "webpack",
"watch": "tsc -watch -p ./",
"watch-web": "webpack --watch",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "vscode-test",
"package-web": "webpack --mode production --devtool hidden-source-map"
},
"devDependencies": {
"@types/mocha": "^10.0.7",
"@types/node": "20.x",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^7.14.1",
"@typescript-eslint/parser": "^7.11.0",
"@vscode/test-cli": "^0.0.9",
"@vscode/test-electron": "^2.4.0",
"eslint": "^8.57.0",
"typescript": "^5.4.5",
"ts-loader": "^9.5.1",
"webpack": "^5.92.1",
"webpack-cli": "^5.1.4",
"@types/webpack-env": "^1.18.5",
"assert": "^2.1.0",
"process": "^0.11.10"
},
"dependencies": {
"yaml": "^2.6.1"
}
}