{
  "name": "amazon-textract-response-parser",
  "version": "0.4.3",
  "description": "Parse API responses from Amazon Textract with higher-level helpers",
  "keywords": [
    "aws",
    "amazon-textract",
    "textract"
  ],
  "main": "dist/cjs/index.js",
  "module": "dist/es/index.js",
  "types": "dist/types/index.d.ts",
  "jsdelivr": "dist/browser/trp.min.js",
  "unpkg": "dist/browser/trp.min.js",
  "directories": {
    "lib": "lib"
  },
  "files": [
    "/dist"
  ],
  "scripts": {
    "audit:examples": "(set -e && for ex in examples/*; do if [ $ex == 'examples/README.md' ]; then continue; fi; (cd $ex && npm audit fix); done)",
    "build:browser": "rollup -c",
    "build:cjs": "tsc -p tsconfig.cjs.json",
    "build:es": "tsc -p tsconfig.es.json",
    "//": "# TODO: Remove below `replace` fix when https://github.com/microsoft/TypeScript/issues/54879 resolved",
    "build:types": "tsc -p tsconfig.types.json && replace 'readonly text: string;' 'get text(): string;' ./dist/types -r",
    "build": "concurrently -n 'iife,cjs,es,types' 'npm run build:browser' 'npm run build:cjs' 'npm run build:es' 'npm run build:types'",
    "clean": "rimraf dist",
    "//": "# TODO: clean:examples command is not yet cross-platform - requires bash-like shell",
    "clean:examples": "(set -e && for ex in examples/*; do if [ $ex == 'examples/README.md' ]; then continue; fi; (cd $ex && rimraf node_modules); done)",
    "prepublishOnly": "npm run clean && npm run build && npm run test:examples",
    "prettify": "prettier --config .prettierrc.js 'src/**/*.{js,ts,tsx}' --write",
    "lint:src": "eslint --quiet --fix 'src/**/*.{js,ts,tsx}'",
    "lint": "eslint --quiet --fix '{src,test}/**/*.{js,ts,tsx}'",
    "reading-order-diagnostic": "npm run build && node bin/reading-order-diagnostic.js",
    "test": "jest --coverage",
    "//": "# TODO: test:examples command is not yet cross-platform - requires bash-like shell",
    "test:examples": "(set -e && for ex in examples/*; do if [ $ex == 'examples/README.md' ]; then continue; fi; (cd $ex && npm install && npm run test); done)",
    "test:unit": "jest --coverage --testPathPattern=test/unit",
    "update:examples": "(set -e && for ex in examples/*; do if [ $ex == 'examples/README.md' ]; then continue; fi; (cd $ex && npm update); done)"
  },
  "repository": {
    "directory": "src-js",
    "type": "git",
    "url": "git+https://github.com/aws-samples/amazon-textract-response-parser.git"
  },
  "author": "Amazon Rekognition Textract Demos <rekognition-textract-demos@amazon.com>",
  "license": "Apache-2.0",
  "bugs": {
    "url": "https://github.com/aws-samples/amazon-textract-response-parser/issues"
  },
  "homepage": "https://github.com/aws-samples/amazon-textract-response-parser#readme",
  "devDependencies": {
    "@aws-sdk/client-textract": "^3.421.0",
    "@rollup/plugin-node-resolve": "^15.0.0",
    "@rollup/plugin-terser": "^0.4.4",
    "@rollup/plugin-typescript": "^11.0.0",
    "@types/jest": "^29.0.0",
    "@typescript-eslint/eslint-plugin": "^6.1.0",
    "@typescript-eslint/parser": "^6.1.0",
    "concurrently": "^8.0.1",
    "eslint": "^8.0.0",
    "eslint-config-prettier": "^9.0.0",
    "eslint-plugin-prettier": "^5.1.3",
    "husky": "^8.0.3",
    "jest": "^29.0.0",
    "lint-staged": "^15.2.10",
    "prettier": "^3.0.3",
    "replace": "^1.2.2",
    "rimraf": "^5.0.0||^6.0.0",
    "rollup": "^3.29.5",
    "ts-jest": "^29.0.0",
    "typescript": "^5.3.3"
  },
  "husky": {
    "hooks": {
      "pre-commit": "lint-staged"
    }
  },
  "lint-staged": {
    "*.{js,ts,tsx}": [
      "eslint --fix"
    ]
  }
}
