meyfa/atom-screenshot

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
  "name": "screenshot",
  "main": "./lib/screenshot",
  "version": "2.0.0",
  "description": "Atom editor plugin for creating code screenshots",
  "keywords": [
    "atom",
    "screenshot",
    "snapshot",
    "code"
  ],
  "repository": "https://github.com/meyfa/atom-screenshot",
  "author": "Fabian Meyer",
  "license": "MIT",
  "engines": {
    "atom": ">=1.56.0 <2.0.0"
  },
  "dependencies": {
    "merge-images": "^2.0.0"
  },
  "devDependencies": {
    "standard": "17.0.0"
  },
  "standard": {
    "globals": [
      "atom"
    ]
  },
  "scripts": {
    "lint": "standard",
    "lint-fix": "standard --fix",
    "test": "npm run lint"
  },
  "configSchema": {
    "actionOnFinish": {
      "type": "string",
      "default": "clipboard",
      "enum": [
        {
          "value": "clipboard",
          "description": "Copy to clipboard (with option to save)"
        },
        {
          "value": "saveprompt",
          "description": "Open a save prompt"
        }
      ]
    },
    "openImage": {
      "type": "boolean",
      "default": false,
      "description": "When enabled the screenshot will be opened in Atom once saved."
    },
    "excludeTrailingNewline": {
      "type": "boolean",
      "default": true,
      "description": "When enabled and a whole-file screenshot is taken, the final empty line will be excluded."
    },
    "includeLineNumbersAndGutter": {
      "type": "boolean",
      "default": true,
      "description": "When enabled the screenshot includes the gutter and line numbers."
    },
    "showWrapGuide": {
      "type": "boolean",
      "default": true,
      "description": "When enabled the screenshot includes the wrap guide."
    }
  }
}