nmarshall23 / generator-fountain-angular1

Yeoman 'fountain' generator to start a webapp with Angular 1

Home Page:http://fountainjs.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

FountainJS

Build Status codecov

Fountain Angular 1 Generator

Angular 1

This Yeoman generator allows you to start an Angular1 web app with the best Developer Experience out of the box!

No matter what framework or module management you want to use, we got you covered with a cutting edge working configuration.

We use Gulp 4 as a task manager but we'll ask you questions about:

  • Modules management: Webpack, SystemJS, none
  • JS preprocessor: Babel, TypeScript, none
  • CSS preprocessor: Sass, Stylus, Less, none

This generator is a sub-generator of the the Yeoman Fountain generator for webapps generator-fountain-webapp.

Generator Fountain Angular 1 structure

To take profit of the best of the Yeoman infrastructure, we heavily relies on the composability natures of the generators.

Thereby, each needs of your future application will be addressed by a dedicated Yeoman generator (each will be used depending of the options you selected or not).

More informations in DESIGN.md.

Web tooling layer

Gulp ESLint BrowserSync Karma

Module management layer

Webpack SystemJS Bower

Usage

Requirement Node 4+ && NPM 3+

This generator is targeted to be used with Node >= 4.0.0 and NPM => 3.0.0. You can check your version number with the command

node --version && npm --version

Install

Install required tools yo:
npm install -g yo
Install generator-fountain-angular1:
npm install -g generator-fountain-angular1

Run

Create a new directory, and go into:
mkdir my-new-project && cd my-new-project
Run yo fountain-angular1, and select desired technologies:
yo fountain-angular1

Sub-generators

Few sub-generators are available. You can see the full list by running yo --generators.
Each generator has 2 options:

  • You can set the name of the generated item with --name
  • You can set the path of the generated item with --dir

Example:

yo fountain-angular1:component --name myComponent --dir components/game

Start development

Changelog

Contributing

About

Yeoman 'fountain' generator to start a webapp with Angular 1

http://fountainjs.io

License:MIT License


Languages

Language:JavaScript 52.1%Language:TypeScript 35.0%Language:CSS 7.3%Language:HTML 5.6%