Skip to content

Instantly share code, notes, and snippets.

@karrtikr
Created September 27, 2022 23:15
Show Gist options
  • Save karrtikr/0c1a201fcdddcf4146ac523b3de26227 to your computer and use it in GitHub Desktop.
Save karrtikr/0c1a201fcdddcf4146ac523b3de26227 to your computer and use it in GitHub Desktop.
karrtikr extension
{
"name": "karrtikr-web-sample",
"displayName": "karrtikr-web-sample",
"description": "Kartiks HelloWorld example for VS Code in the browser",
"version": "0.0.2",
"publisher": "karrtikr",
"private": true,
"license": "MIT",
"repository": "https://github.com/microsoft/vscode-extension-samples/helloworld-web-sample",
"engines": {
"vscode": "^1.59.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:helloworld-web-sample.helloWorld"
],
"browser": "./dist/web/extension.js",
"contributes": {
"commands": [
{
"command": "helloworld-web-sample.helloWorld",
"title": "Hello World"
},
{
"command": "helloworld-web-sample.helloWorldtwo",
"title": "My World"
}
],
"menus": {
"commandPalette": [
{
"command": "helloworld-web-sample.helloWorldtwo",
"title": "My World",
"when": "isMobile"
},
{
"command": "helloworld-web-sample.helloWorld",
"title": "Hello World"
}
]
}
},
"scripts": {
"test": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=. --extensionTestsPath=dist/web/test/suite/index.js",
"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/mocha": "^9.0.0",
"@types/vscode": "^1.59.0",
"@types/webpack-env": "^1.16.2",
"@typescript-eslint/eslint-plugin": "^5.30.0",
"@typescript-eslint/parser": "^5.30.0",
"@vscode/test-web": "^0.0.22",
"assert": "^2.0.0",
"eslint": "^8.13.0",
"mocha": "^9.2.0",
"process": "^0.11.10",
"ts-loader": "^9.2.5",
"typescript": "^4.7.2",
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment