{
  "name": "@cap-js-community/feature-toggle-library",
  "version": "1.3.6",
  "description": "SAP BTP feature toggle library enables Node.js applications using the SAP Cloud Application Programming Model to maintain live-updatable feature toggles via Redis.",
  "main": "src/index.js",
  "files": [
    "src",
    "cds-plugin.js",
    "index.cds"
  ],
  "scripts": {
    "patch": "npx patch-package",
    "test:prepare": "npx shx test -e test-cap-server/node_modules || npm i --package-lock false --prefix test-cap-server",
    "test": "npm run test:prepare && CDS_STRICT_NODE_VERSION=false jest",
    "test:coverage": "npm run test:prepare && CDS_STRICT_NODE_VERSION=false jest --runInBand --coverageReporters=html --coverageReporters=text-summary",
    "test:remove-file-snapshots": "npx shx rm '**/__snapshots__/*.snap'",
    "test:remove-inline-snapshots": "npx replace '\\.toMatchInlineSnapshot\\(\\s*`[\\s\\S]*?`\\s*\\);' '.toMatchInlineSnapshot();' . -r --include='*.test.js' --exclude='node_modules'",
    "test:resnap": "npm run patch && npm run test:remove-inline-snapshots && npm run test:remove-file-snapshots && npm t -- -u && npm run lint:fix",
    "lint": "npm run prettier && npm run eslint && npm run jsdoc",
    "lint:fix": "npm run prettier:fix && npm run eslint:fix",
    "eslint": "eslint .",
    "eslint:fix": "npm run eslint -- --fix",
    "prettier": "prettier \"**/*.{js,json,md,yml,yaml}\" . --check",
    "prettier:fix": "npm run prettier -- --log-level error --write",
    "jsdoc": "jsdoc --pedantic src/**",
    "docs": "cd docs && bundle exec jekyll serve",
    "docs:install": "cd docs && npx shx rm -rf vendor Gemfile.lock && bundle install",
    "cloc": "npx cloc --vcs=git --read-lang-def=cloc.def src",
    "upgrade-lock": "rm -rf node_modules package-lock.json && npm i && npm run patch"
  },
  "engines": {
    "node": ">=20.0.0"
  },
  "dependencies": {
    "@redis/client": "^6.1.0",
    "verror": "^1.10.1",
    "yaml": "^2.9.0"
  },
  "devDependencies": {
    "@cap-js/cds-test": "^1.0.1",
    "@eslint/js": "^10.0.1",
    "@sap/cds": "^10.0.3",
    "@sap/cds-mtxs": "^4.0.1",
    "eslint": "^10.7.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-jest": "^29.15.4",
    "globals": "^17.7.0",
    "jest": "^30.4.2",
    "jsdoc": "^4.0.5",
    "prettier": "^3.9.5"
  },
  "homepage": "https://cap-js-community.github.io/feature-toggle-library/",
  "repository": {
    "type": "git",
    "url": "git+https://github.com/cap-js-community/feature-toggle-library.git"
  },
  "bugs": {
    "url": "https://github.com/cap-js-community/feature-toggle-library/issues"
  },
  "keywords": [
    "feature-flags",
    "feature-toggles",
    "redis",
    "sap-cap",
    "sap-btp",
    "cloud-foundry"
  ],
  "author": "Richard Lindner <richard.lindner@sap.com>",
  "license": "Apache-2.0",
  "cds": {
    "requires": {
      "FeatureService": {
        "model": "@cap-js-community/feature-toggle-library"
      }
    }
  }
}
