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.",
|
2022-06-24 15:06:36 +00:00
|
|
|
"version": "1.16.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": [
|
|
|
|
"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"
|
2022-05-25 12:29:04 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"filenamePattern": "*.tldr.json"
|
2021-11-06 16:49:53 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2021-11-20 13:25:41 +00:00
|
|
|
"keybindings": [
|
2021-11-21 11:36:03 +00:00
|
|
|
{
|
2022-02-24 21:44:52 +00:00
|
|
|
"key": "ctrl+shift+d",
|
|
|
|
"mac": "cmd+shift+d",
|
|
|
|
"title": "Toggle Dark Mode",
|
2021-11-21 11:36:03 +00:00
|
|
|
"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
|
|
|
{
|
2022-02-24 21:44:52 +00:00
|
|
|
"key": "ctrl+numpad_add",
|
|
|
|
"mac": "cmd+numpad_add",
|
2021-11-20 13:25:41 +00:00
|
|
|
"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
|
|
|
},
|
|
|
|
{
|
2022-02-24 21:44:52 +00:00
|
|
|
"key": "ctrl+=",
|
|
|
|
"mac": "cmd+=",
|
2021-11-20 13:25:41 +00:00
|
|
|
"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
|
|
|
},
|
|
|
|
{
|
2022-02-24 21:44:52 +00:00
|
|
|
"key": "ctrl+numpad_subtract",
|
|
|
|
"mac": "cmd+numpad_subtract",
|
2021-11-20 13:25:41 +00:00
|
|
|
"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
|
|
|
},
|
|
|
|
{
|
2022-02-24 21:44:52 +00:00
|
|
|
"key": "ctrl+-",
|
|
|
|
"mac": "cmd+-",
|
2021-11-20 13:25:41 +00:00
|
|
|
"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
|
|
|
},
|
|
|
|
{
|
2022-02-24 21:44:52 +00:00
|
|
|
"key": "ctrl+numpad0",
|
|
|
|
"mac": "cmd+numpad0",
|
|
|
|
"title": "Reset Zoom",
|
2021-11-20 13:25:41 +00:00
|
|
|
"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": {
|
2022-02-03 10:57:03 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
|
|
"@typescript-eslint/parser": "^5.10.2",
|
2021-11-06 16:49:53 +00:00
|
|
|
"assert": "^2.0.0",
|
2022-02-03 10:57:03 +00:00
|
|
|
"eslint": "^8.8.0",
|
2021-11-10 15:35:51 +00:00
|
|
|
"mocha": "^9.1.1",
|
|
|
|
"process": "^0.11.10",
|
|
|
|
"ts-loader": "^9.2.5",
|
2022-06-09 14:33:35 +00:00
|
|
|
"tslib": "^2.4.0",
|
|
|
|
"typescript": "^4.7.3",
|
2021-11-10 15:35:51 +00:00
|
|
|
"vsce": "^2.2.0"
|
2021-11-17 11:54:59 +00:00
|
|
|
},
|
2022-01-07 08:55:16 +00:00
|
|
|
"gitHead": "4b1137849ad07da36fc8f0f19cb64e7535a79296"
|
2022-06-09 14:33:35 +00:00
|
|
|
}
|