1 Star 0 Fork 23

hui / vscode-drawio

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
package.json 6.34 KB
一键复制 编辑 原始数据 按行查看 历史
Henning Dieterichs 提交于 2020-07-01 15:43 . Adds keywords.
{
"name": "vscode-drawio",
"private": true,
"displayName": "Draw.io Integration",
"description": "This unofficial extension integrates Draw.io into VS Code.",
"version": "999.0.0-alpha",
"license": "GPL-3.0",
"publisher": "hediet",
"keywords": [
"drawio",
"diagram",
"visio",
"architecture",
"uml",
"code link"
],
"author": {
"email": "henning.dieterichs@live.de",
"name": "Henning Dieterichs"
},
"readme": "./README.md",
"icon": "docs/logo.drawio.png",
"engines": {
"vscode": "^1.46.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCustomEditor:hediet.vscode-drawio",
"onCustomEditor:hediet.vscode-drawio-text"
],
"repository": {
"url": "https://github.com/hediet/vscode-drawio.git"
},
"main": "./dist/extension/index",
"contributes": {
"customEditors": [
{
"viewType": "hediet.vscode-drawio",
"displayName": "Draw.io (Binary)",
"selector": [
{
"filenamePattern": "*.drawio.png"
},
{
"filenamePattern": "*.dio.png"
}
],
"priority": "default"
},
{
"viewType": "hediet.vscode-drawio-text",
"displayName": "Draw.io",
"selector": [
{
"filenamePattern": "*.drawio"
},
{
"filenamePattern": "*.dio"
},
{
"filenamePattern": "*.dio.svg"
},
{
"filenamePattern": "*.drawio.svg"
}
],
"priority": "default"
}
],
"commands": [
{
"command": "hediet.vscode-drawio.convert",
"title": "Draw.io: Convert To..."
},
{
"command": "hediet.vscode-drawio.export",
"title": "Draw.io: Export To..."
},
{
"command": "hediet.vscode-drawio.toggleCodeLinkActivation",
"title": "Draw.io: Toggle Code Link Activation"
},
{
"command": "hediet.vscode-drawio.changeTheme",
"title": "Draw.io: Change Theme"
},
{
"command": "hediet.vscode-drawio.editDiagramAsText",
"title": "Draw.io: Edit Diagram As Text (Experimental)"
},
{
"command": "hediet.vscode-drawio.linkCodeWithSelectedNode",
"title": "Draw.io: Link Code with Selected Node (Experimental)"
}
],
"keybindings": [
{
"command": "hediet.vscode-drawio.linkCodeWithSelectedNode",
"key": "shift+F3",
"when": "hediet.vscode-drawio.experimentalFeaturesEnabled"
}
],
"configuration": {
"title": "Draw.io Integration",
"properties": {
"hediet.vscode-drawio.offline": {
"type": "boolean",
"default": true,
"title": "Use Offline Mode",
"description": "When enabled, the bundled instance of Draw.io is used."
},
"hediet.vscode-drawio.codeLinkActivated": {
"type": "boolean",
"default": false,
"title": "Code Link Enabled",
"description": "When activated, selecting a node will navigate to an associated code section."
},
"hediet.vscode-drawio.local-storage": {
"anyOf": [
{
"type": "object"
},
{
"type": "string"
}
],
"default": {},
"readOnly": true,
"title": "Draw.io Local Storage",
"description": "Only change this property if you know what you are doing. Manual changes to this property are not supported!"
},
"hediet.vscode-drawio.customFonts": {
"type": "array",
"items": {
"type": "string"
},
"default": [],
"title": "Custom Fonts",
"description": "Configures the Draw.io editor to use custom fonts."
},
"hediet.vscode-drawio.customLibraries": {
"type": "array",
"items": {
"type": "object",
"properties": {
"entryId": {
"type": "string",
"description": "The id of the entry. A specfic entry can be enabled or deactivated in the editor."
},
"libName": {
"type": "string",
"description": "The name of the library in the shape overview."
}
},
"anyOf": [
{
"type": "object",
"properties": {
"url": {
"type": "string"
}
}
},
{
"type": "object",
"properties": {
"xml": {
"type": "string"
}
}
},
{
"type": "object",
"properties": {
"json": {}
}
},
{
"type": "object",
"properties": {
"file": {
"type": "string",
"description": "The file path to the library. Must be absolute. You can use ${workspaceFolder}."
}
}
}
]
},
"default": [],
"title": "Custom Libraries",
"description": "Configures the Draw.io editor to use custom libraries."
},
"hediet.vscode-drawio.online-url": {
"type": "string",
"default": "https://embed.diagrams.net/",
"title": "Online URL",
"description": "The app to use when offline mode is disabled."
},
"hediet.vscode-drawio.theme": {
"title": "Draw.io Theme",
"type": "string",
"default": "automatic",
"enum": [
"automatic",
"min",
"atlas",
"dark",
"Kennedy"
],
"description": "The theme to use for the Draw.io editor. Use \"automatic\" to automatically choose a Draw.io theme that matches your current VS Code theme."
}
}
}
},
"scripts": {
"run-script": "node ./scripts/run-script",
"lint": "yarn run-script check-version && prettier --check ./src",
"build": "yarn pre-build && vsce package --yarn --out ./vscode-drawio.vsix",
"pre-build": "webpack --mode production && webpack --mode production --config ./drawio-custom-plugins/webpack.config.ts",
"dev": "webpack --mode development --watch",
"dev-drawio-plugins": "webpack --mode development --watch --config ./drawio-custom-plugins/webpack.config.ts"
},
"devDependencies": {
"@types/node": "^13.13.5",
"@types/vscode": "1.46.0",
"@types/xml-formatter": "^1.1.0",
"clean-webpack-plugin": "^3.0.0",
"prettier": "^2.0.5",
"raw-loader": "^4.0.1",
"ts-loader": "^7.0.4",
"ts-node": "^8.10.1",
"tslint": "^6.1.2",
"typescript": "^3.8.3",
"vsce": "1.75.0",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",
"@hediet/semver": "^0.2.1",
"@actions/exec": "^1.0.4",
"@actions/github": "^2.2.0",
"@types/jsdom": "^16.2.3"
},
"dependencies": {
"@hediet/json-to-dictionary": "^0.2.1",
"@hediet/std": "0.6.0",
"@knuddels/mobx-logger": "^1.1.1",
"jsdom": "^16.2.2",
"mobx": "5.15.4",
"mobx-utils": "5.5.7",
"xml-formatter": "^2.0.1",
"xml-parser-xo": "^3.0.0"
}
}
TypeScript
1
https://gitee.com/huigg/vscode-drawio.git
git@gitee.com:huigg/vscode-drawio.git
huigg
vscode-drawio
vscode-drawio
master

搜索帮助