-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathpackage.json
27 lines (27 loc) · 984 Bytes
/
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
{
"name": "cap-bookshop-typescript",
"version": "1.0.0",
"description": "A simple self-contained bookshop service.",
"dependencies": {
"@sap/cds": "^5.1.5",
"cds-routing-handlers": "^3.0.5",
"express": "^4.17.1",
"reflect-metadata": "^0.1.13"
},
"devDependencies": {
"@types/express": "^4.17.12",
"cds2types": "^2.6.1",
"nodemon": "^2.0.7",
"prettier": "^2.3.1",
"sqlite3": "^5.0.3",
"typescript": "^4.3.4"
},
"scripts": {
"start": "node ./srv/server.js",
"dev": "npm run build:cds && nodemon",
"deploy": "cds deploy --to sqlite:bookshop.db",
"build": "npm run build:cds && npm run build:ts",
"build:cds": "echo 'Compiling cds sources...' && cds2types --cds ./srv/cat-service.cds --output ./src/entities.ts --prefix I -f && cds build && cp .cdsrc.json gen/srv",
"build:ts": "echo 'Compiling *.ts sources...' && tsc"
}
}