Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

generator-mn

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

generator-mn

Marionette applications with Webpack, Bootstrap, Framework7 and custom renderers

  • 0.3.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
13
increased by333.33%
Maintainers
1
Weekly downloads
 
Created
Source

generator-mn NPM version Build Status Dependency Status

Modern setup for Marionette applications

Features

  • Uses webpack 3.x with dev-server
  • Uses babel 6.x with preset-env (ie 11 + green browsers)
  • Configures service-worker (WorkBox).
  • Custom CSS framework (Bootstrap 3, Bootstrap 4, Framework7)
  • Custom renderer (Snabbdom, React, inferno, idom, virtual-dom, rivets)

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
  • Framework7
Renderers
  • Snabbdom
  • React
  • Inferno
  • Superviews (incremental-dom)
  • Incremental-Bars (Handlebars + incremental-dom)
  • Virtual-Dom
  • Rivets (blikblum's fork)

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

Backbone/Marionette plugins
  • backbone-computedfields
  • backbone.validation
  • backbone.syphon
  • backbone.localstorage
  • marionette.native
  • marionette.routing

Build the application

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

npm run dev 

For production

npm run prod

License

MIT © Luiz Américo

Keywords

FAQs

Package last updated on 10 Dec 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc