-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
71 lines (71 loc) · 2.35 KB
/
package.json
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
{
"name": "@cap-js-community/feature-toggle-library",
"version": "1.2.3",
"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 --package-lock && npm run patch"
},
"engines": {
"node": ">=18.0.0"
},
"dependencies": {
"redis": "^4.7.0",
"verror": "^1.10.1",
"yaml": "^2.6.0"
},
"devDependencies": {
"@sap/cds": "^8.4.2",
"axios": "^1.7.7",
"eslint": "^8.57.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-jest": "^28.9.0",
"jest": "^29.7.0",
"jsdoc": "^4.0.4",
"prettier": "^3.3.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 <[email protected]>",
"license": "Apache-2.0",
"cds": {
"requires": {
"FeatureService": {
"model": "@cap-js-community/feature-toggle-library"
}
}
}
}