@sap/cds-compiler
Version:
CDS (Core Data Services) compiler and backends
67 lines • 4.79 kB
JSON
{
"name": "@sap/cds-compiler",
"version": "6.2.2",
"description": "CDS (Core Data Services) compiler and backends",
"homepage": "https://cap.cloud.sap/",
"author": "SAP SE (https://www.sap.com)",
"license": "SEE LICENSE IN LICENSE",
"type": "commonjs",
"bin": {
"cdsc": "bin/cdsc.js",
"cdshi": "bin/cdshi.js",
"cdsse": "bin/cdsse.js"
},
"main": "lib/main.js",
"types": "lib/main.d.ts",
"scripts": {
"download": "exit 0",
"gen": "npm run rdpg",
"rdpg": "node ./redepage/bin/redepage --compile lib/gen/CdlParser.js --copy-base-parser lib/parsers/CdlGrammar.g4 && node ./scripts/createCdlKeywordList.js && node scripts/genGrammarChecksum.js",
"xmakeAfterInstall": "npm run gen",
"xmakePrepareRelease": "echo \"$(node scripts/stripReadme.js README.md)\" > README.md && node scripts/assertSnapshotVersioning.js && node scripts/assertChangelog.js && node scripts/cleanup.js --remove-dev",
"test": "node scripts/xmakeTestDispatcher.js",
"test:xmake": "npm run test3 -- --topic=Drafts --test=CalculatedElements",
"test:ci": "node scripts/verifyGrammarChecksum.js && mocha --timeout 10000 --reporter-option maxDiffSize=0 scripts/testLazyLoading.js && mocha --parallel --reporter-option maxDiffSize=0 test/ test3/",
"test:piper": "node scripts/verifyGrammarChecksum.js && npm run coverage:piper",
"test3": "node scripts/verifyGrammarChecksum.js && mocha --reporter-option maxDiffSize=0 test3/",
"testStandardDatabaseFunctions": "CDS_COMPILER_STANDARD_DB_FUNCTIONS=1 mocha --reporter-option maxDiffSize=0 test3/test.standard-database-functions.js",
"deployHanaSql": "CDS_COMPILER_DEPLOY_HANA=1 mocha --reporter-option maxDiffSize=0 test3/test.deploy.hana-sql.js",
"deployHdiHdbcds": "CDS_COMPILER_DEPLOY_HANA=1 mocha --reporter-option maxDiffSize=0 test3/test.deploy.hdi.hdbcds.js",
"deployHdi": "CDS_COMPILER_DEPLOY_HANA=1 mocha --reporter-option maxDiffSize=0 --extensions .hdi test3/test.deploy.hdi.hdbcds.js",
"deployHdbcds": "CDS_COMPILER_DEPLOY_HANA=1 mocha --reporter-option maxDiffSize=0 --extensions .hdbcds test3/test.deploy.hdi.hdbcds.js",
"deployGitDiffs": "CDS_COMPILER_DEPLOY_HANA=1 mocha --reporter-option maxDiffSize=0 test3/test.deploy.git-diffs.js",
"deployHdbcdsGitDiffs": "CDS_COMPILER_DEPLOY_HANA=1 mocha --reporter-option maxDiffSize=0 --extensions .hdbcds test3/test.deploy.git-diffs.js",
"deployHdiGitDiffs": "CDS_COMPILER_DEPLOY_HANA=1 mocha --reporter-option maxDiffSize=0 --extensions .hdi test3/test.deploy.git-diffs.js",
"gentest3": "cross-env MAKEREFS=${MAKEREFS:-'true'} mocha --reporter-option maxDiffSize=0 test3/testRefFiles.js",
"coverage": "cross-env nyc mocha --reporter-option maxDiffSize=0 test/ test3/testRefFiles.js && nyc report --reporter=lcov",
"coverage:piper": "cross-env nyc mocha --reporter test/TestMochaReporter.js --reporter-options mochaFile=./coverage/TEST-results.xml --reporter-option maxDiffSize=0 --timeout 10000 test/ test3/ && nyc report --reporter=cobertura && nyc report --reporter=lcov",
"lint": "eslint bin/ benchmark/ lib/ test/ test3/ scripts/ && node scripts/linter/lintConstants.js && node scripts/linter/lintGrammar.js && node scripts/linter/lintTests.js test3/ && node scripts/linter/lintMessages.js && node scripts/linter/lintMessageIdCoverage.js lib/ && markdownlint README.md CHANGELOG.md doc/ internalDoc/ && cd share/messages && markdownlint . && cd ../../ && node scripts/check-changelog.js",
"lint:edmx": "node scripts/odata/lint-edmx-v4.js",
"tslint": "tsc --pretty -p .",
"updateVocs": "node scripts/odataAnnotations/generateDictMain.js && npm run generateAllRefs",
"updateTocs": "node scripts/update-toc.js",
"generateCompilerRefs": "cross-env MAKEREFS='true' mocha test/testCompiler.js",
"generateMigrationRefs": "cross-env MAKEREFS='true' mocha test/test.to.migration.js",
"generateEdmRefs": "cross-env MAKEREFS='true' mocha test/testEdmPositive.js",
"generateForHanaRefs": "cross-env MAKEREFS='true' mocha test/testHanaTransformation.js",
"generateOdataRefs": "cross-env MAKEREFS='true' mocha test/testODataTransformation.js",
"generateOdataAnnoRefs": "cross-env MAKEREFS='true' mocha test/testODataAnnotations.js",
"generateToSqlRefs": "cross-env MAKEREFS='true' mocha test/testToSql.js",
"generateToRenameRefs": "cross-env MAKEREFS='true' mocha test/testToRename.js",
"generateDraftRefs": "cross-env MAKEREFS='true' mocha test/testDraft.js",
"generateAllRefs": "node scripts/verifyGrammarChecksum.js && cross-env MAKEREFS=force mocha --reporter-option maxDiffSize=0 test/ test3/"
},
"keywords": [
"CDS"
],
"files": [
"bin",
"lib",
"doc",
"share",
"CHANGELOG.md"
],
"engines": {
"node": ">=20"
}
}