0.5.3 • Published 5 years ago

generator-mn v0.5.3

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

generator-mn

Modern setup for Marionette applications

Features

  • Bundling with webpack
    • Configures dev npm script with a live server for development
    • Configures prod npm script for production
    • Uses the newer webpack tools (webpack-command and webpack-serve)
  • Compilation with babel 6.x
    • Uses preset-env
    • Out of the box configured to support ie 11 and green browsers
  • Preconfigured service-worker using Workbox
  • Option to install CSS/UI frameworks
  • Option to install custom renderers
  • Option to install bottlejs (dependency injection micro library)
  • Option to install hygen templates (view, model, route)

Installation

First, install Yeoman and generator-mn using npm (we assume you have pre-installed node.js).

npm install -g yo
npm install -g generator-mn

Usage

Generate a new project

yo mn

The generator will ask for some options:

CSS/UI framework
  • none
  • Bootstrap 3
  • Bootstrap 4 - with font awesome
  • Framework7 v2
Renderers
  • Snabbdom
  • React
  • Inferno
  • Incremental-Bars (Handlebars + incremental-dom)
  • Virtual-Dom
  • Tinybind (based on rivets)

Some renderers offers specific options for addons like configuration of JSX or jade transformer

Backbone/Marionette plugins
  • backbone-computedfields
  • backbone.validation
  • backbone.syphon
  • backbone.localstorage
  • marionette.native
  • marionette.routing
  • marionette.modalservices
  • radio.service
Extra libraries
  • bottlejs (dependency injection micro library)
  • hygen templates for creating model, view, route (needs hygen installed globally)

Build the application

For development (a server will be started usually at http://localhost:8080)

npm run dev 

For production

npm run prod

License

MIT © Luiz Américo Pereira Câmara

0.5.3

5 years ago

0.5.2

5 years ago

0.5.1

5 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.2

6 years ago

0.3.1

6 years ago

0.3.0

6 years ago

0.2.0

7 years ago

0.0.1

7 years ago