aboutsummaryrefslogblamecommitdiff
path: root/package.json
blob: 1d0d65f664d60d2e65a3f9c3e2ba2576ae78b7b0 (plain) (tree)
1
2
3
4
5
6
7
8
9
 


                                                   
                           
                    
                                   

                              
                                      


















                                                          
                             

                                             

                                     





                                                                  












                                                                        




                                                                       




                                                                   
                         

                 





                                                


                                          

                                                  



                                       



                                           

         
{
	"name": "gotools",
	"displayName": "Golang Tools",
	"description": "Tools for productive work",
	"version": "0.1.5",
	"engines": {
		"vscode": "^1.80.0"
	},
	"publisher": "neonxp",
	"license": "GPL-3.0-or-later",
	"author": {
		"name": "Alexander NeonXP Kiryukhin",
		"email": "a.kiryukhin@mail.ru",
		"url": "https://neonxp.ru/"
	},
	"repository": {
		"type": "git",
		"url": "https://github.com/neonxp/GoTools"
	},
	"icon": "icon.png",
	"categories": [
		"Programming Languages",
		"Snippets",
		"Other"
	],
	"keywords": [
		"go",
		"golang"
	],
	"activationEvents": [
		"onLanguage:go",
		"onCommand:gotools.implement"
	],
	"main": "./src/extension.js",
	"contributes": {
		"snippets": [
			{
				"language": "go",
				"path": "./snippets/snippets.json"
			}
		],
		"menus": {
			"touchBar": [
				{
					"command": "gotools.wrap-error",
					"when": "allowWrapIferr"
				}
			]
		},
		"commands": [
			{
				"command": "gotools.wrap-error",
				"title": "if err≠nil {...}"
			},
			{
				"command": "gotools.implement",
				"title": "Implement Interface Methods",
				"category": "Go"
			},
			{
				"command": "gotools.group-imports",
				"title": "Group imports",
				"category": "Go"
			}
		]
	},
	"scripts": {
		"lint": "eslint .",
		"pretest": "npm run lint",
		"test": "node ./test/runTest.js"
	},
	"devDependencies": {
		"@types/glob": "^8.1.0",
		"@types/mocha": "^10.0.1",
		"@types/node": "20.2.5",
		"@types/vscode": "^1.80.0",
		"@vscode/test-electron": "^2.3.2",
		"eslint": "^8.41.0",
		"glob": "^8.1.0",
		"mocha": "^10.2.0",
		"typescript": "^5.1.3",
		"lodash.debounce": "^4.0.8"
	},
	"dependencies": {
		"lodash.debounce": "^4.0.8"
	}
}