Don't miss out on this year's npm Pride t-shirt designs!Order your favorites here »


0.0.0 • Public • Published

Angular App Scaffold

A grunt-init scaffold for Angular Applications.

Currently, linking is manual. I plan to provide a Bower/JamJS wrapper within the grunt tooling that will automatically keep the linker up-to-date!

Currently, no doc-gen provided out-of-the-box. Docular coming soon!

Currently, no e2e testing provided out-of-the-box. Protractor coming soon!

Currently, no directive testing provided out-of-the-box. Coming soon!

Why use this scaffold?

If you are like me, you like to have a complete understanding of, as well as complete control over, your build processes. Other alternatives, like yeoman, provide a very generic and, in my opinion, bloated solution to managing and building angular applications. This scaffold is intended to be a highly modular, yet minimalistic, build scaffold that allows angular developers to fully control every facet of the build process using traditional methods like post-compile linking.

This scaffold is currently NON-AMD solution, meaning that all files are compiled into a single distributable. I plan to add dynamic linking (AMD) configuration during compile time in the very near future!


This scaffold requires grunt-init and bower to be installed!

Be sure to follow the instructions here:

To use it, clone the project to your ~/.grunt-init folder:

$ git clone angular-app

Then, to create a project, within your project directory:

$ grunt-init angular-app

Finally, install dependencies:

$ npm install
$ bower install


This scaffolds configures a bare-bones module with a single mock service, as well as basic unit test for said service.

It also provides code coverage and maintainability analytics out of the box with Karma Coverage and Plato, as well as JSDocs documentation.

To view coverage report:

To view complexity report:

To view your app:


The scaffold provides compile-time linking functionality for JS and CSS packages. To configure linking for external CSS and JS packages, edit the linker/css.json and linker/js.json files, respectively.

During compile time, these files are added to the build product PRIOR to the application source code. This is handy for compile external dependencies into your project that are guaranteed to be available within your source code.


The scaffold provides the following grunt methods:

grunt - deploys the development environment with live reload. This environment runs testing, doc gen, and analytics!

grunt build - performs a build

grunt dist - performs a build, bumps the version (hotfix), and pushes to your repo!




npm i grunt-init-angular-app

Downloadsweekly downloads









last publish


  • avatar
Report a vulnerability