@cap-js-community/mtx-tool
Version:
Multitenancy and Extensibility Tool is a cli to reduce operational overhead for multitenant Cloud Foundry applications
81 lines (80 loc) • 3.63 kB
JSON
{
"name": "@cap-js-community/mtx-tool",
"version": "0.13.0",
"description": "Multitenancy and Extensibility Tool is a cli to reduce operational overhead for multitenant Cloud Foundry applications",
"bin": {
"mtx": "bin/mtx.js"
},
"files": [
"bin",
"src"
],
"scripts": {
"patch": "npx patch-package",
"test": "jest",
"test:coverage": "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();' test -r --include='*.test.js'",
"test:resnap": "npm run patch && npm run test:remove-inline-snapshots && npm run test:remove-file-snapshots && npm t -- -u && npm run lint:fix",
"test:record": "npm run test:record:reg && npm run test:record:cds && npm run test:record:hdi && npm run test:record:svm && npm run test:record:srv",
"test:record:reg": "jest --runInBand --config jest-nock-record.config.js test-nock-record/tenantRegistry.nock.test.js",
"test:record:reg:list": "jest --runInBand --config jest-nock-record.config.js test-nock-record/tenantRegistry.nock.test.js --testNamePattern 'reg list|reg long list|reg service config'",
"test:record:reg:update-deps": "jest --runInBand --config jest-nock-record.config.js test-nock-record/tenantRegistry.nock.test.js --testNamePattern 'reg update dependencies'",
"test:record:reg:update-urls": "jest --runInBand --config jest-nock-record.config.js test-nock-record/tenantRegistry.nock.test.js --testNamePattern 'reg update url'",
"test:record:cds": "jest --runInBand --config jest-nock-record.config.js test-nock-record/capMultitenancy.nock.test.js",
"test:record:hdi": "jest --runInBand --config jest-nock-record.config.js test-nock-record/hanaManagement.nock.test.js",
"test:record:svm": "jest --runInBand --config jest-nock-record.config.js test-nock-record/serviceManager.nock.test.js",
"test:record:srv": "jest --runInBand --config jest-nock-record.config.js test-nock-record/serverDiagnostic.nock.test.js",
"lint": "npm run prettier && npm run eslint",
"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",
"pack": "npm pack",
"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 src",
"upgrade-lock": "npm i && npm run patch"
},
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"node-fetch": "^2.7.0"
},
"overrides": {
"whatwg-url": "^14.2.0"
},
"bundleDependencies": [
"node-fetch"
],
"devDependencies": {
"@eslint/js": "^10.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",
"nock": "^13.5.6",
"prettier": "^3.9.5",
"typescript": "^6.0.3"
},
"homepage": "https://cap-js-community.github.io/mtx-tool/",
"repository": {
"type": "git",
"url": "git+https://github.com/cap-js-community/mtx-tool.git"
},
"bugs": {
"url": "https://github.com/cap-js-community/mtx-tool/issues"
},
"keywords": [
"cli",
"tool",
"btp",
"operations",
"multitenancy"
],
"author": "Richard Lindner <rlindner81@gmail.com>",
"license": "Apache-2.0"
}