forked from yokoe/vscode-postfix-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
98 lines (98 loc) · 2.37 KB
/
package.json
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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
{
"name": "vscode-postfix-go-int",
"displayName": "Golang postfix code completion",
"description": "Postfix templates for Golang",
"version": "0.0.1",
"license": "MIT",
"publisher": "p1gd0g",
"engines": {
"vscode": "^1.12.0"
},
"icon": "images/logo.png",
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/p1gd0g/vscode-postfix-go-int"
},
"bugs": {
"url": "https://github.com/p1gd0g/vscode-postfix-go-int/issues"
},
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"configuration": {
"title": "Postfix completion",
"properties": {
"postfixGo.customTemplates": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"body"
],
"properties": {
"name": {
"type": "string",
"description": "Name of the template. It will be used in auto-complete suggestions"
},
"description": {
"type": "string",
"description": "Description of the template. It will be used in auto-complete suggestions"
},
"body": {
"type": "string",
"description": "Body of the template. {{expr}} will be replaced with the expression before the cursor"
},
"when": {
"type": "array",
"description": "Context in which the template should be suggested",
"items": {
"type": "string",
"enum": [
"identifier",
"expression",
"binary-expression",
"unary-expression",
"function-call"
]
}
}
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "NODE_ENV=test node ./node_modules/vscode/bin/test",
"pretest": "node ./tasks.js pretest && tsc -p ./",
"prerun": "node ./tasks.js prerun",
"build": "npm run prerun && npm run compile"
},
"devDependencies": {
"@types/lodash": "^4.14.109",
"@types/mocha": "^5.2.0",
"@types/node": "^8.0.0",
"decache": "^4.4.0",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"remap-istanbul": "^0.11.1",
"tslint": "^5.10.0",
"tslint-config-standard": "^7.0.0",
"tslint-eslint-rules": "^5.3.1",
"vscode": "^1.1.18",
"typescript": "^2.8.3"
},
"dependencies": {
"glob": "^7.1.2",
"lodash": "^4.17.10"
}
}