To avoid further questions (e.g. https://answers.sap.com/questions/13577720/i-push-my-capnodejsto-btp-environment-but-always-c.html) this PR will add missing `@sap/cds` dependency.
58 lines
1.1 KiB
JSON
58 lines
1.1 KiB
JSON
{
|
|
"name": "@capire/hello-world",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"test": "npx jest --silent",
|
|
"start": "cds serve srv/world.cds",
|
|
"start:ts": "cds-ts serve srv/world.cds"
|
|
},
|
|
"dependencies": {
|
|
"@sap/cds": "^5.0.4",
|
|
},
|
|
"devDependencies": {
|
|
"@types/jest": "^27.0.2",
|
|
"@types/node": "^16.11.6",
|
|
"ts-jest": "^27.0.2",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"jest": {
|
|
"testEnvironment": "node",
|
|
"preset": "ts-jest",
|
|
"globals": {
|
|
"ts-jest": {
|
|
"diagnostics": {
|
|
"_comment": "see https://githubmemory.com/repo/kulshekhar/ts-jest/issues/2722",
|
|
"ignoreCodes": [
|
|
151001
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"eslintConfig": {
|
|
"extends": "eslint:recommended",
|
|
"env": {
|
|
"es2020": true,
|
|
"node": true,
|
|
"jest": true,
|
|
"mocha": true
|
|
},
|
|
"globals": {
|
|
"SELECT": true,
|
|
"INSERT": true,
|
|
"UPDATE": true,
|
|
"DELETE": true,
|
|
"CREATE": true,
|
|
"DROP": true,
|
|
"CDL": true,
|
|
"CQL": true,
|
|
"CXL": true,
|
|
"cds": true
|
|
},
|
|
"rules": {
|
|
"no-console": "off",
|
|
"require-atomic-updates": "off"
|
|
}
|
|
}
|
|
}
|