-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
110 lines (110 loc) · 3.45 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
{
"name": "covpyhighlighter",
"displayName": "Coverage.py Highlighter",
"description": "Highlights coverage.py lines in VSCode",
"publisher": "namsnath",
"version": "0.3.2",
"repository": {
"type": "git",
"url": "https://github.com/namsnath/CovPyHighlighter"
},
"bugs": {
"url": "https://github.com/namsnath/CovPyHighlighter/issues"
},
"engines": {
"vscode": "^1.54.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:python",
"workspaceContains:**/coverage.json",
"onCommand:covpyhighlighter.helloWorld"
],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "covpyhighlighter.helloWorld",
"title": "Hello World"
}
],
"configuration": {
"title": "Coverage.py Highlighter",
"properties": {
"covpyhighlighter.coverageFileName": {
"type": "string",
"default": "coverage.json",
"description": "Name of the JSON file containing coverage information.",
"markdownDescription": "Name of the JSON file containing coverage information."
},
"covpyhighlighter.coverageFilePath": {
"type": "string",
"default": "",
"description": "Path containing the coverage.json file.",
"markdownDescription": "Path containing the coverage.json file."
},
"covpyhighlighter.replacePath": {
"type": "string",
"description": "Substring in file paths to replace.",
"markdownDescription": "Substring in file paths to replace."
},
"covpyhighlighter.replacePathWith": {
"type": "string",
"description": "Substring to replace with in file paths.",
"markdownDescription": "Substring to replace with in file paths."
},
"covpyhighlighter.colors.executedColor": {
"type": "string",
"description": "Background color value for executed lines.",
"markdownDescription": "Background color value for executed lines in any valid CSS format (`#RRGGBBAA`, `rgba(...)`)",
"default": "rgba(0, 255, 0, 0.15)"
},
"covpyhighlighter.colors.excludedColor": {
"type": "string",
"description": "Background color value for excluded lines.",
"markdownDescription": "Background color value for excluded lines in any valid CSS format (`#RRGGBBAA`, `rgba(...)`)",
"default": "rgba(255, 255, 0, 0.15)"
},
"covpyhighlighter.colors.missingColor": {
"type": "string",
"description": "Background color value for missing lines.",
"markdownDescription": "Background color value for missing lines in any valid CSS format (`#RRGGBBAA`, `rgba(...)`)",
"default": "rgba(255, 0, 0, 0.15)"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm 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": "npm run test-compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
"@types/mocha": "^8.0.4",
"@types/node": "^12.11.7",
"@types/vscode": "^1.54.0",
"@typescript-eslint/eslint-plugin": "^4.20.0",
"@typescript-eslint/parser": "^4.14.1",
"eslint": "^7.19.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-plugin-import": "^2.22.1",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"webpack": "^5.19.0",
"webpack-cli": "^4.4.0"
},
"dependencies": {
"@vscode/test-electron": "^2.2.3",
"glob": "^8.1.0",
"mocha": "^10.2.0"
}
}