-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathpackage.json
103 lines (103 loc) · 2.6 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
103
{
"name": "cap-fe-samples",
"version": "1.0.0",
"description": "A simple CAP project.",
"repository": "https://github.com/jcailan/cap-fe-samples",
"author": "Jhodel Cailan",
"license": "MIT",
"private": true,
"dependencies": {
"@cap-js-community/odata-v2-adapter": "^1.10.4",
"@cap-js/graphql": "^0.3.1",
"@rizing/cds-extension": "^0.7.60",
"@sap-cloud-sdk/http-client": "^3.1.1",
"@sap/cds": "^6.7.1",
"@sap/xssec": "^3",
"express": "^4",
"hdb": "^0.19.0",
"passport": "^0"
},
"devDependencies": {
"@sap/eslint-plugin-cds": "^2.6.0",
"@sap/eslint-plugin-ui5-jsdocs": "^2.0.5",
"@sap/ux-specification": "^1.108.3",
"@sapui5/ts-types": "^1.92.2",
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"chai-subset": "^1.6.0",
"concurrently": "^7.4.0",
"copyfiles": "^2.4.1",
"eslint": "^7.32.0",
"eslint-html-reporter": "^0.7.4",
"eslint-plugin-jsdoc": "^39.3.14",
"eslint-plugin-ui5": "^0.1.0",
"mocha": "^10.1.0",
"rimraf": "^3.0.2",
"sqlite3": "^5.0.4"
},
"scripts": {
"postinstall": "npx patch-package",
"start": "cds run",
"test": "nyc --reporter=html mocha --timeout 5000",
"test:ui": "concurrently --kill-others \"npm start\" \"npm run karma --prefix app/products\"",
"husky": "npx husky install && npx husky add .husky/pre-commit \"npm run lint\"",
"lint": "eslint . --max-warnings 0",
"watch-products": "cds watch --open products/webapp/index.html?sap-ui-xx-viewCache=false",
"copy:assets": "copyfiles assets/* gen/srv",
"build": "rimraf resources mta_archives && mbt build --mtar archive",
"deploy": "npm run build && cf deploy mta_archives/archive.mtar --retries 1 -f",
"undeploy": "cf undeploy com.jcailan.capfes --delete-services --delete-service-keys --delete-service-brokers"
},
"engines": {
"node": "^16.15"
},
"cds": {
"hana": {
"deploy-format": "hdbtable"
},
"requires": {
"[production]": {
"auth": {
"kind": "xsuaa",
"restrict_all_services": false
}
},
"db": {
"kind": "sql",
"[production]": {
"kind": "hana"
}
},
"product_external": {
"kind": "odata-v2",
"model": "srv/external/products",
"[backend]": {
"credentials": {
"url": "http://localhost:4005/v2/product-api"
}
},
"[production]": {
"credentials": {
"destination": "capfes-srv"
}
}
}
},
"protocols": {
"graphql": {
"path": "/graphql",
"impl": "@cap-js/graphql"
}
}
},
"sapux": [
"app/products",
"app/products-v2",
"app/custom",
"app/products-manage",
"app/products-cdsx",
"app/products-remote",
"app/products-remote-v2",
"app/product-form-v2"
]
}