{
  "name": "@cap-js-community/common",
  "version": "0.5.0",
  "description": "CAP Node.js Community Common",
  "homepage": "https://cap.cloud.sap/",
  "engines": {
    "node": ">=22"
  },
  "author": "Oliver Klemenz <oliver.klemenz@sap.com>, Gruenfelder, Maximilian <maximilian.gruenfelder@sap.com>, Richard Lindner <richard.lindner@sap.com>",
  "license": "Apache-2.0",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cap-js-community/common.git"
  },
  "keywords": [
    "CAP",
    "CDS"
  ],
  "files": [
    "bin",
    "src",
    "LICENSE",
    "cds-plugin.js",
    "CHANGELOG.md"
  ],
  "main": "index.js",
  "types": "index.d.ts",
  "bin": {
    "cdsmc": "./bin/cdsmc.js",
    "migration-check": "./bin/cdsmc.js",
    "cdm": "./bin/cdm-build.js",
    "cdm-build": "./bin/cdm-build.js",
    "lh5r": "./bin/local-html5-repo.js",
    "local-html5-repo": "./bin/local-html5-repo.js"
  },
  "scripts": {
    "start": "cds-serve",
    "test": "jest --runInBand",
    "test:update": "npm test -- -u",
    "lint": "npm run lint:eslint && npm run lint:prettier",
    "lint:prettier": "prettier \"**/*.{js,json,md,yml,yaml,html}\" --write --log-level error",
    "lint:eslint": "eslint . --fix",
    "lint:ci": "npm run eslint:ci && npm run prettier:ci",
    "eslint": "eslint --fix .",
    "eslint:ci": "eslint .",
    "prettier": "prettier \"**/*.{js,json,md,yml,yaml}\" --write --log-level error",
    "prettier:ci": "prettier \"**/*.{js,json,md,yml,yaml}\" --check",
    "upgrade-lock": "rm -rf package-lock.json node_modules && npm i",
    "prepareRelease": "npm prune --production",
    "audit": "npm audit --only=prod"
  },
  "dependencies": {
    "commander": "^15.0.0",
    "express": "^5.2.1",
    "redis": "^6.0.1",
    "verror": "^1.10.1"
  },
  "devDependencies": {
    "@cap-js-community/common": "./",
    "@cap-js/cds-test": "^1.0.1",
    "@cap-js/sqlite": "^3.0.2",
    "@sap/cds": "^10.0.3",
    "@sap/cds-common-content": "^3.2.0",
    "@sap/cds-dk": "^10.0.3",
    "eslint": "^10.6.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-jest": "^29.15.3",
    "eslint-plugin-n": "^18.2.1",
    "jest": "^30.4.2",
    "jest-html-reporters": "^3.1.7",
    "jest-junit": "^17.0.0",
    "prettier": "^3.9.1",
    "shelljs": "^0.10.0"
  },
  "cds": {
    "requires": {
      "redis-ratelimiting": {
        "vcap": {
          "label": "redis-cache"
        }
      },
      "html5-repo": true,
      "portal": true
    },
    "migrationCheck": {
      "baseDir": "migration-check",
      "whitelist": true,
      "checkMtx": true,
      "keep": false,
      "freeze": false,
      "label": null,
      "buildPath": null,
      "adminHash": null,
      "adminTracking": true
    },
    "rateLimiting": {
      "plugin": true,
      "[test]": {
        "plugin": false
      },
      "maxConcurrent": 3,
      "maxInWindow": 10000,
      "window": 3600000,
      "retry": 5,
      "redis": true
    },
    "replicationCache": {
      "plugin": true,
      "[test]": {
        "plugin": false
      },
      "name": "db",
      "group": "default",
      "credentials": {
        "database": ":memory:",
        "[production]": {
          "database": "data.sqlite"
        }
      },
      "ttl": 1800000,
      "check": 60000,
      "stats": 300000,
      "size": 10485760,
      "[production]": {
        "size": 104857600
      },
      "pipe": true,
      "chunks": 1000,
      "retries": 3,
      "auto": true,
      "prune": true,
      "validate": true,
      "deploy": true,
      "preload": false,
      "wait": false,
      "search": true,
      "measure": false,
      "tmpDir": false,
      "baseDir": "temp"
    }
  }
}
