-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
101 lines (101 loc) · 4.26 KB
/
package.json
File metadata and controls
101 lines (101 loc) · 4.26 KB
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
{
"name": "@cap-js/process",
"version": "0.1.1",
"description": "CAP Plugin to interact with SAP Build Process Automation to manage processes.",
"main": "cds-plugin.js",
"files": [
"cds-plugin.js",
"dist/",
"srv/*.cds",
"srv/*.js"
],
"scripts": {
"prebuild": "npm run compile",
"pretest": "npm run compile",
"test": "jest --silent --testPathIgnorePatterns=/tests/hybrid/programmaticApproach.test.ts",
"test:watch": "jest --watch",
"test:hana": "jest tests/integration --silent",
"test:hybrid": "jest tests/hybrid --silent",
"clean:types": "rm -rf @cds-models tests/bookshop/@cds-models && npm run cds-typer && npm run cds-typer --prefix tests/bookshop",
"clean:build": "rm -rf gen tests/bookshop/gen && npm run cds-build && npm run cds-build --prefix tests/bookshop",
"clean:all": "rm -rf node_modules tests/bookshop/node_modules gen tests/bookshop/gen @cds-models tests/bookshop/@cds-models && npm i && npm run cds-typer && npm run cds-typer --prefix tests/bookshop && npm run cds-build && npm run cds-build --prefix tests/bookshop",
"build": "npm run cds-build && npm run cds-typer",
"compile": "tsc -p tsconfig.build.json",
"cds-build": "cds-tsx build",
"cds-typer": "npx @cap-js/cds-typer \"*\" --outputDirectory @cds-models",
"watch": "cds-tsx watch",
"lint": "npx eslint .",
"prettier": "npx -y prettier@3 --write .",
"prettier:check": "npx -y prettier@3 --check .",
"import:process": "npm run import:process:annotationLifeCycle && npm run import:process:programmaticLifecycle && npm run import:process:programmaticOutput && npm run import:process:importAttributesOutputs && npm run import:process:importComplex && npm run import:process:importSimple",
"import:process:annotationLifeCycle": "cd tests/bookshop && cds import --from process --name eu12.cdsmunich.capprocesspluginhybridtest.annotation_Lifecycle_Process --force",
"import:process:programmaticLifecycle": "cd tests/bookshop && cds import --from process --name eu12.cdsmunich.capprocesspluginhybridtest.programmatic_Lifecycle_Process --force",
"import:process:programmaticOutput": "cd tests/bookshop && cds import --from process --name eu12.cdsmunich.capprocesspluginhybridtest.programmatic_Output_Process --force",
"import:process:importAttributesOutputs": "cd tests/bookshop && cds import --from process --name eu12.cdsmunich.capprocesspluginhybridtest.importProcess_Attributes_And_Outputs --force",
"import:process:importComplex": "cd tests/bookshop && cds import --from process --name eu12.cdsmunich.capprocesspluginhybridtest.importProcess_Complex_Inputs --force",
"import:process:importSimple": "cd tests/bookshop && cds import --from process --name eu12.cdsmunich.capprocesspluginhybridtest.importProcess_Simple_Inputs --force"
},
"keywords": [],
"author": "SAP SE (https://www.sap.com)",
"repository": "cap-js/process",
"homepage": "https://cap.cloud.sap",
"license": "Apache-2.0",
"type": "commonjs",
"peerDependencies": {
"@sap/cds": ">=9"
},
"engines": {
"node": ">=20.0.0"
},
"imports": {
"#cds-models/*": "./@cds-models/*/index.js"
},
"workspaces": [
"tests/bookshop",
"tests/sample/status-management"
],
"dependencies": {
"@sap-cloud-sdk/connectivity": "^4.5.1",
"@sap-cloud-sdk/http-client": "^4.5.1",
"@sap-cloud-sdk/resilience": "^4.5.1"
},
"cds": {
"requires": {
"ProcessService": {
"[development]": {
"kind": "local-process-service"
},
"[hybrid]": {
"kind": "deployed-process-service"
},
"[production]": {
"kind": "deployed-process-service"
}
},
"kinds": {
"local-process-service": {
"model": "@cap-js/process/srv/localProcessService",
"outbox": true
},
"deployed-process-service": {
"model": "@cap-js/process/srv/BTPProcessService",
"outbox": true,
"vcap": {
"tag": "process"
}
}
}
}
},
"devDependencies": {
"@cap-js/cds-test": "^0.4",
"@cap-js/cds-types": "^0.16.0",
"@types/jest": "^30.0.0",
"@types/node": "^25.5.0",
"jest": "^30.3.0",
"ts-jest": "^29.4.6",
"tsx": "^4",
"typescript": "^5",
"typescript-eslint": "^8.57.0"
}
}