Spring cleaning, part 2 (#813)
* Remove OData v2 show case: Genres TreeView * Refactored bookstore and fiori services: consolidate routing and remove deprecated files * Add Jest configuration file with silent mode enabled * Refactor test files: streamline imports and remove redundant code * Change price field type to Price for better clarity and precision * Example for separation of concerns: access-control.cds
This commit is contained in:
25
package.json
25
package.json
@@ -4,9 +4,6 @@
|
||||
"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": ">=8"
|
||||
},
|
||||
"workspaces": [
|
||||
"./bookshop",
|
||||
"./bookstore",
|
||||
@@ -19,21 +16,19 @@
|
||||
],
|
||||
"devDependencies": {
|
||||
"@cap-js/cds-test": "^0",
|
||||
"@cap-js/cds-types": "^0",
|
||||
"@cap-js/sqlite": "^1",
|
||||
"eslint": "^9",
|
||||
"semver": "^7"
|
||||
"@eslint/js": "^9.22.0"
|
||||
},
|
||||
"scripts": {
|
||||
"build": "mbt build -t gen --mtar mta.tar",
|
||||
"deploy": "cf deploy gen/mta.tar",
|
||||
"undeploy": "cf undeploy capire.samples --delete-services --delete-service-keys",
|
||||
"bookstore": "cds watch bookstore",
|
||||
"bookshop": "cds watch bookshop",
|
||||
"fiori": "cds watch fiori",
|
||||
"lint": "eslint",
|
||||
"test": "npx jest --silent",
|
||||
"jest": "npx jest --silent",
|
||||
"mocha": "CDS_TEST_SILENT=y npx mocha"
|
||||
"orders": "cds watch orders",
|
||||
"reviews": "cds watch reviews",
|
||||
"lint": "npx eslint",
|
||||
"test": "chest test",
|
||||
"build": "mbt build -t gen --mtar mta.tar",
|
||||
"deploy": "cf deploy gen/mta.tar",
|
||||
"undeploy": "cf undeploy capire.samples --delete-services --delete-service-keys"
|
||||
},
|
||||
"mocha": {
|
||||
"recursive": true,
|
||||
@@ -42,4 +37,4 @@
|
||||
},
|
||||
"license": "SEE LICENSE IN LICENSE",
|
||||
"private": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user