/
package.json
132 lines (132 loc) · 3.34 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
{
"name": "fortellis-spec-tools",
"displayName": "Fortellis Spec Tools",
"description": "Work with fortellis specifications live in your editor.",
"version": "0.0.2",
"main": "./dist/extension",
"publisher": "fortellis",
"icon": "media/logo.png",
"license": "MIT",
"homepage": "https://fortellis.io",
"repository": {
"type": "git",
"url": "https://github.com/Fortellis/vscode-fortellis-spec-tools"
},
"scripts": {
"build": "babel src -d dist",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"release": "npm run build; vsce package"
},
"devDependencies": {
"@babel/cli": "^7.7.7",
"@babel/core": "^7.7.7",
"@babel/plugin-transform-react-jsx": "^7.7.7",
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"eslint": "^4.11.0",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
},
"dependencies": {
"@fortellis/spec-linter": "^1.0.0",
"@stoplight/yaml": "^3.5.0",
"ajv": "^6.12.0",
"json-schema-merge-allof": "^0.7.0",
"json-schema-ref-parser": "^7.1.3",
"markyjs": "^1.0.1"
},
"engines": {
"vscode": "^1.41.0"
},
"categories": [
"Linters",
"Other"
],
"keywords": [
"Fortellis",
"API spec"
],
"activationEvents": [
"onView:fortellis-spec-validator-view",
"onLanguage:yaml"
],
"contributes": {
"commands": [
{
"command": "extension.validateSpec",
"title": "Validate",
"category": "Fortellis Spec",
"icon": {
"light": "resources/icons/light/check.svg",
"dark": "resources/icons/dark/check.svg"
}
},
{
"command": "extension.previewSpec",
"title": "Preview",
"category": "Fortellis Spec",
"icon": {
"light": "resources/icons/light/preview.svg",
"dark": "resources/icons/dark/preview.svg"
}
}
],
"menus": {
"view/title": [
{
"command": "extension.validateSpec",
"when": "view == fortellis-spec-validator-view",
"group": "navigation"
},
{
"command": "extension.previewSpec",
"when": "view == fortellis-spec-validator-view",
"group": "navigation"
}
],
"commandPalette": [
{
"command": "extension.validateSpec",
"when": "editorLangId == yaml"
},
{
"command": "extension.previewSpec",
"when": "editorLangId == yaml"
}
]
},
"viewsContainers": {
"activitybar": [
{
"id": "fortellis-spec-validator",
"title": "Fortellis Spec Tools",
"icon": "media/fortellis.svg"
}
]
},
"views": {
"fortellis-spec-validator": [
{
"id": "fortellis-spec-validator-view",
"name": ""
}
]
},
"configuration": {
"title": "Fortellis Spec Tools",
"properties": {
"fortellisSpec.validation.onChange": {
"type": "boolean",
"default": true,
"description": "Toggles validation for YAML documents on document change."
},
"fortellisSpec.validation.onSave": {
"type": "boolean",
"default": true,
"description": "Toggles validation for YAML documents on save."
}
}
}
}
}