-
-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
146 lines (146 loc) · 4.36 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
{
"name": "annotator",
"displayName": "Annotator",
"description": "Display git blame info along with your code. Can open the diff of a particular commit from there.",
"version": "1.0.0",
"publisher": "ryu1kn",
"license": "SEE LICENSE IN LICENSE.txt",
"icon": "images/annotator.png",
"bugs": {
"url": "https://github.com/ryu1kn/vscode-annotator/issues"
},
"homepage": "https://github.com/ryu1kn/vscode-annotator/blob/master/README.md",
"repository": {
"type": "git",
"url": "https://github.com/ryu1kn/vscode-annotator.git"
},
"engines": {
"vscode": "^1.54.0"
},
"categories": [
"Other"
],
"keywords": [
"git",
"annotate",
"annotation",
"blame",
"diff"
],
"activationEvents": [
"onCommand:annotator.annotate",
"onCommand:annotator.switchDiffWithinCommit"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Annotator configurations",
"properties": {
"annotator.annotationColumnWidth": {
"description": "Width of the annotation column",
"type": "string",
"default": "13em"
},
"annotator.annotationCommitColorRange": {
"description": "Range of colours to be used for colouring each commit. Specify intermediate colours by giving more than 2 colours",
"type": "array",
"items": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{6}$"
},
"minItems": 2,
"default": [
"#0D47A1",
"#BBDEFB"
]
},
"annotator.annotationCommitColorBarWidth": {
"description": "Width of the commit colour bar",
"type": "string",
"default": "1.5em"
},
"annotator.annotationFontColor": {
"description": "Font colour of the annotation text",
"type": "string",
"default": "gray"
},
"annotator.annotationHighlightColor": {
"description": "Highlight colour when hovering over the annotation text",
"type": "string",
"default": "#BBDEFB"
},
"annotator.annotationTooltipWidth": {
"description": "Width of the annotation tooltip",
"type": "string",
"default": "30em"
},
"annotator.annotationTooltipBackgroundColor": {
"description": "Background colour of the annotation tooltip",
"type": "string",
"default": "#3A3830"
},
"annotator.git.ignoreWhitespaceOnBlame": {
"description": "Ignore whitespace when comparing the parent’s version and the child’s to find where the lines came from",
"type": "boolean",
"default": false
}
}
},
"commands": [
{
"command": "annotator.annotate",
"title": "Annotate the Current File or the File Before the Commit (if on Commit Diff)",
"category": "Annotator"
},
{
"command": "annotator.switchDiffWithinCommit",
"title": "Show Diff of Another File Changed in the Same Commit",
"category": "Annotator"
}
]
},
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"check": "yarn run compile && yarn run lint && yarn test",
"coverage": "nyc mocha --opts cli-test-mocha.opts",
"lint": "# tslint -p .",
"test": "mocha --opts cli-test-mocha.opts",
"test-mode": "mocha --opts cli-test-mocha.opts --watch",
"vscode:prepublish": "yarn run compile",
"vscode:postpublish": "./tag-release.sh"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^7.0.2",
"@types/node": "^10.11.0",
"@types/vscode": "1.54.0",
"chai": "^4.2.0",
"codeclimate-test-reporter": "^0.5.1",
"lodash.set": "^4.3.2",
"mocha": "^7.1.1",
"nyc": "^15.0.1",
"sinon": "^9.0.2",
"sinon-chai": "^3.5.0",
"ts-node": "^8.8.2",
"tslint": "^6.1.1",
"typescript": "^3.8.3",
"vscode-test": "^1.5.2"
},
"dependencies": {
"lodash.escape": "^4.0.1",
"lodash.map": "^4.6.0",
"lodash.padstart": "^4.6.1",
"lodash.parseint": "^4.0.2",
"lodash.pickby": "^4.6.0",
"lodash.range": "^3.2.0",
"lodash.reduce": "^4.6.0",
"lodash.uniq": "^4.5.0",
"lodash.uniqwith": "^4.5.0",
"multiline-string": "0.2.0"
},
"resolutions": {
"**/minimist": "^1.2.5"
}
}