2018-04-24 15:07:32 -07:00
|
|
|
{
|
2018-10-08 15:37:24 -07:00
|
|
|
"name": "cat-coding",
|
|
|
|
|
"description": "Cat Coding - A Webview API Sample",
|
|
|
|
|
"version": "0.0.1",
|
2018-10-15 11:52:55 -07:00
|
|
|
"publisher": "vscode-samples",
|
2021-06-11 17:10:40 -07:00
|
|
|
"private": true,
|
|
|
|
|
"license": "MIT",
|
2022-07-27 10:48:32 +02:00
|
|
|
"enabledApiProposals": [
|
|
|
|
|
"contribWebviewContext"
|
|
|
|
|
],
|
2021-06-11 17:10:40 -07:00
|
|
|
"repository": {
|
|
|
|
|
"type": "git",
|
|
|
|
|
"url": "https://github.com/Microsoft/vscode-extension-samples"
|
|
|
|
|
},
|
2018-10-08 15:37:24 -07:00
|
|
|
"engines": {
|
2020-08-06 13:55:57 -07:00
|
|
|
"vscode": "^1.47.0"
|
2018-10-08 15:37:24 -07:00
|
|
|
},
|
|
|
|
|
"categories": [
|
|
|
|
|
"Other"
|
|
|
|
|
],
|
|
|
|
|
"activationEvents": [
|
|
|
|
|
"onCommand:catCoding.start",
|
|
|
|
|
"onCommand:catCoding.doRefactor",
|
2022-07-27 10:48:32 +02:00
|
|
|
"onCommand:catCoding.foo",
|
2018-10-08 15:37:24 -07:00
|
|
|
"onWebviewPanel:catCoding"
|
|
|
|
|
],
|
2018-12-17 10:21:13 -08:00
|
|
|
"main": "./out/extension.js",
|
2018-10-08 15:37:24 -07:00
|
|
|
"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'"
|
|
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
2018-10-08 15:37:24 -07:00
|
|
|
"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"
|
2018-10-08 15:37:24 -07:00
|
|
|
}
|
|
|
|
|
]
|
|
|
|
|
},
|
|
|
|
|
"scripts": {
|
2019-05-09 14:50:48 -07:00
|
|
|
"vscode:prepublish": "npm run compile",
|
2019-05-30 18:28:15 -07:00
|
|
|
"compile": "tsc -p ./",
|
2020-05-29 13:12:13 -07:00
|
|
|
"lint": "eslint . --ext .ts,.tsx",
|
2019-05-09 14:50:48 -07:00
|
|
|
"watch": "tsc -w -p ./"
|
2018-10-08 15:37:24 -07:00
|
|
|
},
|
|
|
|
|
"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",
|
2022-06-28 15:25:09 -07:00
|
|
|
"@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-10-08 15:37:24 -07:00
|
|
|
}
|
2018-04-24 15:07:32 -07:00
|
|
|
}
|