Skip to content
Lean yeoman generator for AngularJS components
JavaScript CSS
Find file
Latest commit 084a548 Mar 10, 2014 @mgcrea Merge pull request #15 from pgilad/master
chore(installer): add modules and improve installer

README.md

Generator-angular-component Build Status

A lightweight AngularJS generator for Yeoman. Ideally suited to bootstrap small components.

Getting started

  • Make sure you have yo installed: npm install -g yo
  • Install the generator: npm install -g generator-angular-component
  • Run: yo angular-component

Usage

Testing

  • Run: grunt test
  • For continous testing run grunt karma:server

Building

  • Run: grunt build

Releasing

  • Run: grunt release

Structure

The basic structure of the project is given in the following way:

├── .editorconfig
├── .gitignore
├── .jshintrc
├── .travis.yml
├── CONTRIBUTING.md
├── Gruntfile.js
├── README.md
├── bower.json
├── bower_components
│   ├── angular
│   │   ├── .bower.json
│   │   ├── angular.js
│   │   ├── angular.min.js
│   │   └── bower.json
│   ├── angular-mocks
│   │   ├── .bower.json
│   │   ├── README.md
│   │   ├── angular-mocks.js
│   │   └── bower.json
│   └── jquery
│       ├── .bower.json
│       ├── .gitignore
│       ├── README.md
│       ├── bower.json
│       ├── component.json
│       ├── composer.json
│       ├── jquery-migrate.js
│       ├── jquery-migrate.min.js
│       ├── jquery.js
│       ├── jquery.min.js
│       ├── jquery.min.map
│       └── package.json
├── dist
├── karma.conf.js
├── package.json
├── src
│   └── my-module.js
└── test
    ├── .jshintrc
    └── spec
        └── my-module.js

License

MIT License

Something went wrong with that request. Please try again.