subdependancy-packages-ui5-ts
v2.0.4
Published
This package loads in the required sub dependencies for typescript UI5 app development
Readme
subdependancy-packages-ui5-ts
subdependancy-packages-cap is a package used to collect all the packages needed for a CAP project
Installation
npm i subdependancy-packages-ui5-tsexample of package in the srv folder
"dependencies": {
"subdependancy-packages-ui5-ts": "latest",
"@sap/ui5-builder-webide-extension": "1.1.9"
},
"scripts": {
"build": "npm explore subdependancy-packages-ui5-ts -- npm run build",
"start": "npm explore subdependancy-packages-ui5-ts -- npm run start",
"start:ts": "npm run start:backend && npm run start:tsnoservice",
"start:tsnoservice": "npm explore subdependancy-packages-ui5-ts -- npm run start:tsnoservice",
"start:backend": "cd $backend_Path && cds run --profile nosecurity"
},
"ui5": {
"dependencies": [
"@sap/ui5-builder-webide-extension",
"@sap/ux-ui5-tooling",
"ui5-middleware-simpleproxy",
"ui5-middleware-approuter"
]
}usage
build the ts app
npm run buildfor local test on BAS with the cap service remember to change $backend_Path with the actual CAP Path in your IDE
"start:backend": "cd $backend_Path && cds run --profile nosecurity"npm run start:tsfor local test on BAS withouth cap service
npm run start:tsnoservicefor start the app
npm run start:ts