117 lines
3.4 KiB
JSON
117 lines
3.4 KiB
JSON
{
|
|
"name": "coveragetool",
|
|
"displayName": "Coverage Tool",
|
|
"publisher": "justinbossis",
|
|
"description": "Highlights coverage.py lines in VSCode",
|
|
"version": "0.2.0",
|
|
"engines": {
|
|
"vscode": "^1.92.0"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://git.justinbossis.fr/JustinBossis/CoverageTool"
|
|
},
|
|
"bugs": {
|
|
"url": "https://git.justinbossis.fr/JustinBossis/CoverageTool/issues"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [
|
|
"onLanguage:python",
|
|
"workspaceContains:**/coverage.json"
|
|
],
|
|
"main": "./out/extension.js",
|
|
"contributes": {
|
|
"configuration": {
|
|
"title": "Coverage Tool",
|
|
"properties": {
|
|
"coveragetool.coverageFileName": {
|
|
"type": "string",
|
|
"default": "coverage.json",
|
|
"description": "Name of the JSON file containing coverage information.",
|
|
"markdownDescription": "Name of the JSON file containing coverage information."
|
|
},
|
|
"coveragetool.coverageFilePath": {
|
|
"type": "string",
|
|
"default": "",
|
|
"description": "Path containing the coverage.json file.",
|
|
"markdownDescription": "Path containing the coverage.json file."
|
|
},
|
|
"coveragetool.replacePath": {
|
|
"type": "string",
|
|
"description": "Substring in file paths to replace.",
|
|
"markdownDescription": "Substring in file paths to replace."
|
|
},
|
|
"coveragetool.replacePathWith": {
|
|
"type": "string",
|
|
"description": "Substring to replace with in file paths.",
|
|
"markdownDescription": "Substring to replace with in file paths."
|
|
},
|
|
"coveragetool.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)"
|
|
},
|
|
"coveragetool.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)"
|
|
},
|
|
"coveragetool.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)"
|
|
}
|
|
}
|
|
},
|
|
"viewsContainers": {
|
|
"activitybar": [
|
|
{
|
|
"id": "coveragetool",
|
|
"title": "Coverage Tool",
|
|
"icon": "resources/icon.svg"
|
|
}
|
|
]
|
|
},
|
|
"views": {
|
|
"coveragetool": [
|
|
{
|
|
"id": "coveragetoolView",
|
|
"name": "Coverage Tool",
|
|
"order": 10,
|
|
"icon": "resources/icon.svg"
|
|
}
|
|
]
|
|
},
|
|
"commands": [
|
|
{
|
|
"command": "coveragetool.refreshEntry",
|
|
"title": "Refresh Coverage"
|
|
}
|
|
]
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run compile",
|
|
"compile": "tsc -p ./",
|
|
"watch": "tsc -watch -p ./",
|
|
"pretest": "npm run compile && npm run lint",
|
|
"lint": "eslint src --ext ts",
|
|
"test": "vscode-test"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.92.0",
|
|
"@types/mocha": "^10.0.7",
|
|
"@types/node": "20.x",
|
|
"@typescript-eslint/eslint-plugin": "^7.14.1",
|
|
"@typescript-eslint/parser": "^7.11.0",
|
|
"eslint": "^8.57.0",
|
|
"typescript": "^5.4.5",
|
|
"@vscode/test-cli": "^0.0.9",
|
|
"@vscode/test-electron": "^2.4.0"
|
|
}
|
|
}
|