{
  "name": "@cap-js/change-tracking",
  "version": "2.0.0",
  "description": "CDS plugin providing out-of-the box support for automatic capturing, storing, and viewing of the change records of modeled entities.",
  "repository": "cap-js/change-tracking",
  "author": "SAP SE (https://www.sap.com)",
  "license": "Apache-2.0",
  "main": "cds-plugin.js",
  "files": [
    "lib",
    "_i18n",
    "index.cds",
    "CHANGELOG.md",
    "MIGRATION.md",
    "README.md"
  ],
  "scripts": {
    "lint": "npx eslint .",
    "test": "npx jest --silent",
    "test:sqlite": "CDS_ENV=sqlite npx jest --silent",
    "test:pg": "npm run start:pg && CDS_ENV=pg npx jest --silent",
    "test:hana": "cds bind --exec -- npx jest --silent",
    "deploy:hana": "cd tests/bookshop && cds deploy -2 hana && cd ../../",
    "deploy:hana:rowlevel": "cd tests/bookshop && CDS_ENV=rowlevel cds deploy -2 hana && cd ../../",
    "start:pg": "cd tests/bookshop/ && docker compose -f pg-stack.yml up -d && npm run deploy:pg && cd ../..",
    "deploy:pg": "CDS_ENV=pg cds build --production && cds deploy --profile pg",
    "test:all": "npm run test:sqlite && npm run test:pg && npm run test:hana",
    "format": "npx -y prettier@3 . --write",
    "format:check": "npx -y prettier@3 --check ."
  },
  "peerDependencies": {
    "@sap/cds": ">=8.5"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "devDependencies": {
    "@cap-js/cds-test": "^0 || ^1",
    "@cap-js/cds-types": "^0"
  },
  "cds": {
    "requires": {
      "change-tracking": {
        "model": "@cap-js/change-tracking",
        "maxDisplayHierarchyDepth": 3,
        "preserveDeletes": false,
        "procedureForRestoringBacklinks": true,
        "rowLevelTriggers": false
      }
    }
  },
  "jest": {
    "testTimeout": 200000
  },
  "workspaces": [
    "tests/*",
    "tests/performance/"
  ]
}
