-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
113 lines (113 loc) · 3.73 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
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "frigg",
"displayName": "FriGG",
"description": "Parmetrize your scripts via pre-processor replacement.",
"version": "0.2.3",
"publisher": "bigonazzi",
"license": "Apache-2.0",
"engines": {
"vscode": "^1.21.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:frigg.replaceParameters",
"onCommand:frigg.replaceParamsToFile",
"onCommand:frigg.generateScriptFromParams",
"onCommand:frigg.downloadTemplates"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "FriGG",
"properties": {
"frigg.parameterPattern": {
"scope": "resource",
"type": "string",
"default": "@@([^@\\s]+)@@",
"description": "The pattern of params to replace."
},
"frigg.templatesFolder": {
"scope": "resource",
"type": "string",
"default": "~/templates",
"description": "FriGG will look up templates in this folder."
},
"frigg.templatesUrl": {
"scope": "resource",
"type": "string",
"default": "https://api.github.com/repos/bigonazzi/Frigg/contents/templates",
"description": "FriGG will download default templates from this github page."
},
"frigg.deleteMissingParams": {
"scope": "resource",
"type": "boolean",
"default": true,
"description": "If true automatically deletes outdated parameters from the value file."
}
}
},
"commands": [
{
"command": "frigg.replaceParameters",
"title": "Replace script parameters",
"category": "FriGG"
},
{
"command": "frigg.replaceParamsToFile",
"title": "Replace scripts parameters (save to file)",
"category": "FriGG"
},
{
"command": "frigg.generateScriptFromParams",
"title": "Generate script using a template file",
"category": "FriGG"
},
{
"command": "frigg.downloadTemplates",
"title": "Download published templates",
"category": "FriGG"
}
],
"menus": {
"editor/context": [
{
"command": "frigg.replaceParameters",
"category": "FriGG"
},
{
"command": "frigg.replaceParamsToFile",
"category": "FriGG"
},
{
"command": "frigg.generateScriptFromParams",
"category": "FriGG",
"when": "resourceLangId == json"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "npm run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"vscode": "^1.1.6",
"tslint": "^5.8.0",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"request": "^2.85.0",
"typescript": "^2.6.1"
},
"repository": {
"type": "git",
"url": "https://github.com/bigonazzi/Frigg.git"
}
}