2021-11-06 16:49:53 +00:00
|
|
|
{
|
2021-11-10 15:35:51 +00:00
|
|
|
"name": "tldraw-vscode",
|
2021-11-16 16:09:01 +00:00
|
|
|
"displayName": "tldraw",
|
|
|
|
"description": "The tldraw Extension for VS Code.",
|
2021-11-21 12:42:32 +00:00
|
|
|
"version": "1.1.2",
|
2021-11-10 15:35:51 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"publisher": "tldraw-org",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/tldraw/tldraw"
|
|
|
|
},
|
2021-11-06 16:49:53 +00:00
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.59.0"
|
|
|
|
},
|
2021-11-10 15:35:51 +00:00
|
|
|
"keywords": [
|
|
|
|
"diagram",
|
|
|
|
"draw",
|
|
|
|
"drawing",
|
|
|
|
"sketch",
|
|
|
|
"design",
|
|
|
|
"documentation",
|
|
|
|
"tldraw"
|
|
|
|
],
|
|
|
|
"icon": "icon.png",
|
|
|
|
"galleryBanner": {
|
|
|
|
"color": "#1d1d1d",
|
|
|
|
"theme": "dark"
|
|
|
|
},
|
2021-11-06 16:49:53 +00:00
|
|
|
"categories": [
|
2021-11-10 15:35:51 +00:00
|
|
|
"Visualization"
|
2021-11-06 16:49:53 +00:00
|
|
|
],
|
|
|
|
"activationEvents": [
|
|
|
|
"onCustomEditor:tldraw.tldr",
|
|
|
|
"onCommand:tldraw.tldr.new"
|
|
|
|
],
|
|
|
|
"browser": "./dist/web/extension.js",
|
|
|
|
"main": "./dist/web/extension.js",
|
|
|
|
"extensionKind": [
|
|
|
|
"ui",
|
|
|
|
"workspace"
|
|
|
|
],
|
|
|
|
"contributes": {
|
|
|
|
"customEditors": [
|
|
|
|
{
|
|
|
|
"viewType": "tldraw.tldr",
|
2021-11-16 16:09:01 +00:00
|
|
|
"displayName": "tldraw",
|
2021-11-06 16:49:53 +00:00
|
|
|
"selector": [
|
|
|
|
{
|
|
|
|
"filenamePattern": "*.tldr"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2021-11-20 13:25:41 +00:00
|
|
|
"keybindings": [
|
2021-11-21 11:36:03 +00:00
|
|
|
{
|
|
|
|
"key": "cmd+shift+d",
|
|
|
|
"title": "Zoom In",
|
|
|
|
"command": "tldraw.tldr.toggleDarkMode",
|
|
|
|
"category": "tldraw",
|
2021-11-26 22:01:53 +00:00
|
|
|
"when": "resourceExtname == .tldr"
|
2021-11-21 11:36:03 +00:00
|
|
|
},
|
2021-11-20 13:25:41 +00:00
|
|
|
{
|
|
|
|
"key": "cmd+numpad_add",
|
|
|
|
"title": "Zoom In",
|
|
|
|
"command": "tldraw.tldr.zoomIn",
|
|
|
|
"category": "tldraw",
|
2021-11-26 22:01:53 +00:00
|
|
|
"when": "resourceExtname == .tldr"
|
2021-11-20 13:25:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "cmd+=",
|
|
|
|
"title": "Zoom In",
|
|
|
|
"command": "tldraw.tldr.zoomIn",
|
|
|
|
"category": "tldraw",
|
2021-11-26 22:01:53 +00:00
|
|
|
"when": "resourceExtname == .tldr"
|
2021-11-20 13:25:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "cmd+numpad_subtract",
|
|
|
|
"title": "Zoom Out",
|
|
|
|
"command": "tldraw.tldr.zoomOut",
|
|
|
|
"category": "tldraw",
|
2021-11-26 22:01:53 +00:00
|
|
|
"when": "resourceExtname == .tldr"
|
2021-11-20 13:25:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "cmd+-",
|
|
|
|
"title": "Zoom Out",
|
|
|
|
"command": "tldraw.tldr.zoomOut",
|
|
|
|
"category": "tldraw",
|
2021-11-26 22:01:53 +00:00
|
|
|
"when": "resourceExtname == .tldr"
|
2021-11-20 13:25:41 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "cmd+numpad0",
|
|
|
|
"title": "Zoom Out",
|
|
|
|
"command": "tldraw.tldr.resetZoom",
|
|
|
|
"category": "tldraw",
|
2021-11-26 22:01:53 +00:00
|
|
|
"when": "resourceExtname == .tldr"
|
2021-11-20 13:25:41 +00:00
|
|
|
}
|
|
|
|
],
|
2021-11-06 16:49:53 +00:00
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "tldraw.tldr.new",
|
2021-11-20 13:25:41 +00:00
|
|
|
"title": "New File",
|
2021-11-16 16:09:01 +00:00
|
|
|
"category": "tldraw"
|
2021-11-06 16:49:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
2021-11-13 08:49:34 +00:00
|
|
|
"start:vscode": "node scripts/dev",
|
2021-11-18 13:09:18 +00:00
|
|
|
"build:apps": "yarn build",
|
|
|
|
"build": "yarn package",
|
2021-11-06 16:49:53 +00:00
|
|
|
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
|
2021-11-10 15:35:51 +00:00
|
|
|
"package": "cd ../editor && yarn build && cd ../extension && node scripts/build && node scripts/package",
|
2021-11-17 11:50:30 +00:00
|
|
|
"publish": "yarn package && vsce publish",
|
2021-11-06 16:49:53 +00:00
|
|
|
"lint": "eslint src --ext ts"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@typescript-eslint/eslint-plugin": "^4.31.1",
|
|
|
|
"@typescript-eslint/parser": "^4.31.1",
|
|
|
|
"@vscode/test-web": "^0.0.12",
|
|
|
|
"assert": "^2.0.0",
|
2021-11-10 15:35:51 +00:00
|
|
|
"eslint": "^7.32.0",
|
|
|
|
"mocha": "^9.1.1",
|
|
|
|
"process": "^0.11.10",
|
|
|
|
"ts-loader": "^9.2.5",
|
2021-11-13 08:49:34 +00:00
|
|
|
"tslib": "^2.3.1",
|
2021-11-10 15:35:51 +00:00
|
|
|
"typescript": "^4.4.3",
|
|
|
|
"vsce": "^2.2.0"
|
2021-11-17 11:54:59 +00:00
|
|
|
},
|
|
|
|
"gitHead": "325008ff82bd27b63d625ad1b760f8871fb71af9"
|
2021-11-26 22:01:53 +00:00
|
|
|
}
|