-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
112 lines (112 loc) · 3.71 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
{
"name": "git-backup-sync",
"displayName": "Git Backup & Sync",
"description": "Backup and sync your wip(work in progress) through git",
"version": "0.4.0",
"publisher": "max-yu",
"repository": {
"type": "git",
"url": "https://github.com/maxyu1115/git-backup-sync.git"
},
"engines": {
"vscode": "^1.74.0"
},
"categories": [
"Other"
],
"icon": "images/icon.png",
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "git-backup-sync.createBackupBranch",
"title": "Git Backup & Sync: Create Backup Branch"
},
{
"command": "git-backup-sync.retireBackupBranch",
"title": "Git Backup & Sync: Retire Backup Branch"
},
{
"command": "git-backup-sync.syncBackupBranch",
"title": "Git Backup & Sync: Sync Backup Branch"
},
{
"command": "git-backup-sync.backup",
"title": "Git Backup & Sync: Backup"
},
{
"command": "git-backup-sync.loadBackup",
"title": "Git Backup & Sync: Load Backup"
}
],
"configuration": {
"type": "object",
"title": "Git Backup & Sync",
"properties": {
"git-backup-sync.defaultAutoBackupBranches": {
"type": "boolean",
"default": false,
"description": "Unless overrided for specific branches, auto backup every branch"
},
"git-backup-sync.defaultBackupUpstreamName": {
"type": "string",
"default": "origin",
"description": "The upstream name we backup to. This defaults to \"origin\""
},
"git-backup-sync.backupBranchNamePrefix": {
"type": "string",
"default": "gbs-backup-",
"description": "The prefix of backup branch name. This defaults to 'gbs-backup-' "
},
"git-backup-sync.branchInfo.enabled": {
"type": "boolean",
"default": false,
"description": "Whether to enable the branch info file. Enabling this file allows for more granular customization per branch, at the cost of needing to manage an additional config file."
},
"git-backup-sync.branchInfo.path": {
"type": "string",
"default": ".bbinfo",
"markdownDescription": "**This only is effective when branchInfo file is enabled**. Path pointing to the Backup Branch Info file. "
},
"git-backup-sync.branchInfo.shouldCommitBranchInfoFile": {
"type": "boolean",
"default": false,
"markdownDescription": "**This only is effective when branchInfo file is enabled**. When creating a new Backup Branch, do you want to commit the branch info file change. (This is useful for sharing across devices)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^8.0.0",
"@types/mocha": "^10.0.1",
"@types/node": "16.x",
"@types/vscode": "^1.74.0",
"@typescript-eslint/eslint-plugin": "^5.45.0",
"@typescript-eslint/parser": "^5.45.0",
"@vscode/test-electron": "^2.2.0",
"eslint": "^8.28.0",
"glob": "^8.0.3",
"mocha": "^10.1.0",
"ts-loader": "^9.4.1",
"typescript": "^4.9.3",
"webpack": "^5.76.0",
"webpack-cli": "^5.0.0"
},
"dependencies": {
"simple-git": "^3.16.1"
}
}