forked from SAP-archive/btp-full-stack-typescript-app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
97 lines (97 loc) · 2.67 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
{
"name": "lecture-schedule",
"version": "1.0.0",
"description": "A sample project to demonstrate how to implement a full-stack app with CAP + SAPUI5 and TypeScript.",
"repository": "<Add your repository here>",
"license": "Apache-2.0",
"dependencies": {
"@sap/cds": "^6.5.0",
"@sap/xsenv": "^3.4.0",
"@sap/xssec": "^3.2.17",
"express": "^4.18.2",
"hdb": "^0.19.5",
"passport": "^0.6.0"
},
"devDependencies": {
"@sap/cds-dts-generator": "^0.1.1",
"@sap/eslint-plugin-ui5-jsdocs": "^2.0.8",
"@sap/ux-specification": "^1.102.15",
"@sapui5/ts-types": "^1.108.5",
"@types/node": "^18.11.18",
"@typescript-eslint/eslint-plugin": "^5.50.0",
"@typescript-eslint/parser": "^5.50.0",
"eslint": "^8.33.0",
"npm-run-all": "^4.1.5",
"sqlite3": "^5.1.4",
"ts-node": "^10.9.1",
"typescript": "^4.9.5"
},
"engines": {
"node": ">=14"
},
"scripts": {
"start": "cds run",
"start-service:ts": "cds-ts run --with-mocks --in-memory",
"start-ui:ts": "npm --prefix ./app/lectures/ run build:ts && npm --prefix ./app/lectures/ run start:ui5",
"watch": "npm-run-all --parallel watch-service:ts watch-ui:ts",
"watch-service:ts": "cds-ts watch --open",
"watch-ui:ts": "npm --prefix ./app/lectures/ run watch:ts",
"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",
"lint-service": "eslint srv",
"lint-ui": "eslint app/lectures/src",
"ts-typecheck": "tsc --noEmit",
"undeploy": "cf undeploy lecture-schedule --delete-services --delete-service-keys"
},
"cds": {
"typer": {
"outputDirectory": "srv/@types"
},
"requires": {
"[production]": {
"uaa": {
"kind": "xsuaa",
"credentials": {}
},
"db": {
"kind": "sql"
}
},
"[development]": {
"auth": {
"strategy": "mock",
"users": {
"admin": {
"password": "initial",
"ID": "admin",
"userAttributes": {
"email": "[email protected]"
},
"roles": [
"admin"
]
},
"viewer": {
"password": "initial",
"ID": "viewer",
"userAttributes": {
"email": "[email protected]"
},
"roles": [
"viewer"
]
}
}
}
}
},
"hana": {
"deploy-format": "hdbtable"
}
},
"sapux": [
"app/lectures"
]
}