-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
102 lines (102 loc) · 3.01 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
101
102
{
"name": "app-requests-workshop",
"version": "1.0.0",
"description": "A simple CAP project.",
"repository": "<Add your repository here>",
"license": "UNLICENSED",
"private": true,
"dependencies": {
"@cap-js/sqlite": "^1.4.0",
"@sap/cds": "^7.5.1",
"@sap/xssec": "^3.6.1",
"express": "^4.18.2",
"sqlite3": "^5.1.7"
},
"devDependencies": {
"@cap-js/sqlite": "^1.4.0",
"@sap/ux-specification": "^1.120.1",
"rimraf": "^3.0.2"
},
"scripts": {
"start": "cds-serve",
"watch-unsecured-users": "cds watch --open unsecured-users/webapp/index.html?sap-ui-xx-viewCache=false",
"undeploy": "cf undeploy app-requests-workshop --delete-services --delete-service-keys --delete-service-brokers",
"build": "rimraf resources mta_archives && mbt build --mtar archive",
"deploy": "cf deploy mta_archives/archive.mtar --retries 1",
"watch-requests": "cds watch --open requests/webapp/index.html?sap-ui-xx-viewCache=false"
},
"engines": {
"node": "^18"
},
"eslintConfig": {
"extends": "eslint:recommended",
"env": {
"es2020": true,
"node": true,
"jest": true,
"mocha": true
},
"globals": {
"SELECT": true,
"INSERT": true,
"UPDATE": true,
"DELETE": true,
"CREATE": true,
"DROP": true,
"CDL": true,
"CQL": true,
"CXL": true,
"cds": true
},
"rules": {
"no-console": "off",
"require-atomic-updates": "off"
}
},
"cds": {
"requires": {
"[development]": {
"db": {
"kind": "sqlite",
"credentials": { "url": "db.sqlite" }
},
"auth": {
"kind": "basic",
"users": {
"audit": {
"roles": [
"read"
]
},
"enduser": {
"roles": [
"selfmanage",
"create"
]
},
"admin": {
"roles": [
"read",
"create",
"edit",
"delete"
]
}
}
}
},
"[production]": {
"db": {
"kind": "sqlite",
"credentials": { "url": "db.sqlite" }
},
"auth": {
"kind": "xsuaa"
}
}
}
},
"sapux": [
"app/requests"
]
}