forked from gregorwolf/pg-beershop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
57 lines (57 loc) · 1.65 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
{
"name": "pg-beershop",
"version": "1.0.0",
"description": "Sample project to demonstrate the use of cds-pg",
"main": "index.js",
"scripts": {
"test": "jest",
"start": "cds run",
"build": "cds build",
"build:mta": "mbt build",
"build:ElasticBeanstalk": "run-s build build:zipsrv",
"build:zipsrv": "cd gen/srv && zip -r ../srv.zip .",
"compile:tosql": "cds c srv -2 sql > beershop-cds.sql && node cdssql2pgsql.js > beershop.sql",
"start:docker": "docker-compose -f stack.yml up",
"create-service:pg:dbms": "cf create-service azure-postgresql-9-6-dbms basic azure-postgresql -c azure-pg-dbms.json",
"create-service:pg:db": "cf create-service azure-postgresql-9-6-database database beershop-database -c azure-pg-db.json",
"deploy:cf": "cf deploy mta_archives/pg-beershop_1.0.0.mtar",
"test:db": "node test/test-db.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/gregorwolf/pg-beershop.git"
},
"keywords": [],
"author": "Gregor Wolf",
"license": "derived Beer-Ware",
"dependencies": {
"@sap/cds": "^4.1.9",
"@sap/cds-dk": "^3.0.0",
"@sap/cds-odata-v2-adapter-proxy": "^1.4.44",
"@sap/xsenv": "^3.0.0",
"cds-pg": "mikezaschka/cds-pg#main",
"express": "^4.17.1",
"passport": "^0.4.1",
"pg": "^8.3.3"
},
"devDependencies": {
"npm-run-all": "^4.1.5",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"jest": "^26.4.2"
},
"cds": {
"requires": {
"db": {
"kind": "PostgreSQL"
},
"PostgreSQL": {
"impl": "cds-pg",
"model": [
"srv"
]
}
}
}
}