-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
92 lines (92 loc) · 2.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
{
"name": "bunch",
"displayName": "bunch",
"repository": "https://github.com/Issawat/vscode-bunch",
"icon": "logo.jpeg",
"publisher": "Issawat",
"description": "The git extension that will notify you about number of line changes on the git repository",
"version": "0.0.1",
"engines": {
"vscode": "^1.58.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onStartupFinished"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Bunch",
"properties": {
"bunch.targetBranch": {
"type": "string",
"default": "main",
"description": "Target branch that will be compared with your working branch"
},
"bunch.insertionChangesLimit": {
"type": "number",
"default": 1000,
"description": "Maximum number of insertion lines. You will be notified when it reached the limit (0 is unlimited)"
},
"bunch.deletionChangesLimit": {
"type": "number",
"default": 1000,
"description": "Maximum number of deletion lines. You will be notified when it reached the limit (0 is unlimited)"
},
"bunch.maxTotalChanges": {
"type": "number",
"default": 1000,
"description": "Maximum total number of changes (deletions + insertions). You will be notified when it reached the limit (0 is unlimited)"
},
"bunch.whitelist": {
"type": "array",
"default": [],
"description": "Bypass the checks by adding branch names here"
}
}
},
"commands": [
{
"command": "bunch.settings",
"title": "Bunch: Settings"
},
{
"command": "bunch.addWhitelist",
"title": "Bunch: Add branch to whitelist"
},
{
"command": "bunch.setTargetBranch",
"title": "Bunch: Set target compare branch"
}
]
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"test-compile": "tsc -p ./",
"test-watch": "tsc -watch -p ./",
"pretest": "yarn run test-compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/vscode": "^1.58.0",
"@types/glob": "^7.1.3",
"@types/mocha": "^8.2.2",
"@types/node": "14.x",
"eslint": "^7.27.0",
"@typescript-eslint/eslint-plugin": "^4.26.0",
"@typescript-eslint/parser": "^4.26.0",
"glob": "^7.1.7",
"mocha": "^8.4.0",
"typescript": "^4.3.2",
"vscode-test": "^1.5.2",
"ts-loader": "^9.2.2",
"webpack": "^5.38.1",
"webpack-cli": "^4.7.0"
}
}