-
Notifications
You must be signed in to change notification settings - Fork 4
/
package.json
75 lines (75 loc) · 2.22 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": "cds-ts-samples",
"version": "1.0.0",
"description": "A simple CAP project.",
"repository": "<Add your repository here>",
"license": "UNLICENSED",
"private": true,
"scripts": {
"start": "cds-serve",
"watch": "cds-ts w",
"eslint:message": "echo 'ESLint started ...'",
"eslint": "eslint .",
"eslint:fix": "eslint . --fix",
"prettier:message": "echo 'Prettier started ...'",
"prettier": "prettier . --check",
"prettier:fix": "prettier . --write",
"format-cds:message": "echo 'Format-cds started ...'",
"format-cds": "format-cds",
"check": "run-s eslint:message eslint prettier:message prettier",
"fix": "run-s eslint:message eslint:fix prettier:message prettier:fix format-cds:message format-cds",
"build:cds": "cds build --production",
"build:cds:message": "echo 'Build CDS ...'",
"build:ts": "tsc",
"build:ts:message": "echo 'Transpile TS => JS ...'",
"build:srv:clean:ts": "find gen/srv/srv -type f -name '*.ts' -delete",
"build:srv:clean:ts:message": "echo 'Clean TS files from srv folder ...'",
"build": "run-s build:cds:message build:cds build:ts:message build:ts build:srv:clean:ts:message build:srv:clean:ts"
},
"dependencies": {
"@dxfrontier/cds-ts-dispatcher": "3.2.2",
"@dxfrontier/cds-ts-repository": "^4.0.0",
"@sap/cds": "^8.4.1",
"@sap/cds-dk": "^8.4.1",
"@sap/xssec": "^4.2.7",
"passport": "^0.7.0"
},
"devDependencies": {
"@cap-js/cds-typer": "^0.28.1",
"@cap-js/cds-types": "^0.7.0",
"@cap-js/sqlite": "^1.7.6",
"@sap/cds-lsp": "^8.4.3",
"@types/node": "^22.9.0",
"eslint": "^9.14.0",
"globals": "^15.12.0",
"jsonc-parser": "^3.3.1",
"npm-run-all": "^4.1.5",
"prettier": "3.3.3",
"rimraf": "^6.0.1",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
},
"imports": {
"#cds-models/*": "./@cds-models/*/index.js",
"#dispatcher": "./@dispatcher/index.js"
},
"cds": {
"requires": {
"auth": {
"kind": "basic",
"users": {
"manager": {
"roles": [
"Manager"
]
},
"user": {
"roles": [
"User"
]
}
}
}
}
}
}