Skip to content

Instantly share code, notes, and snippets.

@ramsaylanier
Created February 20, 2018 20:12
Show Gist options
  • Save ramsaylanier/2f5bc4d8d2aeb675c349eb43f8c451e1 to your computer and use it in GitHub Desktop.
Save ramsaylanier/2f5bc4d8d2aeb675c349eb43f8c451e1 to your computer and use it in GitHub Desktop.
VS Code Extenstion package.json
{
"name": "gist-generator",
"displayName": "Gist Generator",
"description": "Create Gists of highlighted code",
"version": "1.0.0",
"publisher": "ramsaylanier",
"repository": "https://github.com/ramsaylanier/vs-code-gist-generator",
"license": "SEE IN LICENSE IN LICENSE",
"engines": {
"vscode": "^1.20.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.createGist"
],
"main": "./extension",
"contributes": {
"commands": [
{
"command": "extension.createGist",
"title": "Create Gist"
}
],
"menus": {
"editor/context": [
{
"command": "extension.createGist",
"group": "YourGroup@1"
}
]
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^7.0.43",
"eslint": "^4.11.0",
"request-promise": "^4.2.2",
"typescript": "^2.6.1",
"vscode": "^1.1.6"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment