ryu1kn/vscode-annotator

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "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"
  }
}