forked from emeraldwalk/vscode-runonsave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
96 lines (96 loc) · 2.46 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
{
"name": "RunOnSave",
"displayName": "Run on Save",
"description": "Run commands when a file is saved in vscode.",
"icon": "images/save-icon.svg",
"galleryBanner": {
"color": "#5c2d91",
"theme": "light"
},
"version": "0.0.16",
"publisher": "emeraldwalk",
"license": "See LICENSE file",
"homepage": "https://github.com/emeraldwalk/vscode-runonsave/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/emeraldwalk/vscode-runonsave.git"
},
"bugs": {
"url": "https://github.com/emeraldwalk/vscode-runonsave/issues"
},
"engines": {
"vscode": "^0.10.1"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./out/src/extension",
"contributes": {
"commands": [{
"command": "extension.emeraldwalk.enableRunOnSave",
"title": "Run On Save: Enable"
},{
"command": "extension.emeraldwalk.disableRunOnSave",
"title": "Run On Save: Disable"
}],
"configuration": {
"title": "Run On Save command configuration.",
"type": "object",
"properties": {
"emeraldwalk.runonsave": {
"type": "object",
"properties": {
"autoClearConsole": {
"type": "boolean",
"description": "Automatically clear the console on each save before running commands.",
"default": false
},
"shell": {
"type": "string",
"description": "Specify shell path to run commands (gets used in options arg passed to child_process.exec)."
},
"commands": {
"type": "array",
"items": {
"type": "object",
"properties": {
"match": {
"type": "string",
"description": "Regex for matching files to run commands on.",
"default": ".*"
},
"notMatch": {
"type": "string",
"description": "Regex for matching files *not* to run commands on.",
"default": ".*"
},
"cmd": {
"type": "string",
"description": "Command to execute on save.",
"default": "echo ${file}"
},
"isAsync": {
"type": "boolean",
"description": "Run command asynchronously.",
"default": false
}
}
}
}
}
}
}
}
},
"scripts": {
"vscode:prepublish": "node ./node_modules/vscode/bin/compile",
"compile": "node ./node_modules/vscode/bin/compile -watch -p ./"
},
"devDependencies": {
"typescript": "^1.6.2",
"vscode": "0.10.x"
}
}