Shopping Cart sample app using Grunt, Karma & Bower
- Install Node.js (from nodejs.org).
- Install the Grunt CLI
npm install --global grunt-cli
- Clone the repository and navigate into it
git clone https://github.com/SAP/openui5-sample-app.git cd openui5-sample-app
- Install all npm dependencies (also installs all bower dependencies)
npm install
Run grunt serve
to start a local server with your application at http://localhost:8080.
Run grunt watch
to also execute your unit tests automatically after every change.
Run grunt lint
to run static code checks on your project.
Run grunt test
to execute all tests and get a coverage report.
Run grunt build
to build a deployable version of your app to /dist
.