{
  "name": "compress-pdf",
  "version": "0.5.6",
  "templateVersion": "1.3.0",
  "description": "An compress pdf library using ghostscript",
  "main": "dist/index.js",
  "bin": {
    "compress-pdf": "bin/compress-pdf"
  },
  "module": "dist/index.mjs",
  "types": "dist/index.d.ts",
  "scripts": {
    "prepare": "husky install",
    "postinstall": "node dist/instructions",
    "copy-json-files-to-dist": "copyfiles src/**/*.json instructions.js dist",
    "style:format": "prettier \"*.{js,json,yml,yaml,md}\" \"src/**/*\" --write",
    "lint": "eslint --color --ext .ts \"src/**/*.+(ts)\"",
    "lint:fix": "eslint --color --ext .ts \"src/**/*.+(ts)\" --fix",
    "test": "vitest",
    "test:coverage": "vitest run --coverage",
    "type-check": "tsc --pretty --noEmit --skipLibCheck --esModuleInterop --resolveJsonModule",
    "package": "npm run build && npm pkg set scripts.postinstall='node dist/instructions' && npm pack && npm pkg set scripts.postinstall='node instructions'",
    "build": "tsup",
    "ci-postbuild": "npm pkg set scripts.postinstall='node dist/instructions'",
    "release": "npm run build && npm pkg set scripts.postinstall='node dist/instructions' && npm publish && npm pkg set scripts.postinstall='node instructions'",
    "release-beta": "npm run build && npm pkg set scripts.postinstall='node dist/instructions' && npm publish --tag beta && npm pkg set scripts.postinstall='node instructions'",
    "release-local": "npm run build && npm pkg set scripts.postinstall='node dist/instructions' && npm link && npm pkg set scripts.postinstall='node instructions' && echo [FINISH]: Run \"npm link compress-pdf\" to link the package to your project"
  },
  "publishConfig": {
    "access": "public"
  },
  "files": [
    "dist",
    "bin"
  ],
  "keywords": [
    "library",
    "compress-pdf",
    "compress",
    "pdf",
    "optimize",
    "reduce"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/victorsoares96/compress-pdf.git"
  },
  "author": "Victor Soares <vitorsoares96@hotmail.com> (https://github.com/victorsoares96)",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/victorsoares96/compress-pdf/issues"
  },
  "homepage": "https://github.com/victorsoares96/compress-pdf#readme",
  "dependencies": {
    "dotenv": "17.2.1",
    "lodash": "4.17.21"
  },
  "devDependencies": {
    "@types/node": "22.17.2",
    "@types/pdf-parse": "1.1.5",
    "@typescript-eslint/eslint-plugin": "^7.18.0",
    "@typescript-eslint/parser": "^7.18.0",
    "@vitest/coverage-istanbul": "3.2.4",
    "@vitest/eslint-plugin": "1.3.4",
    "commitizen": "4.3.1",
    "commitizen-emoji": "1.0.5",
    "copyfiles": "2.4.1",
    "eslint": "8.57.1",
    "eslint-config-airbnb-base": "15.0.0",
    "eslint-config-airbnb-typescript": "18.0.0",
    "eslint-config-prettier": "10.1.8",
    "eslint-import-resolver-typescript": "4.4.4",
    "eslint-plugin-import": "2.32.0",
    "eslint-plugin-prettier": "5.5.4",
    "husky": "9.1.7",
    "lint-staged": "16.1.5",
    "pdf-parse": "1.1.1",
    "prettier": "3.6.2",
    "tsup": "8.5.0",
    "tsx": "4.20.4",
    "typescript": "5.9.2",
    "vite-tsconfig-paths": "5.1.4",
    "vitest": "3.2.4"
  },
  "engines": {
    "yarn": ">= 1.22.0",
    "node": ">=20.0.0"
  },
  "config": {
    "commitizen": {
      "path": "./node_modules/commitizen-emoji"
    },
    "commitizenEmoji": {
      "conventionalFormat": true
    }
  }
}
