Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
119 lines (119 loc) · 3.35 KB
/
Copy pathpackage.json
File metadata and controls
119 lines (119 loc) · 3.35 KB
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
{
"name": "git-multiuser",
"displayName": "Git Multiuser",
"description": "git config user.name and user.email shortcut. Shared computer use of multiple user.name/user.email combinations.",
"version": "1.0.0",
"publisher": "tssmith7",
"icon": "images/git-multiuser.png",
"repository": {
"type": "git",
"url": "https://github.com/tssmith7/git-multiuser.git"
},
"license": "0BSD",
"engines": {
"vscode": "^1.77.0"
},
"categories": [
"Other"
],
"activationEvents": [ "onStartupFinished" ],
"main": "./out/extension.js",
"contributes": {
"submenus": [
{
"id": "gituser.submenu",
"label": "Git User"
}
],
"menus": {
"scm/title": [
{
"submenu": "gituser.submenu",
"when": "scmProvider == git"
}
],
"gituser.submenu": [
{
"command": "git-multiuser.setGitUser",
"group": "gmu@1",
"when": "scmProvider == git"
},
{
"command": "git-multiuser.deleteConfig",
"group": "gmu@2",
"when": "scmProvider == git"
}
]
},
"commands": [
{
"command": "git-multiuser.setGitUser",
"title": "Set/Add Git User/Email",
"category": "git-multiuser",
"when": "scmProvider == git"
},
{
"command": "git-multiuser.deleteConfig",
"title": "Delete User/Email Entries",
"category": "git-multiuser",
"when": "scmProvider == git"
}
],
"configuration": {
"type": "object",
"title": "git-multiuser configuration",
"properties": {
"git-multiuser.userEmailConfigList": {
"type": "array",
"items": {
"type": "object",
"title": "inner objects",
"properties": {
"user.email": {
"type": "string",
"description": "email associated with git account"
},
"user.name": {
"type": "string",
"description": "name associated with git account"
}
}
},
"default": [],
"description": "List of user.name/user.email pairs used for setting global git configs."
},
"git-multiuser.useNoreplyEmail": {
"type": "boolean",
"default": true,
"description": "Automatically generate associated user@users.noreply.github.com email."
},
"git-multiuser.unsetUserEmailOnStartup": {
"type": "boolean",
"default": true,
"description": "CLear the user.name and user.email on VScode Startup."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.77.0",
"@types/glob": "^8.1.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@typescript-eslint/eslint-plugin": "^5.56.0",
"@typescript-eslint/parser": "^5.56.0",
"eslint": "^8.36.0",
"glob": "^8.1.0",
"mocha": "^10.2.0",
"typescript": "^4.9.5",
"@vscode/test-electron": "^2.3.0"
}
}