-
Notifications
You must be signed in to change notification settings - Fork 155
/
package.json
197 lines (197 loc) · 5.76 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
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
{
"name": "vscode-cfn-lint",
"displayName": "CloudFormation Linter",
"description": "AWS CloudFormation template Linter",
"icon": "logo.png",
"keywords": [
"amazon",
"aws",
"cloudformation",
"linter",
"cfn-lint",
"cfn-python-lint",
"cfn",
"lint",
"cloud",
"infrastructure",
"plugin",
"extension",
"autocompletion",
"documentation",
"specification",
"resource",
"property",
"type",
"stack",
"template",
"json",
"yaml",
"yml"
],
"categories": [
"Programming Languages",
"Linters"
],
"author": "Kevin DeJong",
"license": "Apache-2.0",
"version": "0.26.0",
"publisher": "kddejong",
"engines": {
"vscode": "^1.52.0"
},
"repository": {
"type": "git",
"url": "https://github.com/awslabs/aws-cfn-lint-visual-studio-code.git"
},
"bugs": {
"url": "https://github.com/awslabs/aws-cfn-lint-visual-studio-code/issues"
},
"main": "./client/out/extension",
"activationEvents": [
"onLanguage:yaml",
"onLanguage:json",
"onCommand:extension.sidePreview"
],
"extensionDependencies": [],
"homepage": "https://github.com/awslabs/aws-cfn-lint-visual-studio-code/blob/main/README.md",
"scripts": {
"postinstall": "cd server && npm install && cd ../client && npm install && cd ..",
"vscode:prepublish": "npm run compile && npm prune --production && cd client && npm prune --production",
"compile": "npm run compile:client && npm run compile:server",
"compile:client": "tsc -p ./client/tsconfig.json",
"watch:client": "tsc -w -p ./client/tsconfig.json",
"compile:server": "tsc -p ./server/tsconfig.json",
"watch:server": "tsc -w -p ./server/tsconfig.json",
"test": "node ./client/out/test/runTest.js",
"lint": "eslint -c .eslintrc.js --ext .ts server/ && eslint -c .eslintrc.js --ext .ts client/",
"prettier": "prettier --check \"client/src/**/*.ts\" && prettier --check \"server/src/**/*.ts\"",
"prettier-fix": "prettier --write \"client/src/**/*.ts\" && prettier --write \"server/src/**/*.ts\""
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^18.18.4",
"@typescript-eslint/eslint-plugin": "^5.62.0",
"@typescript-eslint/parser": "^5.62.0",
"eslint": "^8.51.0",
"prettier": "^2.8.8",
"typescript": "^4.9.5"
},
"contributes": {
"commands": [
{
"command": "extension.sidePreview",
"title": "Preview CloudFormation template as graph",
"icon": {
"dark": "./resources/open-preview-dark.svg",
"light": "./resources/open-preview-light.svg"
}
}
],
"menus": {
"editor/title": [
{
"command": "extension.sidePreview",
"group": "navigation",
"when": "editorLangId =~ /(json|yaml)/ && isPreviewable"
}
]
},
"configuration": {
"type": "object",
"title": "CloudFormation Linter configuration",
"properties": {
"cfnLint.validateUsingJsonSchema": {
"type": "boolean",
"default": false,
"description": "Validate CloudFormation templates using the JSON Schema"
},
"cfnLint.path": {
"type": "string",
"default": "cfn-lint",
"description": "Path to cfn-lint"
},
"cfnLint.appendRules": {
"type": "array",
"default": [],
"description": "Append Rules Directories"
},
"cfnLint.ignoreRules": {
"type": "array",
"default": [],
"description": "Ignore Rules"
},
"cfnLint.overrideSpecPath": {
"type": "string",
"default": "",
"description": "(Optional) Path to an override specfile json file"
},
"cfnLint.format.enable": {
"type": "boolean",
"default": true,
"description": "Enable/disable default YAML formatter"
},
"cfnLint.format.singleQuote": {
"type": "boolean",
"default": false,
"description": "Use single quotes instead of double quotes"
},
"cfnLint.format.bracketSpacing": {
"type": "boolean",
"default": true,
"description": "Print spaces between brackets in objects"
},
"cfnLint.format.proseWrap": {
"type": "string",
"default": "preserve",
"enum": [
"preserve",
"never",
"always"
],
"description": "Always: wrap prose if it exceeds the print width, Never: never wrap the prose, Preserve: wrap prose as-is"
},
"cfnLint.format.printWidth": {
"type": "integer",
"default": 80,
"description": "Specify the line length that the printer will wrap on"
},
"cfnLint.validate": {
"type": "boolean",
"default": true,
"description": "Enable/disable validation feature"
},
"cfnLint.hover": {
"type": "boolean",
"default": true,
"description": "Enable/disable hover feature"
},
"cfnLint.completion": {
"type": "boolean",
"default": true,
"description": "Enable/disable completion feature"
}
}
},
"configurationDefaults": {
"[yaml]": {
"editor.insertSpaces": true,
"editor.tabSize": 2,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
},
"editor.autoIndent": "keep"
}
}
},
"bin": {
"cfn-lsp": "./server/out/server.js"
},
"__metadata": {
"id": "0afa1e21-b4ab-4c87-8f73-31374c4229c0",
"publisherDisplayName": "kddejong",
"publisherId": "c2d8be4b-fb85-4204-b7d4-ccb5d0fcf151",
"isPreReleaseVersion": false
}
}