aboutsummaryrefslogtreecommitdiff
path: root/package.json
blob: f1d581441eec01598d0ab1064dad881963aa2e0f (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
{
  "name": "gotools",
  "displayName": "Golang Tools",
  "description": "Tools for productive work",
  "version": "0.1.1",
  "engines": {
    "vscode": "^1.81.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"
  ],
  "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 {...}"
			}
		]
	},
  "scripts": {
    "lint": "eslint .",
    "pretest": "npm run lint",
    "test": "node ./test/runTest.js"
  },
  "devDependencies": {
    "@types/vscode": "^1.81.0",
    "@types/glob": "^8.1.0",
    "@types/mocha": "^10.0.1",
    "@types/node": "20.2.5",
    "eslint": "^8.41.0",
    "glob": "^8.1.0",
    "mocha": "^10.2.0",
    "typescript": "^5.1.3",
    "@vscode/test-electron": "^2.3.2"
  }
}