chore: reducing 3rd dependencies (#722)

* chore: reducing 3rd dependencies

* Update package.json

Co-authored-by: Bob den Os <108393871+BobdenOs@users.noreply.github.com>

* Keep using jest by default

---------

Co-authored-by: Bob den Os <108393871+BobdenOs@users.noreply.github.com>
This commit is contained in:
Daniel Hutzel
2024-07-15 14:37:58 +02:00
committed by GitHub
parent 02ea798f5f
commit 3161758e5f
4 changed files with 11 additions and 516 deletions

View File

@@ -1,11 +1,11 @@
{
"name": "@capire/samples",
"version": "2.0.0",
"version": "2.1.0",
"description": "A monorepo with several samples for CAP.",
"repository": "https://github.com/sap-samples/cloud-cap-samples.git",
"author": "daniel.hutzel@sap.com",
"dependencies": {
"@sap/cds": ">=7"
"@sap/cds": ">=8"
},
"workspaces": [
"./bookshop",
@@ -29,23 +29,16 @@
"semver": "^7"
},
"scripts": {
"cleanup": "rm -rf node_modules && rm -rf */node_modules && rm -rf */*/node_modules",
"bookshop": "cds watch bookshop",
"start": "cds watch fiori",
"fiori": "cds watch fiori",
"hello": "cds watch hello",
"media": "cds watch media",
"mocha": "CDS_TEST_SILENT=y npx mocha",
"lint": "eslint",
"test": "npx jest --silent",
"jest": "npx jest --silent",
"start": "cds watch fiori",
"test": "npm run jest -- --silent",
"test:hello": "cd hello && npm test",
"lint": "eslint ."
},
"jest": {
"testTimeout": 20000,
"testMatch": [
"**/*.test.js"
]
"mocha": "CDS_TEST_SILENT=y npx mocha",
"test:hello": "cd hello && npm test"
},
"mocha": {
"recursive": true,