{
  "name": "fast-average-color",
  "description": "A simple library that calculates the average color of images, videos and canvas in browser environment.",
  "version": "9.4.0",
  "author": {
    "name": "Denis Seleznev",
    "email": "hcodes@yandex.ru",
    "url": "https://github.com/fast-average-color/fast-average-color"
  },
  "main": "dist/index.js",
  "module": "dist/index.esm.js",
  "unpkg": "dist/index.browser.js",
  "jsdelivr": "dist/index.browser.js",
  "homepage": "https://github.com/fast-average-color/fast-average-color",
  "license": "MIT",
  "repository": {
    "type": "git",
    "url": "git://github.com/fast-average-color/fast-average-color.git"
  },
  "keywords": [
    "fast",
    "average",
    "color",
    "colour"
  ],
  "engines": {
    "node": ">= 12"
  },
  "typings": "./dist/index.d.ts",
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "devDependencies": {
    "@rollup/plugin-typescript": "^11.1.2",
    "@types/jest": "^29.5.4",
    "@typescript-eslint/eslint-plugin": "^6.4.1",
    "@typescript-eslint/parser": "^6.4.1",
    "del-cli": "^5.0.0",
    "eslint": "^8.47.0",
    "husky": "^8.0.3",
    "jest": "^29.6.4",
    "jest-canvas-mock": "^2.5.2",
    "jest-environment-jsdom": "^29.6.4",
    "rollup": "^3.28.1",
    "terser": "^5.19.2",
    "ts-jest": "^29.1.1",
    "tslib": "^2.6.2",
    "typescript": "^5.2.2"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm test"
    }
  },
  "scripts": {
    "build": "npm run clean && npm run rollup && npm run minify && npm run copyright",
    "clean": "del dist/*",
    "minify": "terser ./dist/index.browser.js -o ./dist/index.browser.min.js -c -m",
    "copyright": "node tools/copyright.mjs dist/index.*js",
    "rollup": "rollup --config rollup.config.mjs",
    "test": "npm run typecheck && npm run eslint && npm run unit-test",
    "eslint": "eslint .",
    "unit-test": "jest .",
    "prepare": "npm run build",
    "typecheck": "tsc --noEmit"
  }
}
