CoverageTool/package.json
2024-09-01 13:48:00 +02:00

98 lines
3.1 KiB
JSON

{
"name": "coveragetool",
"displayName": "Coverage Tool",
"publisher": "justinbossis",
"description": "Highlights coverage.py lines in VSCode",
"version": "0.1.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)"
}
}
},
"commands": [
{
"command": "coverage-tool.helloWorld",
"title": "Hello World"
}
]
},
"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"
}
}