-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpackage.json
100 lines (100 loc) · 2.5 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
{
"name": "btp-procurement-data-extractor",
"version": "1.0.0",
"description": "BTP application for extracting procurement data",
"private": true,
"dependencies": {
"@sap-cloud-sdk/connectivity": "^3",
"@sap-cloud-sdk/http-client": "^3",
"@sap/cds": "~6.6.1",
"@sap/cds-dk": "~6.6.1",
"@sap/xsenv": "^3.3.2",
"@sap/xssec": "^3.3.2",
"axios": "^0.27.2",
"cds-dbm": "~0.1.4",
"cds-pg": "~0.1.35",
"express": "^4.18.1",
"flat": "^5.0.2",
"fs": "*",
"moment": "^2.29.3",
"passport": "^0.6.0",
"path": "^0.12.7",
"unzipper": "^0.10.11",
"uuid": "^8.3.2"
},
"devDependencies": {
"sqlite3": "^5.0.2"
},
"cds": {
"features": {
"cds_tx_inheritance": false,
"cds_tx_protection": false
},
"odata": {
"version": "v4"
},
"query": {
"limit": {
"default": 100,
"max": 5000
}
},
"build": {
"tasks": [
{
"use": "node-cf",
"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",
"dialect": "plain"
},
"database": {
"impl": "cds-pg",
"model": [
"srv",
"db"
]
},
"auth": {
"kind": "xsuaa"
}
},
"migrations": {
"db": {
"schema": {
"default": "public",
"clone": "_cdsdbm_clone",
"reference": "_cdsdbm_ref"
},
"deploy": {
"tmpFile": "tmp/_autodeploy.json",
"undeployFile": "db/undeploy.json"
}
}
}
},
"scripts": {
"start": "cds run",
"local:docker:run": "docker-compose up",
"local:db:build": "npx cds-dbm deploy --create-db",
"local:debug": "node --inspect node_modules/@sap/cds/bin/cds run",
"mta:package": "mbt build --mtar mta-btp-procurement-data-extractor --platform cf",
"mta:deploy": "cf deploy mta_archives/mta-btp-procurement-data-extractor.mtar -f",
"mta:package:deploy": "npm run mta:package && npm run mta:deploy",
"mta:deploy:db": "cf deploy mta_archives/mta-btp-procurement-data-extractor.mtar -f -m btp-procurement-data-extractor-pgdb-deployer",
"mta:package:deploy:db": "npm run mta:package && npm run mta:deploy:db"
}
}