{
  "name": "svg-to-img",
  "version": "2.0.9",
  "description": "A node.js library to convert SVGs to images built with Puppeteer.",
  "homepage": "https://github.com/etienne-martin/svg-to-img",
  "keywords": [
    "svg",
    "png",
    "jpg",
    "jpeg",
    "image",
    "puppeteer",
    "node"
  ],
  "main": "dist/index.js",
  "types": "dist/index.d.ts",
  "author": {
    "name": "Etienne Martin",
    "url": "http://etiennemartin.ca/"
  },
  "scripts": {
    "dev": "tsc --pretty --watch",
    "lint": "tslint -c tslint.json -p tsconfig.json --fix",
    "pretest": "npm run lint",
    "test": "jest src --coverage --verbose",
    "test:watch": "jest src --coverage --verbose --watch",
    "coverage": "coveralls < ./coverage/lcov.info",
    "prebuild": "rm -rf dist/ && npm run lint",
    "build": "tsc --pretty",
    "prepare": "npm run build"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run build && npm run test",
      "pre-push": "npm run build && npm run test"
    }
  },
  "jest": {
    "setupFiles": [
      "jest-canvas-mock"
    ],
    "transform": {
      "^.+\\.tsx?$": "ts-jest"
    },
    "moduleFileExtensions": [
      "ts",
      "tsx",
      "js",
      "jsx",
      "json",
      "node"
    ],
    "coveragePathIgnorePatterns": [
      "/node_modules/",
      "/coverage/",
      "/dist/",
      "/typings/",
      "/tests/"
    ],
    "coverageThreshold": {
      "global": {
        "branches": 100,
        "functions": 100,
        "lines": 100,
        "statements": -10
      }
    },
    "testMatch": [
      "**/?(*.)(test).(tsx|ts)"
    ],
    "collectCoverageFrom": [
      "src/**/*.(tsx|ts)"
    ],
    "testURL": "http://localhost"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/etienne-martin/svg-to-img"
  },
  "bugs": {
    "url": "https://github.com/etienne-martin/svg-to-img/issues"
  },
  "engines": {
    "node": ">= 7.6.0"
  },
  "license": "MIT",
  "devDependencies": {
    "@types/image-size": "0.0.29",
    "@types/jest": "22.2.3",
    "@types/puppeteer": "1.10.1",
    "@types/rimraf": "2.0.2",
    "coveralls": "3.0.2",
    "husky": "0.15.0-rc.13",
    "image-size": "0.6.3",
    "jest": "22.4.4",
    "jest-canvas-mock": "1.1.0",
    "rimraf": "2.6.2",
    "ts-jest": "22.4.6",
    "tslint": "5.11.0",
    "tslint-config-prettier": "1.17.0",
    "tslint-eslint-rules": "4.1.1",
    "typescript": "2.9.2"
  },
  "dependencies": {
    "puppeteer": "1.1.1"
  }
}
