2.3.2 • Published 10 years ago

generator-fed v2.3.2

Weekly downloads
58
License
MIT
Repository
github
Last release
10 years ago

generator-fed

Yeoman generator for Frontend Development with Browserify and SASS Composer.

Installation

$ npm install -g yo generator-fed

Usage

$ mkdir demo && cd demo
$ yo fed [--name <name>] [--es5|--es6|--react|--universal] [--install]
  • --es5

    Creates a blank ES5 project with no frameworks or packages included.

  • --es6

    Creates a blank ES6 project with no frameworks or packages included.

  • --react

    Creates a static React project. Uses React and is transpiled to ES5 from ES6+JSX.

  • --universal

    Creates a Universal JavaScript project. Uses React and Redux transpiled to ES5 from ES6+JSX.

  • --install

    Installs the dependencies for your new project after it is created.

Features

  • async builds with gulp

Scripts

  • dependencies from npm
  • linted with eslint
  • bundled with browserify
  • transpiled with babel
  • minified with uglify
  • tested with karma-mocha (just plain mocha for shallow rendering with React)
  • test coverage with istanbul
  • watched with watchify

Styles

  • dependencies from npm
  • bundled with sass-composer
  • prefixed with autoprefixer
  • minified with clean-css
  • watched with sass-composer

Images

  • urls rewritten and copied to the build dir with sass-composer
  • images optimised with imagemin

Universal Javascript

  • served with express
  • rendered with react
  • data flow managed with redux
  • routed with redux-simple-router
  • pre-fetching with react-fetcher
  • debug with redux-devtools

Static content

Note: Temporarily missing from v2

(optional)

  • templates with ejs
  • built with metalsmith
  • minified with html-minifier
  • watched with gulp

TODO:

  • livereload/browsersync
  • make karma-threshold-reporter actually break the build
  • karma-browserifast might bundle tests faster?
  • testem might be nicer for debugging tests?
  • react-dom-stream for faster rendering?
  • hot reloading
  • update universal app readme
  • ignore console.log in server code

License

The MIT License (MIT)

Copyright (c) 2015 James Newell

2.3.2

10 years ago

2.3.1

10 years ago

2.3.0

10 years ago

2.2.0

10 years ago

2.1.0

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.8.2

10 years ago

1.8.1

10 years ago

1.8.0

10 years ago

1.7.0

10 years ago

1.6.1

10 years ago

1.6.0

10 years ago

1.5.2

10 years ago

1.5.1

10 years ago

1.5.0

10 years ago

1.4.3

10 years ago

1.4.2

10 years ago

1.4.1

10 years ago

1.4.0

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.3

10 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.3

10 years ago

1.1.2

10 years ago

1.1.1

10 years ago

1.1.0

10 years ago

1.0.0

10 years ago

0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago