-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.9 KB
/
package.json
File metadata and controls
77 lines (77 loc) · 2.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@cap-js-community/feature-toggle-library",
"version": "1.3.4",
"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": "^5.12.1",
"verror": "^1.10.1",
"yaml": "^2.8.3"
},
"devDependencies": {
"@cap-js/cds-test": "^0.4.1",
"@eslint/js": "^10.0.1",
"@sap/cds": "^9.8.5",
"@sap/cds-mtxs": "^3.8.1",
"eslint": "^10.2.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-jest": "^29.15.2",
"globals": "^17.5.0",
"jest": "^30.3.0",
"jsdoc": "^4.0.5",
"prettier": "^3.8.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"
}
}
}
}