-
Notifications
You must be signed in to change notification settings - Fork 11
/
package.json
172 lines (172 loc) · 5.6 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
{
"name": "git-semantic-commit",
"version": "2.0.0",
"license": "MIT",
"author": "Nitay Neeman",
"description": "💬 A Visual Studio Code extension which enables to commit simply by the semantic message conventions",
"homepage": "https://github.com/nitayneeman/vscode-git-semantic-commit",
"keywords": [
"Git",
"Semantic",
"Commit",
"Message"
],
"repository": {
"type": "git",
"url": "https://github.com/nitayneeman/vscode-git-semantic-commit.git"
},
"bugs": "https://github.com/nitayneeman/vscode-git-semantic-commit/issues",
"displayName": "Git - Semantic Commit",
"publisher": "nitayneeman",
"icon": "images/logo.png",
"galleryBanner": {
"color": "#eae9e1",
"theme": "light"
},
"engines": {
"vscode": "^1.39.0"
},
"categories": [
"Other"
],
"badges": [
{
"description": "Build",
"url": "https://travis-ci.com/nitayneeman/vscode-git-semantic-commit.svg?token=vHfpxFNvotCsScqrpvMs&branch=master",
"href": "https://travis-ci.com/nitayneeman/vscode-git-semantic-commit"
}
],
"activationEvents": [
"*"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Git - Semantic Commit",
"properties": {
"gitSemanticCommit.commitOptions": {
"type": "string",
"default": "--quiet",
"markdownDescription": "Specifies which [arguments](https://git-scm.com/docs/git-commit#_options) to be passed when the commit is executed."
},
"gitSemanticCommit.preserveScope": {
"type": "boolean",
"default": false,
"markdownDescription": "Determines whether to preserve the last message scope that was inserted."
},
"gitSemanticCommit.scopeTemplate": {
"type": "string",
"default": "($scope)",
"markdownDescription": "Specifies scope template (`$scope` placeholder will be replaced with the passed scope). Check out [this](https://github.com/nitayneeman/vscode-git-semantic-commit#customize-your-scope) example."
},
"gitSemanticCommit.stageAll": {
"type": "boolean",
"default": true,
"markdownDescription": "Determines whether to stage all changes before the commit, in case the staging area (index) is empty."
},
"gitSemanticCommit.types": {
"type": "array",
"default": [
{
"type": "build",
"description": "Development changes related to the build system"
},
{
"type": "ci",
"description": "Development changes related to the continuous integration and deployment system"
},
{
"type": "docs",
"description": "Documentation changes related to the project"
},
{
"type": "feat",
"description": "Production changes related to new backward-compatible abilities or functionality"
},
{
"type": "fix",
"description": "Production changes related to backward-compatible bug fixes"
},
{
"type": "perf",
"description": "Production changes related to backward-compatible performance improvements"
},
{
"type": "refactor",
"description": "Development changes related to modifying the codebase"
},
{
"type": "style",
"description": "Development changes related to styling the codebase"
},
{
"type": "test",
"description": "Development changes related to tests"
}
],
"items": {
"type": [
"string",
"object"
],
"description": "Can be either a string, or an object. If an object, use type for the commit type, and description to give a short description for the particular commit type."
},
"minItems": 1,
"uniqueItems": true,
"markdownDescription": "Specifies the supported message types. Check out [this](https://github.com/nitayneeman/vscode-git-semantic-commit#customize-your-types) example."
}
}
},
"commands": [
{
"command": "gitSemanticCommit.semanticCommit",
"title": "Semantic Commit",
"category": "Git",
"icon": {
"dark": "images/navigation/dark-icon.svg",
"light": "images/navigation/light-icon.svg"
}
}
],
"menus": {
"commandPalette": [
{
"command": "gitSemanticCommit.semanticCommit",
"when": "config.git.enabled && gitOpenRepositoryCount != 0"
}
],
"scm/title": [
{
"command": "gitSemanticCommit.semanticCommit",
"when": "scmProvider == git",
"group": "navigation"
},
{
"command": "gitSemanticCommit.semanticCommit",
"when": "scmProvider == git",
"group": "4_commit"
}
]
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && git init test-temp --quiet",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.1",
"@types/mocha": "^5.2.7",
"@types/node": "^12.11.1",
"@types/vscode": "^1.39.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.4",
"mocha": "^6.2.2",
"tslint": "^5.20.0",
"typescript": "^3.6.4",
"vscode-test": "^1.2.0"
}
}