70 lines
1.7 KiB
JSON
70 lines
1.7 KiB
JSON
|
{
|
||
|
"name": "wardlt",
|
||
|
"displayName": "Wardlt Editor",
|
||
|
"description": "The wardlt editor for VS Code",
|
||
|
"version": "0.10.0",
|
||
|
"publisher": "Wardlt",
|
||
|
"repository": "https://github.com/microsoft/vscode-extension-samples/helloworld-web-sample",
|
||
|
"engines": {
|
||
|
"vscode": "^1.59.0"
|
||
|
},
|
||
|
"categories": [
|
||
|
"Other"
|
||
|
],
|
||
|
"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": "Tldr Editor",
|
||
|
"selector": [
|
||
|
{
|
||
|
"filenamePattern": "*.tldr"
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
],
|
||
|
"commands": [
|
||
|
{
|
||
|
"command": "tldraw.tldr.new",
|
||
|
"title": "Create a new .tldr file",
|
||
|
"category": "Tldraw"
|
||
|
}
|
||
|
]
|
||
|
},
|
||
|
"scripts": {
|
||
|
"test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js",
|
||
|
"web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.",
|
||
|
"pretest": "npm run compile-web",
|
||
|
"vscode:prepublish": "npm run package-web",
|
||
|
"compile-web": "webpack",
|
||
|
"watch-web": "webpack --watch",
|
||
|
"package-web": "webpack --mode production --devtool hidden-source-map",
|
||
|
"lint": "eslint src --ext ts"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@types/vscode": "^1.59.0",
|
||
|
"@types/mocha": "^9.0.0",
|
||
|
"eslint": "^7.32.0",
|
||
|
"@typescript-eslint/eslint-plugin": "^4.31.1",
|
||
|
"@typescript-eslint/parser": "^4.31.1",
|
||
|
"mocha": "^9.1.1",
|
||
|
"typescript": "^4.4.3",
|
||
|
"@vscode/test-web": "^0.0.12",
|
||
|
"ts-loader": "^9.2.5",
|
||
|
"webpack": "^5.52.1",
|
||
|
"webpack-cli": "^4.8.0",
|
||
|
"@types/webpack-env": "^1.16.2",
|
||
|
"assert": "^2.0.0",
|
||
|
"process": "^0.11.10"
|
||
|
}
|
||
|
}
|