@cap-js-community/feature-toggle-library
Version:
SAP BTP feature toggle library enables Node.js applications using the SAP Cloud Application Programming Model to maintain live-updatable feature toggles via Redis.
72 lines (71 loc) • 2.41 kB
JSON
{
"name": "@cap-js-community/feature-toggle-library",
"version": "1.3.0",
"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": "jest",
"test:coverage": "jest --runInBand --coverageReporters=html --coverageReporters=text-summary",
"test:remove-inline-snapshots": "npx replace '\\.toMatchInlineSnapshot\\(\\s*`[\\s\\S]*?`\\s*\\);' '.toMatchInlineSnapshot();' test -r --include='*.test.js'",
"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": "npx shx rm -rf package-lock.json node_modules && npm i && npm run patch"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"@redis/client": "^1.6.1",
"verror": "^1.10.1",
"yaml": "^2.8.0"
},
"devDependencies": {
"@cap-js/cds-test": "^0.3.0",
"@sap/cds": "^8.9.4",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-jest": "^28.11.0",
"jest": "^29.7.0",
"jsdoc": "^4.0.4",
"prettier": "^3.5.3"
},
"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"
}
}
}
}