-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
95 lines (95 loc) · 2.78 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
{
"name": "save-me-baby",
"publisher": "BrianOrwe",
"displayName": "Save Me Baby",
"description": "Automatically creates commits and pushes to remote git repo on save, with a squash feature",
"version": "0.0.3",
"repository": "https://github.com/Borwe/save-me-baby",
"icon": "img/logo-small.png",
"engines": {
"vscode": "^1.85.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Your Extension Configuration",
"properties": {
"saveMeBaby.commitMessage": {
"type": "string",
"examples": [
"[WIP] {{ticket}} feature work",
"WIP"
],
"description": "The default commit message for Save Me Baby."
},
"saveMeBaby.useTicketRegex": {
"type": "boolean",
"default": false,
"description": "Whether to use a custom ticket regex to match ticket numbers in the branch name or anything else you need"
},
"saveMeBaby.ticketRegex": {
"type": "string",
"default": "/([A-Za-z]+-\\d+)",
"description": "The regex to match ticket numbers in the branch name."
},
"saveMeBaby.pushOnSave": {
"type": "boolean",
"default": true,
"description": "Whether to push to the remote repo on save."
}
}
},
"commands": [
{
"command": "save-me-baby.start-saving",
"title": "Save Me Baby: Start Saving Me"
},
{
"command": "save-me-baby.stop-saving",
"title": "Save Me Baby: Stop Saving Me"
},
{
"command": "save-me-baby.toggle",
"title": "Save Me Baby: Toggle"
},
{
"command": "save-me-baby.compress",
"title": "Save Me Baby: Compress/Rebase"
}
]
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"vsce": "vsce package",
"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": "vscode-test"
},
"devDependencies": {
"@types/mocha": "^10.0.6",
"@types/node": "18.x",
"@types/vscode": "^1.85.0",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"@vscode/test-cli": "^0.0.4",
"@vscode/test-electron": "^2.3.8",
"dotenv": "^16.3.1",
"eslint": "^8.56.0",
"ts-loader": "^9.5.1",
"typescript": "^5.3.3",
"vsce": "^2.15.0",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}