npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

mimosa-fubumvc

v0.2.1

Published

FubuMVC asset pipeline conventions for Mimosa

Downloads

12

Readme

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:

  • nothing at the root directory will get picked up, this is to avoid things like the bower.json and mimosa-config.js
  • must match the list of extensions provided by the mimosa copy modules config section, the defaults for it look like this:

["js","css","png","jpg","jpeg","gif","html","eot","svg","ttf","woff","otf","yaml","kml","ico","htc","htm","json","txt","xml","xsd","map","md","mp4","mp3"]

  • must not match excludePaths rules provided by fubumvc config section used to ignore things that come from bin/obj folders, and any folders that start with a . (hidden folders like .mimosa ,etc)

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", /^./]