Skip to content
This repository has been archived by the owner on Apr 23, 2019. It is now read-only.
/ hippo-ngbp Public archive

AngularJS boilerplate for use by Hippo team to start new angular apps within maven projects.

Notifications You must be signed in to change notification settings

onehippo/hippo-ngbp

Repository files navigation

Prerequisites

The Frontend Build uses Gulp.js for frontend task automation. Installing the gulp-cli globally is optional. You can install the gulp-cli globally via npm install -g gulp-cli and use the gulp cli directly, initiate gulp tasks via npm run or simply stick with the predefined npm start and npm test described below.

Installation

Install project dependencies

Run the commands below in the project root directory.

$ npm install

Useful commands

When starting gulp tasks using cli

List all gulp tasks available

$ gulp --tasks

Serve and watch files for development

$ gulp serve

Run unit tests and watch for changes to rerun (Chrome needs to be installed)

$ gulp test:auto

Run unit tests once (Chrome needs to be installed)

$ gulp test

Build optimized application for production

$ gulp build

When starting gulp tasks through npm

If you do not install the gulp-cli you can run the following with npm

$ npm run gulp [some defined gulp task]

List all gulp tasks available

$ npm run gulp -- --tasks

Serve and watch files for development

$ npm start

Run unit tests and watch for changes to rerun (Chrome needs to be installed)

$ npm run test:auto

Run unit tests once (Chrome needs to be installed)

$ npm test

About

AngularJS boilerplate for use by Hippo team to start new angular apps within maven projects.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published