-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
93 lines (93 loc) · 3.17 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
{
"name": "vscode-wireviz-preview",
"displayName": "WireViz Preview",
"description": "Previewer for WireViz YAML files",
"version": "1.1.0",
"publisher": "NanangP",
"icon": "img/icon.png",
"repository": { "type": "git", "url": "https://github.com/nanangp/vscode-wireviz-preview" },
"engines": { "vscode": "^1.50.0" },
"categories": [ "Visualization", "Programming Languages" ],
"keywords": [ "wireviz", "preview" ],
"license": "GPL-3.0-only",
"activationEvents": [],
"main": "./out/extension.js",
"contributes": {
"commands": [
{
"command": "wireviz.showPreview",
"title": "WireViz: Preview"
}
],
"menus": {
"editor/title": [
{
"when": "resourceLangId == yaml",
"command": "wireviz.showPreview",
"group": "navigation"
}
]
},
"keybindings": [
{
"key": "f8",
"command": "wireviz.showPreview",
"when": "editorTextFocus && resourceLangId == yaml"
}
],
"configuration": {
"title": "WireViz",
"properties": {
"wireviz.refreshPreviewOnSave": {
"type": "boolean",
"default": true,
"description": "Refresh WireViz preview on document save. (may be slow for large documents)"
},
"wireviz.outputFormats": {
"markdownDescription": "Argument to `-f, --format`: A string containing one or more of the following characters to specify which file types to output: `g` (GV), `h` (HTML), `p` (PNG), `s` (SVG), `t` (TSV).\n\nNOTE: `s` (SVG) is always specified as it's the format used by the preview.\n\nExample: `hg` will generate HTML, GV, *and* SVG.",
"type": "string",
"default": ""
},
"wireviz.outputDir": {
"markdownDescription": "Argument to `-o, --output-dir`: Directory to use for output files. Leave blank to use input file directory.",
"type": "string",
"default": ""
},
"wireviz.outputName": {
"markdownDescription": "Argument to `-O, --output-name`: File name (without extension) to use for output files, if different from input file name.",
"type": "string",
"default": ""
},
"wireviz.prepend": {
"markdownDescription": "Argument to `-p, --prepend`: YAML file to prepend to the input file.",
"type": "string",
"default": ""
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run esbuild-base -- --minify",
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild": "npm run esbuild-base -- --sourcemap",
"esbuild-watch": "npm run esbuild-base -- --sourcemap --watch",
"lint": "eslint src --ext ts"
},
"dependencies": {
"await-spawn": "4.x",
"semver": "7.x"
},
"devDependencies": {
"@types/mocha": "10.x",
"@types/node": "18.x",
"@types/vscode": "1.x",
"@typescript-eslint/eslint-plugin": "6.x",
"@typescript-eslint/parser": "6.x",
"@vscode/test-electron": "2.x",
"esbuild": "^0.21.0",
"eslint": "8.x",
"glob": "10.x",
"mocha": "10.x",
"typescript": "5.x"
}
}