{ "name": "devtoberfest", "version": "1.0.0", "description": "A simple CAP project.", "repository": "", "license": "UNLICENSED", "private": true, "dependencies": { "@sap/audit-logging": "^5.5.0", "@sap/cds": "^5.7.3", "@sap/cds-odata-v2-adapter-proxy": "^1.8.9", "@sap/xsenv": "^3.1.1", "@sap/xssec": "^3.2.11", "applicationinsights": "^2.2.0", "cds-pg": "0.1.16", "copyfiles": "^2.4.1", "express": "^4.17.1", "passport": "^0.5.1", "pg": "^8.7.1", "cds-dbm": "0.0.28" }, "devDependencies": { "@sap/ux-specification": "^1.90.10", "cds-dbm": "0.0.27", "chai": "^4.3.4", "chai-as-promised": "^7.1.1", "chai-subset": "^1.6.0", "jest": "^27.4.5", "npm-run-all": "^4.1.5" }, "cds": { "build": { "tasks": [ { "for": "node-cf", "src": "srv" }, { "use": "cds-dbm/dist/build/postgres-cf", "for": "postgres-cf", "src": "db", "options": { "deployCmd": "npx cds-dbm deploy --load-via delta --auto-undeploy" } } ] }, "requires": { "db": { "kind": "database" }, "database": { "dialect": "plain", "impl": "cds-pg", "model": [ "srv" ] }, "uaa": { "kind": "xsuaa" } }, "migrations": { "db": { "schema": { "default": "public", "clone": "_cdsdbm_clone", "reference": "_cdsdbm_ref" }, "deploy": { "tmpFile": "tmp/_autodeploy.json", "undeployFile": "db/undeploy.json" } } } }, "scripts": { "start": "npx cds run", "start:docker": "docker-compose up", "build:cf": "mbt build", "deploy:cf": "cf deploy mta_archives/devtoberfest_1.0.0.mtar", "build:cf:deployer": "mbt module-build -g -m=devtoberfest-db-deployer-apt,devtoberfest-srv && mbt assemble", "undeploy:cf": "cf undeploy devtoberfest --delete-service-keys --delete-services --delete-service-brokers", "copy:db:template": "copyfiles -u 1 -a ./db-deployer-apt/* ./db-deployer-apt/**/* gen/db-with-express", "copy:db:gen": "copyfiles -u 2 -a ./gen/db/* ./gen/db/**/* gen/db-with-express", "deploy:cf:deployer:apt": "cf deploy mta_archives/devtoberfest_1.0.0.mtar -m devtoberfest-db-deployer-apt", "build:zipsrv": "cd gen/srv && zip -r ../srv.zip ." } }