{
  "name": "@cap-js-community/event-queue",
  "version": "1.9.4",
  "description": "An event queue that enables secure transactional processing of asynchronous and periodic events, featuring instant event processing with Redis Pub/Sub and load distribution across all application instances.",
  "main": "src/index.js",
  "types": "src/index.d.ts",
  "files": [
    "src",
    "db",
    "cds-plugin.js",
    "index.cds"
  ],
  "keywords": [
    "CAP",
    "CDS",
    "messaging",
    "async",
    "redis",
    "load-balancing",
    "eventing",
    "multi-tenancy"
  ],
  "scripts": {
    "test:unit": "jest --testPathIgnorePatterns=\"/test-integration/\"",
    "test:integration": "jest --testPathIgnorePatterns=\"/test/\" --runInBand --forceExit",
    "test": "npm run test:unit && npm run test:integration",
    "test:all:coverage": "jest --runInBand --forceExit --collect-coverage",
    "test:prepare": "npm run build:ci --prefix=./test-integration/_env",
    "test:deploySchema": "node test-integration/_env/srv/hana/deploy.js",
    "test:cleanSchemas": "node test-integration/_env/srv/hana/deleteTestSchema.js ",
    "lint": "npm run eslint && npm run prettier",
    "lint:ci": "npm run eslint:ci && npm run prettier:ci",
    "eslint": "eslint --fix .",
    "eslint:ci": "eslint .",
    "prettier": "prettier --write --loglevel error .",
    "prettier:ci": "prettier --check .",
    "prepareRelease": "npm prune --production",
    "docs": "cd docs && bundle exec jekyll serve",
    "docs:install": "cd docs && npx shx rm -rf vendor Gemfile.lock && bundle install",
    "upgrade-lock": "npx shx rm -rf package-lock.json node_modules && npm i --package-lock"
  },
  "engines": {
    "node": ">=18"
  },
  "dependencies": {
    "@sap/xssec": "^4.2.4",
    "cron-parser": "^5.0.0",
    "redis": "^4.7.0",
    "verror": "^1.10.1",
    "yaml": "^2.6.1"
  },
  "devDependencies": {
    "@cap-js/cds-test": "^0.2.0",
    "@cap-js/hana": "^1.7.0",
    "@cap-js/sqlite": "^1.9.0",
    "@sap/cds": "^8.8.0",
    "@sap/cds-dk": "^8.8.0",
    "eslint": "^8.57.0",
    "eslint-config-prettier": "^9.1.0",
    "eslint-plugin-jest": "^28.6.0",
    "eslint-plugin-node": "^11.1.0",
    "express": "^4.21.2",
    "hdb": "^0.19.10",
    "jest": "^29.7.0",
    "prettier": "^2.8.8",
    "sqlite3": "^5.1.7",
    "@opentelemetry/api": "^1.9.0"
  },
  "homepage": "https://cap-js-community.github.io/event-queue/",
  "repository": {
    "type": "git",
    "url": "https://github.com/cap-js-community/event-queue.git"
  },
  "cds": {
    "eventQueue": {
      "[production]": {
        "disableRedis": false
      },
      "[test]": {
        "isEventQueueActive": false,
        "registerAsEventProcessor": false,
        "updatePeriodicEvents": false,
        "insertEventsBeforeCommit": false
      },
      "periodicEvents": {
        "[production]": {
          "EVENT_QUEUE_BASE/DELETE_EVENTS": {
            "priority": "low",
            "impl": "./housekeeping/EventQueueDeleteEvents",
            "load": 20,
            "interval": 86400,
            "internalEvent": true
          }
        }
      }
    },
    "requires": {
      "redis-eventQueue": {
        "options": {},
        "vcap": {
          "label": "redis-cache"
        }
      },
      "event-queue": {
        "model": "@cap-js-community/event-queue"
      }
    }
  },
  "author": "Maximilian Gruenfelder <maximilian.gruenfelder@sap.com>",
  "license": "Apache-2.0"
}
