58 lines
1.4 KiB
JSON
58 lines
1.4 KiB
JSON
{
|
|
"name": "my-extension",
|
|
"displayName": "My Extension",
|
|
"description": "A sample extension to open a full-screen webview.",
|
|
"version": "1.0.0",
|
|
"publisher": "your-publisher-name",
|
|
"engines": {
|
|
"vscode": "^1.96.0"
|
|
},
|
|
"activationEvents": [
|
|
"onCommand:myExtension.openWebview"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "myExtension.openWebview",
|
|
"title": "Open Full-Screen Webview"
|
|
}
|
|
],
|
|
"viewsContainers": {
|
|
"activitybar": [
|
|
{
|
|
"id": "myExtension",
|
|
"title": "My Extension",
|
|
"icon": "resources/kline.svg"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"myExtension": [
|
|
{
|
|
"id": "myExtensionView",
|
|
"name": "My Extension"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint src",
|
|
"test": "vscode-test"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.96.0",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "20.x",
|
|
"@typescript-eslint/eslint-plugin": "^8.17.0",
|
|
"@typescript-eslint/parser": "^8.17.0",
|
|
"eslint": "^9.16.0",
|
|
"typescript": "^5.7.2",
|
|
"@vscode/test-cli": "^0.0.10",
|
|
"@vscode/test-electron": "^2.4.1"
|
|
}
|
|
} |