{
  "name": "validate-image-type",
  "version": "3.0.0",
  "description": "Check the image file of a Buffer/Uint8Array that matched expected image MIME-type.",
  "keywords": [
    "image",
    "bufffer",
    "mime-type",
    "extension",
    "validate",
    "valicator",
    "png",
    "jpg",
    "svg"
  ],
  "homepage": "https://github.com/azu/validate-image-type",
  "bugs": {
    "url": "https://github.com/azu/validate-image-type/issues"
  },
  "repository": {
    "type": "git",
    "url": "https://github.com/azu/validate-image-type.git"
  },
  "license": "MIT",
  "author": "azu",
  "files": [
    "bin/",
    "lib/",
    "src/"
  ],
  "main": "lib/validate-image-type.js",
  "types": "lib/validate-image-type.d.ts",
  "directories": {
    "lib": "lib",
    "test": "test"
  },
  "scripts": {
    "build": "tsc -p .",
    "clean": "rimraf lib/",
    "prepublish": "npm run --if-present build",
    "test": "mocha \"test/**/*.ts\"",
    "watch": "tsc -p . --watch",
    "format": "prettier --write \"**/*.{js,jsx,ts,tsx,css}\"",
    "prepare": "git config --local core.hooksPath .githooks"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,jsx,ts,tsx,css}": [
      "prettier --write"
    ]
  },
  "prettier": {
    "singleQuote": false,
    "printWidth": 120,
    "tabWidth": 4,
    "trailingComma": "none"
  },
  "dependencies": {
    "file-type": "^18.5.0",
    "is-svg": "^5.0.0",
    "read-chunk": "^4.0.3"
  },
  "devDependencies": {
    "@types/mocha": "^10.0.3",
    "@types/node": "^20.8.7",
    "lint-staged": "^15.0.2",
    "mocha": "^10.2.0",
    "prettier": "^3.0.3",
    "rimraf": "^5.0.5",
    "ts-node": "^10.9.1",
    "ts-node-test-register": "^10.0.0",
    "typescript": "^5.2.2"
  }
}
