{
  "author": {
    "name": "Jens Oliver Meiert",
    "url": "https://meiert.com/"
  },
  "browser": "dist/compressor.js",
  "contributors": [
    {
      "name": "Chen Fengyuan",
      "url": "https://chenfengyuan.com/"
    }
  ],
  "description": "JavaScript image compressor and converter",
  "devDependencies": {
    "@babel/core": "^7.29.0",
    "@babel/preset-env": "^7.29.5",
    "@eslint/js": "^10.0.0",
    "@rollup/plugin-babel": "^7.0.0",
    "@rollup/plugin-commonjs": "^29.0.2",
    "@rollup/plugin-node-resolve": "^16.0.3",
    "@vitest/browser-playwright": "^4.1.4",
    "@vitest/coverage-istanbul": "^4.1.4",
    "del-cli": "^7.0.0",
    "eslint": "^10.3.0",
    "globals": "^17.6.0",
    "husky": "^9.1.7",
    "playwright": "^1.59.1",
    "rollup": "^4.60.2",
    "stylelint": "^17.9.1",
    "stylelint-config-standard": "^40.0.0",
    "stylelint-order": "^8.1.1",
    "terser": "^5.46.0",
    "vitest": "^4.1.4"
  },
  "exports": {
    ".": {
      "types": "./types/index.d.ts",
      "import": "./dist/compressor.esm.js",
      "require": "./dist/compressor.common.js"
    }
  },
  "files": [
    "dist",
    "src",
    "types"
  ],
  "homepage": "https://github.com/j9t/compressorjs-next",
  "keywords": [
    "blob",
    "browser",
    "canvas",
    "client-side",
    "compress",
    "compressor",
    "conversion",
    "converter",
    "image",
    "image-compression",
    "image-processing",
    "image-upload",
    "javascript",
    "jpeg",
    "jpg",
    "lossy-compression",
    "png",
    "webp"
  ],
  "license": "MIT",
  "main": "dist/compressor.esm.js",
  "name": "compressorjs-next",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/j9t/compressorjs-next.git"
  },
  "scripts": {
    "build": "rollup -c",
    "clean": "del-cli dist",
    "compress": "terser dist/compressor.js -o dist/compressor.min.js -c -m --comments /^!/",
    "dev": "rollup -c -m -w & npx serve docs",
    "lint": "npm run lint:js && npm run lint:css",
    "lint:css": "stylelint docs/**/*.css --fix",
    "lint:js": "eslint src test",
    "prepare": "husky",
    "pretest": "playwright install chromium",
    "pretest:full": "playwright install",
    "release": "npm run clean && npm run lint && npm run build && npm run compress && npm run test:full",
    "start": "npm run dev",
    "test": "vitest run --project=chromium",
    "test:coverage": "vitest run --coverage --project=chromium",
    "test:full": "vitest run",
    "test:watch": "vitest --project=chromium"
  },
  "sideEffects": false,
  "type": "module",
  "types": "types/index.d.ts",
  "version": "2.0.4"
}
