-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
75 lines (75 loc) · 1.6 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
{
"name": "bookshop-ts",
"version": "1.0.0",
"description": "A simple CAP project.",
"repository": "<Add your repository here>",
"license": "UNLICENSED",
"private": true,
"dependencies": {
"@sap/cds": "^7",
"express": "^4",
"@sap/xssec": "^3",
"passport": "^0",
"@cap-js/sqlite": "^1.3.1",
"sqlite3": "^5.1.6"
},
"devDependencies": {
"@cap-js/cds-typer": "^0",
"cds-plugin-ui5": "^0.6.13",
"@sap/cds-dk": "^7",
"rimraf": "^3.0.2"
},
"scripts": {
"start": "cds-serve",
"approuter": "cds bind --exec -- npm start --prefix approuter",
"hybrid": "cds-ts watch --profile hybrid",
"build:cf": "npm run build:cds && npm run cleanup:ts && npm run build:ts",
"build:ts": "tsc",
"build:cds": "cds build --production",
"cleanup:ts": "npx rimraf gen/srv/srv/**/*.ts"
},
"cds": {
"features": {
"in_memory_db": true
},
"requires": {
"db": {
"kind": "sqlite",
"credentials": {
"database": ":memory:"
}
},
"[development]": {
"auth": {
"kind": "basic",
"users": {
"user": {
"password": "123",
"roles": [
"user"
]
},
"admin": {
"password": "123",
"roles": [
"admin"
]
}
}
}
},
"[hybrid]": {
"auth": "xsuaa"
},
"[production]": {
"auth": "xsuaa"
}
}
},
"workspaces": [
"app/*"
],
"sapux": [
"app/display-books"
]
}