2023-04-25 11:01:25 +00:00
|
|
|
{
|
|
|
|
"name": "tldraw-vscode",
|
|
|
|
"description": "The tldraw extension for VS Code.",
|
|
|
|
"version": "2.0.5",
|
|
|
|
"private": true,
|
|
|
|
"packageManager": "yarn@3.5.0",
|
|
|
|
"author": {
|
|
|
|
"name": "tldraw GB Ltd.",
|
|
|
|
"email": "hello@tldraw.com"
|
|
|
|
},
|
|
|
|
"homepage": "https://tldraw.dev",
|
|
|
|
"license": "Apache-2.0",
|
|
|
|
"repository": {
|
|
|
|
"type": "git",
|
|
|
|
"url": "https://github.com/tldraw/tldraw"
|
|
|
|
},
|
|
|
|
"bugs": {
|
|
|
|
"url": "https://github.com/tldraw/tldraw/issues"
|
|
|
|
},
|
|
|
|
"keywords": [
|
|
|
|
"tldraw",
|
|
|
|
"drawing",
|
|
|
|
"app",
|
|
|
|
"development",
|
|
|
|
"whiteboard",
|
|
|
|
"canvas",
|
|
|
|
"infinite"
|
|
|
|
],
|
|
|
|
"displayName": "tldraw",
|
|
|
|
"publisher": "tldraw-org",
|
|
|
|
"icon": "icon.png",
|
|
|
|
"galleryBanner": {
|
|
|
|
"color": "#1d1d1d",
|
|
|
|
"theme": "dark"
|
|
|
|
},
|
|
|
|
"categories": [
|
|
|
|
"Visualization"
|
|
|
|
],
|
|
|
|
"engines": {
|
|
|
|
"vscode": "^1.75.1"
|
|
|
|
},
|
|
|
|
"activationEvents": [],
|
|
|
|
"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 Project",
|
|
|
|
"category": "tldraw"
|
|
|
|
}
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"vsce": {
|
|
|
|
"dependencies": false
|
|
|
|
},
|
|
|
|
"scripts": {
|
2023-05-05 13:10:36 +00:00
|
|
|
"dev": "tsx scripts/dev.ts",
|
2023-04-25 11:01:25 +00:00
|
|
|
"build": "cd ../editor && yarn build && cd ../extension && tsx scripts/build.ts",
|
|
|
|
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
|
|
|
|
"package": "yarn build && tsx scripts/package.ts",
|
|
|
|
"publish": "vsce publish",
|
|
|
|
"lint": "yarn run -T tsx ../../../scripts/lint.ts",
|
|
|
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf editor && rm -rf temp & yarn"
|
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@tldraw/editor": "workspace:*",
|
|
|
|
"@tldraw/file-format": "workspace:*",
|
|
|
|
"@tldraw/tlstore": "workspace:*",
|
|
|
|
"@types/fs-extra": "^11.0.1",
|
|
|
|
"@types/node-fetch": "^2.6.2",
|
|
|
|
"@types/vscode": "^1.75.1",
|
|
|
|
"@typescript-eslint/eslint-plugin": "^5.10.2",
|
|
|
|
"@typescript-eslint/parser": "^5.10.2",
|
|
|
|
"assert": "^2.0.0",
|
|
|
|
"esbuild": "^0.16.7",
|
|
|
|
"fs-extra": "^11.1.0",
|
2023-05-02 12:25:26 +00:00
|
|
|
"lazyrepo": "0.0.0-alpha.26",
|
2023-04-25 11:01:25 +00:00
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"mocha": "^9.1.1",
|
|
|
|
"process": "^0.11.10",
|
|
|
|
"ts-loader": "^9.2.5",
|
|
|
|
"tslib": "^2.4.0",
|
|
|
|
"tsx": "^3.12.6",
|
|
|
|
"vsce": "^2.15.0"
|
|
|
|
},
|
|
|
|
"gitHead": "4b1137849ad07da36fc8f0f19cb64e7535a79296",
|
|
|
|
"dependencies": {
|
2023-05-11 11:55:00 +00:00
|
|
|
"nanoid": "4.0.2",
|
2023-04-25 11:01:25 +00:00
|
|
|
"node-fetch": "^2.0.0"
|
|
|
|
}
|
|
|
|
}
|