UNPKG

@sap/xsodata

Version:

Expose data from a HANA database as OData V2 service with help of .xsodata files.

81 lines 4.02 kB
{ "name": "@sap/xsodata", "version": "8.2.1", "description": "Expose data from a HANA database as OData V2 service with help of .xsodata files.", "main": "index.js", "license": "SEE LICENSE IN developer-license-3.1.txt", "scripts": { "serve": "node test_apps/server", "serve-debug": "node --inspect-brk test_apps/server", "pretest": "npm -g ls --depth=0 && npm ls --depth=0", "lint": "jshint .", "all-tests-jenkins": "npm run get-jwt && node ./node_modules/mocha/bin/_mocha --no-color --timeout 20000 'test/**/test*.js' 'test_apps/test_**/**/test*.js'", "all-tests-cv": "node ./node_modules/mocha/bin/_mocha --no-color --timeout 20000 'test_apps/test_cv/**/test*.js'", "scenario-tests": "npm run get-jwt && node ./node_modules/mocha/bin/_mocha --no-color --timeout 20000 test_apps/test_**/**/test*.js", "all-tests-synonym": "node ./node_modules/mocha/bin/_mocha --no-color --timeout 20000 test_apps/test_synonyms/test_*.js", "get-jwt": "node ./test_apps/test_authorization/tokenCreation/createTokenSnipplet.js", "unit-tests": "node ./node_modules/mocha/bin/_mocha test/**/test*.js", "cover-unit-tests": "nyc --reporter=text --reporter=html --all --include lib/ npm run unit-tests", "cover-scenario-tests": "nyc --reporter=text --reporter=html --all --include lib/ --check-coverage true --lines 80 --branches 68 --functions 86 --statements 80 npm run scenario-tests", "cover-jenkins": "nyc --reporter=text --reporter=html --all --include lib/ --check-coverage true --lines 80 --branches 68 --functions 86 --statements 80 npm run all-tests-jenkins", "report": "npm run get-jwt && node ./node_modules/mocha/bin/_mocha test/**/test*.js test_apps/test_**/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=report_all.html", "report-unit-tests": "node ./node_modules/mocha/bin/_mocha test/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=report_unit.html", "report-scenario-tests": "npm run get-jwt && node ./node_modules/mocha/bin/_mocha test_apps/test_**/**/test*.js --reporter mocha-simple-html-reporter --reporter-options output=report_scenario.html", "gen": "npm run genfilter && npm run genorderby && npm run gensegment && npm run genxso && npm run genxml && npm run genDateTimeParser", "genfilter": "jison lib/grammars/filter.jison -o lib/parsers/jison_filter_parser.js", "genorderby": "jison lib/grammars/orderby.jison -o lib/parsers/jison_orderby_parser.js", "gensegment": "jison lib/grammars/segment.jison -o lib/parsers/jison_segment_parser.js", "genuri_kv": "jison lib/grammars/uriKeyValue.jison -o lib/parsers/uriKeyValue.js", "genxso": "pegjs -o lib/parsers/peg_xsodata_parser.js lib/grammars/xsodata.peg", "genxml": "pegjs -o lib/parsers/xml2JsonParser.js lib/grammars/xml2json.peg", "genDateTimeParser": "pegjs lib/grammars/dateTimeToJson.peg lib/parsers/dateTimeParser.js", "prepareRelease": "clean-packages && npm prune --production && ls && cat package.json" }, "repository": { "type": "git" }, "keywords": [ "odata", "xsjs", "async-xsjs" ], "files": [ "index.js", "npm-shrinkwrap.json", "CHANGELOG.md", "documentation", "developer-license-3.1.txt", "lib", ".npmignore" ], "dependencies": { "@sap/xsenv": "5.5.0", "@sap/xssec": "3.6.2", "async": "3.2.6", "big.js": "6.2.2", "body-parser": "1.20.3", "hdb": "0.19.12", "lodash": "4.17.21", "negotiator": "1.0.0", "rwlock": "5.0.0", "xml-writer": "1.7.0" }, "engines": { "node": "^18 || ^20 || ^22" }, "devDependencies": { "@sap/hana-client": "2.24.21", "chai": "4.3.10", "expect": "1.20.2", "filter-node-package": "5.1.0", "jison": "0.4.18", "jshint": "2.13.6", "mocha": "10.7.3", "mocha-simple-html-reporter": "2.0.0", "node-mocks-http": "=1.7.6", "nyc": "^17.1.0", "pegjs": "0.10.0", "sinon": "6.1.4", "xml2js": "0.6.2" } }