hana-cli
Version:
HANA Developer Command Line Interface
218 lines (217 loc) • 8.67 kB
JSON
{
"name": "hana-cli",
"version": "4.202605.2",
"description": "HANA Developer Command Line Interface",
"main": "index.js",
"bin": {
"hana-cli": "./bin/cli.js",
"hana-cli-mcp": "./mcp-server/build/index.js"
},
"mcpName": "io.github.SAP-samples/hana-cli",
"type": "module",
"engines": {
"node": ">=22.0.0"
},
"scripts": {
"test": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json \"./tests/**/*.Test.js\"",
"test:sequential": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json --no-parallel \"./tests/**/*.Test.js\"",
"test:cli": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json \"./tests/*.Test.js\"",
"test:utils": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json \"./tests/utils/*.Test.js\"",
"test:routes": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json \"./tests/routes/*.Test.js\"",
"test:single": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json",
"test:grep": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json --grep",
"test:e2e": "node -e \"if(process.env.CI==='true'){console.log('Skipping E2E tests in CI');process.exit(0)}process.exit(1)\" || cross-env NODE_ENV=test mocha --config=tests/.mocharc.e2e.json \"./tests/e2e/**/*.e2e.Test.js\"",
"test:e2e:single": "node -e \"if(process.env.CI==='true'){console.log('Skipping E2E tests in CI');process.exit(0)}process.exit(1)\" || cross-env NODE_ENV=test mocha --config=tests/.mocharc.e2e.json \"./tests/e2e/**/*.e2e.Test.js\"",
"test:e2e:grep": "node -e \"if(process.env.CI==='true'){console.log('Skipping E2E tests in CI');process.exit(0)}process.exit(1)\" || cross-env NODE_ENV=test mocha --config=tests/.mocharc.e2e.json \"./tests/e2e/**/*.e2e.Test.js\" --grep",
"test:e2e:strict": "node -e \"if(process.env.CI==='true'){console.log('Skipping E2E tests in CI');process.exit(0)}process.exit(1)\" || cross-env NODE_ENV=test mocha --config=tests/.mocharc.e2e.json --forbid-pending \"./tests/e2e/**/*.e2e.Test.js\"",
"test:ui": "wdio run wdio.conf.js",
"test:ui:debug": "wdio run wdio.conf.js --debug",
"test:ui:single": "wdio run wdio.conf.js --spec",
"test:platform": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json \"./tests/platform*.Test.js\"",
"test:windows": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json --grep \"@windows|@all\" \"./tests/**/*.Test.js\"",
"test:unix": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json --grep \"@unix|@all\" \"./tests/**/*.Test.js\"",
"test:report": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json --no-parallel --reporter mochawesome --reporter-options reportDir=mochawesome-report,reportFilename=test-report,overwrite=true,html=true,json=true \"./tests/**/*.Test.js\"",
"test:json": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json-output.json \"./tests/**/*.Test.js\" > test-results.json 2>&1 || true",
"test:output": "node scripts/run-test-output.js",
"test:ci": "cross-env NODE_ENV=test mocha --config=tests/.mocharc.json \"./tests/platform*.Test.js\" \"./tests/routes/*.Test.js\" \"./tests/utils/*.Test.js\" --exclude \"./tests/utils/profileIntegration.Test.js\"",
"coverage": "cross-env NODE_ENV=test nyc mocha --config=tests/.mocharc.json --no-parallel",
"coverage:ci": "cross-env NODE_ENV=test nyc mocha --config=tests/.mocharc.json --no-parallel \"./tests/platform*.Test.js\" \"./tests/routes/*.Test.js\" \"./tests/utils/*.Test.js\" --exclude \"./tests/utils/profileIntegration.Test.js\"",
"coverage:cli": "cross-env NODE_ENV=test nyc npm run test:cli",
"coverage:utils": "cross-env NODE_ENV=test nyc npm run test:utils",
"coverage:routes": "cross-env NODE_ENV=test nyc npm run test:routes",
"coverage:report": "nyc report --reporter=html --reporter=text",
"coverage:check": "nyc check-coverage --lines 80 --functions 80 --branches 80",
"changelog": "node CHANGELOG",
"types": "tsc --declaration --allowJs --emitDeclarationOnly --outDir types --skipLibCheck",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"postinstall": "node scripts/postinstall.js",
"build:docs-index": "node scripts/build-docs-index.js",
"generate:agent-instructions": "node generate-agent-instructions.js --force",
"validate:i18n": "node scripts/validate-i18n.js",
"validate:i18n:quiet": "node scripts/validate-i18n.js --quiet",
"release:prepare": "node scripts/prepare-release.js",
"release:notes": "node scripts/extract-release-notes.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/SAP-samples/hana-developer-cli-tool-example.git"
},
"keywords": [
"hana",
"sap",
"database",
"cli"
],
"types": "types/index.d.ts",
"dependencies": {
"@cap-js-community/odata-v2-adapter": "^1.15.10",
"@cap-js/graphql": "0.14.0",
"@cap-js/hana": "^2.8.0",
"@cap-js/postgres": "^2.3.0",
"@cap-js/sqlite": "^2.4.0",
"@cap-js/telemetry": "^1.6.0",
"@inquirer/prompts": "^8.4.2",
"@json2csv/node": "7.0.6",
"@sap-cloud-sdk/resilience": "^4.6.0",
"@sap/cds": "^9.9.0",
"@sap/cds-common-content": "^3.2.0",
"@sap/cds-fiori": "^2.2.0",
"@sap/cds-hana": "^2.1.0",
"@sap/textbundle": "^6.2.0",
"@sap/xsenv": "^6.2.0",
"body-parser": "^2.2.2",
"cds-swagger-ui-express": "^0.11.0",
"chalk": "^5.3.0",
"check-node-version": "^4.2.1",
"cli-cursor": "^5.0.0",
"cli-highlight": "^2.1.11",
"csv-parse": "^6.2.1",
"debug": "^4.3.4",
"didyoumean2": "^7.0.4",
"dotenv": "^17.4.2",
"exceljs": "^4.4.0",
"express": "^5.2.1",
"figures": "^6.1.0",
"glob": "^13.0.5",
"hdb": "2.27.1",
"inquirer": "^13.4.2",
"js-convert-case": "^4.2.0",
"js-yaml": "^4.1.0",
"jszip": "^3.10.1",
"latest-version": "^9.0",
"marked": "^17.0.6",
"marked-terminal": "^7.0",
"odata2openapi": "^1.3.2",
"open": "^11.0.0",
"ora": "^9.4.0",
"properties": "^1.2.1",
"rxjs": "^7.8.1",
"sap-hdb-promisfied": "2.202604.1",
"swagger-jsdoc": "^6.2.8",
"swagger-ui-express": "^5.0.0",
"terminal-kit": "^3.1.1",
"update-notifier": "^7.0.0",
"uuid": "^14.0.0",
"ws": "^8.20.0",
"yargs": "^18.0.0"
},
"peerDependencies": {
"@sap/cds-dk": ">=9.9.0 || >=10.0.0"
},
"author": "SAP",
"license": "SEE LICENSE IN LICENSE",
"bugs": {
"url": "https://github.com/SAP-samples/hana-developer-cli-tool-example/issues"
},
"homepage": "https://sap-samples.github.io/hana-developer-cli-tool-example/",
"devDependencies": {
"@sap/eslint-plugin-cds": "^4.1.2",
"@types/mocha": "^10.0.10",
"@types/node": "^25.6.0",
"@types/yargs": "^17.0.31",
"@wdio/cli": "^9.27.1",
"@wdio/devtools-service": "^10.3.1",
"@wdio/globals": "^9.27.1",
"@wdio/local-runner": "^9.27.1",
"@wdio/mocha-framework": "^9.27.1",
"@wdio/spec-reporter": "^9.27.1",
"chai": "^6.2.2",
"chai-as-promised": "^8.0.2",
"chromedriver": "^148.0.1",
"cross-env": "^10.1.0",
"devtools": "^8.42.0",
"eslint": "^10.3.0",
"esmock": "^2.7.3",
"mermaid": "^11.14.0",
"mocha": "^11.7.5",
"mochawesome": "^7.1.3",
"mock-fs": "^5.5.0",
"nyc": "^18.0.0",
"sinon": "^21.1.2",
"stringify-changelog": "^0.2.1",
"supertest": "^7.2.2",
"vitepress-plugin-mermaid": "^2.0.17",
"wdio-ui5-service": "^3.0.8",
"webdriverio": "^9.27.1"
},
"cds": {
"preview": {
"ui5": {
"version": "1.147.1"
}
},
"hana": {
"journal": {
"enable-drop": false,
"change-mode": "alter"
},
"deploy-format": "hdbtable"
},
"requires": {
"middlewares": true,
"db": {
"kind": "hana",
"impl": "@cap-js/hana"
},
"queue": {
"legacyLocking": false
}
},
"features": {
"preserve_computed": true,
"kibana_formatter": true,
"audit_personal_data": true,
"optimized_search": true,
"rest_new_adapter": true,
"odata_new_parser": true,
"ieee754compatible": true,
"compat_srv_getters": false,
"compat_texts_entities": false,
"calc_elements": true
},
"protocols": {
"graphql": {
"path": "/graphql",
"impl": "@cap-js/graphql"
}
},
"log": {
"service": true
}
},
"overrides": {
"axios": "^1.13.5",
"qs": "^6.14.2",
"@sap/cds-dk": {
"axios": "^1.13.5",
"qs": "^6.14.2"
},
"marked-terminal": {
"marked": "^17.0.1"
},
"mocha": {
"diff": "^8.0.3"
}
}
}