aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: ad85d181c3aaf3b0cb84e0f6f19711c20cd7d534 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
{
	"name": "gotools",
	"displayName": "Golang Tools",
	"description": "Tools for productive work",
	"version": "0.1.4",
	"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"
			}
		]
	},
	"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"
	}
}