0.2.1 • Published 9 years ago

mimosa-fubumvc v0.2.1

Weekly downloads
1
License
MIT
Repository
-
Last release
9 years ago

mimosa-fubumvc NPM version Build Status Coveralls Status Dependencies

Overview

Connects fubumvc concerns to mimosas asset pipeline

Mimosa expects all source asset files to come together into a common directory before being built. For us that directory will be "assets" although this is configurable if you want to change it.

This modules goal is to help move files from various fubumvc locations to mimosas "assets" directory so that they can be picked up, compiled / transformed as necessary and then mimosa moves them to your "public" folder which is what you can then serve as static content via your webserver

For more information regarding Mimosa, see http://mimosa.io

Usage

Add mimosa-fubumvc to your list of modules. That's all! Mimosa will install the module for you when you start up.

Functionality

fubu:init command

Run this from the folder of your fubu mvc web application (ie, the same folder your .csproj sits in)

Creates

  • bower.json
  • mimosa-config.js (or mimosa-config.coffee if "coffee" flag is passed)
  • assets/scripts
  • assets/styles
  • public

Workflow

From the command line, run "mimosa build" while in the folder that holds the mimosa-config file.

Rules for picking up files:

This means you can have assets side by side other source files in your solution and they will still get picked up.

Default Config

fubumvc: excludePaths: "bin", "obj", /^./