forked from aws-cloudformation/cfn-lint-visual-studio-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
138 lines (138 loc) · 4.45 KB
/
package.json
File metadata and controls
138 lines (138 loc) · 4.45 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
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"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.21.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": [
"redhat.vscode-yaml"
],
"homepage": "https://github.com/awslabs/aws-cfn-lint-visual-studio-code/blob/master/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/"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^6.14.13",
"@typescript-eslint/eslint-plugin": "^2.34.0",
"@typescript-eslint/parser": "^2.34.0",
"eslint": "^6.8.0",
"typescript": "^3.9.9"
},
"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.enableAutocomplete": {
"type": "boolean",
"default": true,
"description": "Enable Autocomplete on YAML templates"
},
"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"
}
}
}
},
"bin": {
"cfn-lsp": "./server/out/server.js"
}
}