{
  "name": "@rewind-media/rewind-common",
  "version": "0.1.68",
  "license": "AGPLv3",
  "description": "Common models and utilities for Rewind.",
  "repository": {
    "url": "https://github.com/rewind-media/rewind-common.git"
  },
  "author": {
    "name": "Kenneth Sanders",
    "email": "npm@kensand.net"
  },
  "private": false,
  "dependencies": {
    "@rewind-media/rewind-protocol": "^0.1.42",
    "@types/config": "^3.3.0",
    "@types/express-session": "^1.17.7",
    "@types/ffprobe": "^1.1.4",
    "@types/node": "^16.18.29",
    "config": "^3.3.9",
    "connect-mongo": "^4.6.0",
    "durr": "^0.0.9",
    "express-session": "^1.17.3",
    "immutable": "^4.3.0",
    "ioredis": "^5.3.2",
    "mongodb": "^4.16.0",
    "redlock": "^5.0.0-beta.2",
    "typescript-logging": "^2.1.0",
    "typescript-logging-category-style": "^2.1.0"
  },
  "scripts": {
    "prettier": "npx prettier --write .",
    "eslint": "npx eslint --fix .",
    "update": "npm update --save && ((! git diff --exit-code package.json package-lock.json > /dev/null && git add package.json package-lock.json && git commit -m 'Dependency updates') || true)",
    "build": "npm run _pre-build && npm run _build && npm run _post-build",
    "_build": "tsc",
    "_post-build": "npm run babel-cjs && npm run test",
    "_pre-build": "npm run clean && npm run prettier && npm run eslint",
    "clean": "rm -rf dist",
    "pub": "npm run clean && npm run build && npm version patch && npm publish",
    "babel-cjs": "babel -s true -d dist/cjs dist/esm",
    "test": "jest --no-cache --runInBand --detectLeaks --detectOpenHandles --forceExit --debug"
  },
  "eslintConfig": {},
  "devDependencies": {
    "@babel/cli": "^7.21.5",
    "@babel/core": "^7.21.8",
    "@babel/plugin-transform-modules-commonjs": "^7.21.5",
    "@babel/preset-env": "^7.21.5",
    "@types/jest": "^29.5.1",
    "@typescript-eslint/eslint-plugin": "^5.59.5",
    "@typescript-eslint/parser": "^5.59.5",
    "eslint": "^8.40.0",
    "jest": "^29.5.0",
    "jest-mock-extended": "^3.0.4",
    "prettier": "^2.8.8",
    "typescript": "^5.0.4"
  },
  "peerDependencies": {
    "mongodb": "^4.16.0"
  },
  "main": "dist/cjs/index.js",
  "module": "dist/esm/index.js",
  "types": "./dist/types/index.d.ts",
  "files": [
    "./dist/**"
  ],
  "exports": {
    "types": "./dist/types/index.d.ts",
    "import": "./dist/esm/index.js",
    "require": "./dist/cjs/index.js"
  }
}
