-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
110 lines (110 loc) · 2.58 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
{
"name": "git-prefix",
"displayName": "Git Prefix",
"description": "Prefix commit message with value in branch name.",
"version": "1.3.2",
"publisher": "srmeyers",
"author": {
"name": "Samuel Meyers"
},
"license": "MIT",
"homepage": "https://github.com/srmeyers/git-prefix/blob/master/README.md",
"bugs": {
"url": "https://github.com/srmeyers/git-prefix/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/srmeyers/git-prefix.git"
},
"engines": {
"vscode": "^1.32.0"
},
"categories": [
"Other"
],
"icon": "images/icon.png",
"preview": false,
"galleryBanner": {
"color": "#f0efe7",
"theme": "light"
},
"keywords": [
"git"
],
"activationEvents": [
"onCommand:gitPrefix.setMessage"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "GitPrefix",
"properties": {
"gitPrefix.pattern": {
"type": "string",
"default": "(.*)",
"description": "A regular expression to extract from branch name. Should match entire branch."
},
"gitPrefix.patternIgnoreCase": {
"type": "boolean",
"default": false,
"description": "Ignore case in pattern."
},
"gitPrefix.replacementIsFunction": {
"type": "boolean",
"default": false,
"description": "Replacement string is a function return expression with parameters (p1, p2, p3...) matching patterns."
},
"gitPrefix.replacement": {
"type": "string",
"default": "[$1] ",
"description": "Content to place in commit message."
},
"gitPrefix.isSuffix": {
"type": "boolean",
"default": false,
"description": "Suffix the pattern instead of prefix"
}
}
},
"commands": [
{
"command": "gitPrefix.setMessage",
"title": "Git Prefix Commit Message",
"icon": {
"dark": "images/prefix-commit.svg",
"light": "images/prefix-commit_light.svg"
}
}
],
"menus": {
"scm/title": [
{
"command": "gitPrefix.setMessage",
"when": "scmProvider == git",
"group": "navigation"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile",
"test": "node ./out/test/runTest.js",
"lint": "eslint . --ext .ts"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "^15.0.2",
"@types/vscode": "^1.32.0",
"@typescript-eslint/eslint-plugin": "^6.7.4",
"@typescript-eslint/parser": "^6.7.4",
"@vscode/test-electron": "^1.6.2",
"eslint": "^8.50.0",
"glob": "^7.1.7",
"typescript": "^4.8.4"
}
}