tldraw/vscode/extension/package.json
Francois Laberge a95b581e07
Prepare for Publishing VS Code Extension (#227)
* Changed Wardlt use back to Tldraw. Added some VS Code marketplace categories

* Missed removing one Wardlt mention

* Initial support for esbuild based vscode extension workflow.

* Hacky start of vs code extension build script

* Fixed categories of extension

* Added script for generating VS Code extension installer

* Temp fix for file format change affecting VS Code extension

* Temp fix for file format change issue

* Cleanup, prevent changes from saving pagestates

* Remove logic around saving pageState

* standardize capitalization

* v0.1.8

* Edit readme, scripts

* Update .eslintignore

* v0.1.9

* v0.1.10

* cleans up build scripts, adds publishing notes

* Added VS Code extension implementation references links. start:vscode now auto opens the extension folder in VS Code

* Removed step from VS Code README to manually open the extensions folder

* Removed file

* v0.1.11

* v0.1.12

* Fix empty file

* v0.1.13

* README cleanup

* v0.1.14

* Update TLDrawEditorProvider.ts

* v0.1.15

* Fix types for file extension (sort of) build script for extension

Co-authored-by: Steve Ruiz <steveruizok@gmail.com>
2021-11-10 15:35:51 +00:00

84 lines
1.8 KiB
JSON

{
"name": "tldraw-vscode",
"displayName": "TLDraw",
"description": "The TLDraw Extension for VS Code.",
"version": "0.1.15",
"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": [
"ui",
"workspace"
],
"contributes": {
"customEditors": [
{
"viewType": "tldraw.tldr",
"displayName": "TLDraw",
"selector": [
{
"filenamePattern": "*.tldr"
}
]
}
],
"commands": [
{
"command": "tldraw.tldr.new",
"title": "New TLDraw File",
"category": "TLDraw"
}
]
},
"scripts": {
"start:vscode": "node scripts/dev & yarn types:dev",
"types:dev": "tsc -w",
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
"package": "cd ../editor && yarn build && cd ../extension && node scripts/build && node scripts/package",
"vscode:publish": "yarn version && yarn package && vsce publish",
"lint": "eslint src --ext ts"
},
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"@vscode/test-web": "^0.0.12",
"assert": "^2.0.0",
"eslint": "^7.32.0",
"mocha": "^9.1.1",
"process": "^0.11.10",
"ts-loader": "^9.2.5",
"typescript": "^4.4.3",
"vsce": "^2.2.0"
}
}