2021-11-06 16:49:53 +00:00
|
|
|
{
|
2022-07-28 07:19:53 +00:00
|
|
|
"name": "tldraw-vscode",
|
|
|
|
"displayName": "tldraw",
|
|
|
|
"description": "The tldraw Extension for VS Code.",
|
2022-10-26 13:06:20 +00:00
|
|
|
"version": "1.25.0",
|
2022-07-28 07:19:53 +00:00
|
|
|
"license": "MIT",
|
|
|
|
"publisher": "tldraw-org",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/tldraw/tldraw"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.59.0"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"diagram",
|
|
|
|
"draw",
|
|
|
|
"drawing",
|
|
|
|
"sketch",
|
|
|
|
"design",
|
|
|
|
"documentation",
|
|
|
|
"tldraw"
|
|
|
|
],
|
|
|
|
"icon": "icon.png",
|
|
|
|
"galleryBanner": {
|
|
|
|
"color": "#1d1d1d",
|
|
|
|
"theme": "dark"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Visualization"
|
|
|
|
],
|
|
|
|
"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",
|
|
|
|
"displayName": "tldraw",
|
|
|
|
"selector": [
|
|
|
|
{
|
|
|
|
"filenamePattern": "*.tldr"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"filenamePattern": "*.tldr.json"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"key": "ctrl+shift+d",
|
|
|
|
"mac": "cmd+shift+d",
|
|
|
|
"title": "Toggle Dark Mode",
|
|
|
|
"command": "tldraw.tldr.toggleDarkMode",
|
|
|
|
"category": "tldraw",
|
|
|
|
"when": "resourceExtname == .tldr"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+numpad_add",
|
|
|
|
"mac": "cmd+numpad_add",
|
|
|
|
"title": "Zoom In",
|
|
|
|
"command": "tldraw.tldr.zoomIn",
|
|
|
|
"category": "tldraw",
|
|
|
|
"when": "resourceExtname == .tldr"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+=",
|
|
|
|
"mac": "cmd+=",
|
|
|
|
"title": "Zoom In",
|
|
|
|
"command": "tldraw.tldr.zoomIn",
|
|
|
|
"category": "tldraw",
|
|
|
|
"when": "resourceExtname == .tldr"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+numpad_subtract",
|
|
|
|
"mac": "cmd+numpad_subtract",
|
|
|
|
"title": "Zoom Out",
|
|
|
|
"command": "tldraw.tldr.zoomOut",
|
|
|
|
"category": "tldraw",
|
|
|
|
"when": "resourceExtname == .tldr"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+-",
|
|
|
|
"mac": "cmd+-",
|
|
|
|
"title": "Zoom Out",
|
|
|
|
"command": "tldraw.tldr.zoomOut",
|
|
|
|
"category": "tldraw",
|
|
|
|
"when": "resourceExtname == .tldr"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"key": "ctrl+numpad0",
|
|
|
|
"mac": "cmd+numpad0",
|
|
|
|
"title": "Reset Zoom",
|
|
|
|
"command": "tldraw.tldr.resetZoom",
|
|
|
|
"category": "tldraw",
|
|
|
|
"when": "resourceExtname == .tldr"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"commands": [
|
|
|
|
{
|
|
|
|
"command": "tldraw.tldr.new",
|
|
|
|
"title": "New File",
|
|
|
|
"category": "tldraw"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"scripts": {
|
2022-08-11 06:08:32 +00:00
|
|
|
"dev": "node scripts/dev",
|
|
|
|
"build": "node scripts/build",
|
2022-07-28 07:19:53 +00:00
|
|
|
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
|
2022-08-11 06:08:32 +00:00
|
|
|
"package": "node scripts/package",
|
|
|
|
"publish": "vsce publish",
|
|
|
|
"lint": "TIMING=1 eslint src/ --ext ts",
|
2022-08-02 13:57:00 +00:00
|
|
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf editor && rm -rf temp"
|
2022-07-28 07:19:53 +00:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
2022-08-11 06:08:32 +00:00
|
|
|
"@tldraw/tldraw": "*",
|
2022-07-28 07:19:53 +00:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
|
|
"assert": "^2.0.0",
|
|
|
|
"mocha": "^9.1.1",
|
|
|
|
"process": "^0.11.10",
|
|
|
|
"ts-loader": "^9.2.5",
|
|
|
|
"tslib": "^2.4.0",
|
|
|
|
"typescript": "^4.7.3",
|
|
|
|
"vsce": "^2.2.0"
|
|
|
|
},
|
|
|
|
"gitHead": "4b1137849ad07da36fc8f0f19cb64e7535a79296"
|
|
|
|
}
|