Files
vscode-extension-samples/webview-sample/package.json

75 lines
1.6 KiB
JSON
Raw Permalink Normal View History

2018-04-24 15:07:32 -07:00
{
"name": "cat-coding",
"description": "Cat Coding - A Webview API Sample",
"version": "0.0.1",
"publisher": "vscode-samples",
"private": true,
"license": "MIT",
2022-07-27 10:48:32 +02:00
"enabledApiProposals": [
"contribWebviewContext"
],
"repository": {
"type": "git",
"url": "https://github.com/Microsoft/vscode-extension-samples"
},
"engines": {
"vscode": "^1.47.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:catCoding.start",
"onCommand:catCoding.doRefactor",
2022-07-27 10:48:32 +02:00
"onCommand:catCoding.foo",
"onWebviewPanel:catCoding"
],
2018-12-17 10:21:13 -08:00
"main": "./out/extension.js",
"contributes": {
2022-07-27 10:48:32 +02:00
"menus": {
"webview/context": [
{
"command": "catCoding.foo",
"when": "webview == 'catCoding' && webviewSection == nav"
},
{
"command": "catCoding.doRefactor",
"when": "webview == 'catCoding'"
}
]
},
"commands": [
{
"command": "catCoding.start",
"title": "Start cat coding session",
"category": "Cat Coding"
},
{
"command": "catCoding.doRefactor",
"title": "Do some refactoring",
"category": "Cat Coding"
2022-07-27 10:48:32 +02:00
},
{
"command": "catCoding.foo",
"title": "Do some foo",
"category": "Cat Coding"
}
]
},
"scripts": {
"vscode:prepublish": "npm run compile",
2019-05-30 18:28:15 -07:00
"compile": "tsc -p ./",
"lint": "eslint . --ext .ts,.tsx",
"watch": "tsc -w -p ./"
},
"devDependencies": {
2022-05-24 15:12:22 -07:00
"@types/node": "^16.11.7",
2021-03-02 16:02:01 -08:00
"@types/vscode": "^1.47.0",
2021-05-27 15:54:39 -07:00
"@types/vscode-webview": "^1.57.0",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
2022-04-13 15:49:42 -07:00
"eslint": "^8.13.0",
2022-05-24 15:04:19 -07:00
"typescript": "^4.7.2"
}
2018-04-24 15:07:32 -07:00
}