chore: rm @eslint/js and add scripts for jest and mocha

This commit is contained in:
Daniel Hutzel
2025-03-26 12:09:37 +01:00
parent bfa1c174f1
commit ef6c76f2d1

View File

@@ -15,8 +15,7 @@
"./etc/loggers" "./etc/loggers"
], ],
"devDependencies": { "devDependencies": {
"@cap-js/cds-test": "^0", "@cap-js/cds-test": "^0"
"@eslint/js": "^9.22.0"
}, },
"scripts": { "scripts": {
"start": "cds watch bookshop --open http://localhost:4004", "start": "cds watch bookshop --open http://localhost:4004",
@@ -27,6 +26,8 @@
"reviews": "cds watch reviews", "reviews": "cds watch reviews",
"lint": "npx eslint", "lint": "npx eslint",
"test": "chest test", "test": "chest test",
"jest": "npx jest",
"mocha": "npx mocha",
"build": "mbt build -t gen --mtar mta.tar", "build": "mbt build -t gen --mtar mta.tar",
"deploy": "cf deploy gen/mta.tar", "deploy": "cf deploy gen/mta.tar",
"undeploy": "cf undeploy capire.samples --delete-services --delete-service-keys" "undeploy": "cf undeploy capire.samples --delete-services --delete-service-keys"