{
  "name": "m3u8-grabber",
  "version": "1.1.3",
  "author": "Benedict Chen",
  "keywords": [
    "m3u8",
    "archiver",
    "gcp",
    "storage",
    "video",
    "download",
    "hls",
    "fmp4",
    "cmaf"
  ],
  "main": "dist/downloader.js",
  "types": "dist/downloader.d.ts",
  "exports": {
    ".": {
      "import": "./dist/downloader.js",
      "require": "./dist/downloader.js",
      "types": "./dist/downloader.d.ts"
    },
    "./downloader": {
      "import": "./dist/downloader.js",
      "require": "./dist/downloader.js",
      "types": "./dist/downloader.d.ts"
    },
    "./*": "./dist/*.js"
  },
  "description": "HLS archiver — downloads m3u8 playlists, .ts and fMP4/CMAF segments, encryption keys to GCP Cloud Storage",
  "license": "MIT",
  "scripts": {
    "postinstall": "node scripts/fix-slowbuffer.js",
    "build": "rm -rf dist && tsc --build tsconfig.prod.json",
    "prepublishOnly": "npm run build",
    "lint": "npx eslint --ext .ts src/",
    "lint:tests": "npx eslint --ext .ts _test/",
    "start": "node ./dist/index.js",
    "dev": "nodemon",
    "test": "nodemon --config ./_test/nodemon.json",
    "test:no-reloading": "tsx ./_test"
  },
  "nodemonConfig": {
    "watch": [
      "src"
    ],
    "ext": "ts, html",
    "ignore": [
      "src/public"
    ],
    "exec": "./node_modules/.bin/ts-node --files -r tsconfig-paths/register ./src"
  },
  "engines": {
    "node": ">=18.0.0"
  },
  "files": [
    "dist",
    "scripts"
  ],
  "dependencies": {
    "@google-cloud/storage": "^7.19.0",
    "axios": "^1.6.8",
    "axios-retry": "^4.1.0"
  },
  "devDependencies": {
    "@types/find": "^0.2.4",
    "@types/fs-extra": "^11.0.4",
    "@types/jasmine": "^5.1.4",
    "@types/jsonfile": "^6.1.4",
    "@types/node": "^20.12.10",
    "@types/supertest": "^6.0.2",
    "@typescript-eslint/eslint-plugin": "^7.8.0",
    "@typescript-eslint/parser": "^7.8.0",
    "dotenv": "^17.4.2",
    "eslint": "^8.57.0",
    "eslint-plugin-node": "^11.1.0",
    "find": "^0.3.0",
    "fs-extra": "^11.2.0",
    "jasmine": "^5.1.0",
    "nodemon": "^3.1.0",
    "supertest": "^7.0.0",
    "ts-command-line-args": "^2.5.1",
    "ts-node": "^10.9.2",
    "tsconfig-paths": "^4.2.0",
    "tsx": "^4.22.3",
    "typescript": "^5.4.5"
  }
}
