25f39a65fc
* Update turbo to latest * Update turbo.json * The --stream flag has been deprecated * Remove unused start:all * build:packages -> use new --filter * build:apps -> use new --filter * build:www -> use new --filter * build:core -> use new --filter * build -> fix tldraw-example dependencies * Optimize test* and lint * start & start:core -> use new --filter * start:electron -> use new --filter * Remove unused start:apps * Update turbo.json * Caching ESLint See Pro Tip : https://turborepo.org/docs/core-concepts/caching#configuring-cache-outputs * Optimize test:watch * start:www -> use new filter * start:vscode -> use new filter * Update build:core * Optimize start and start:core * Clean build:core * Remove unused command * Revert "Merge branch 'main' into chore/update-turbo" This reverts commit a481c242054504c9b8452822df8c452c24bcdfbd, reversing changes made to a0f2f337b3d00974741effd4faae699ce493d3a2. * Update start:electron * Remove unused deploy in turbo.json * Add start:extension * Add package:electron and package:vscode * Add publish:vscode * Revet Revert: revert "Merge branch 'main' into chore/update-turbo" * Update vscode extension build * Clean tldraw-example tsconfig.json * Uniform script commands * Fix start for www * remove mention of removed packages * add build:core * Add force to build step Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
136 lines
3.3 KiB
JSON
136 lines
3.3 KiB
JSON
{
|
|
"name": "tldraw-vscode",
|
|
"displayName": "tldraw",
|
|
"description": "The tldraw Extension for VS Code.",
|
|
"version": "1.19.0",
|
|
"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": {
|
|
"dev": "node scripts/dev",
|
|
"build": "node scripts/build",
|
|
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
|
|
"package": "node scripts/package",
|
|
"publish": "vsce publish",
|
|
"lint": "TIMING=1 eslint src/ --ext ts",
|
|
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf editor && rm -rf temp"
|
|
},
|
|
"devDependencies": {
|
|
"@tldraw/tldraw": "*",
|
|
"@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"
|
|
}
|