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

mndx-bootstrap

v6.7.4

Published

MND theme for Bootstrap.

Downloads

181

Readme

mnd-bootstrap

MND theme for Bootstrap.

dependency Status devDependency Status

Browse the styleguide

http://mynewsdesk.github.io/mnd-bootstrap/

Installation

Installation is done with npm.

npm install --save mndx-bootstrap

Usage

@import "mnd-bootstrap/src/bootstrap";

// Load sass variables via the variables file
@import "mnd-bootstrap/src/mnd-bootstrap/variables";

// Or if you're building with webpack
@import "mnd-bootstrap/src/mnd-bootstrap/variables.webpack";

Development setup

To setup the development environment you need to install all the dependencies.

Run bin/setup.

Then you use gulp to compile the sass when you change the files:

gulp

Leave gulp running, it starts a webserver and it will generate the styleguide everytime a file changes.

To check the styleguide, go to http://localhost:8000

Keeping dependencies up to date

These are the dependency trees that need to be kept up to date:

  • bundle install - gem dependencies specified in Gemfile.lock
  • npm update - npm dependencies specified in package.json
  • bower update - bower dependencies specified in bower.json

Release new version

To create a new version, there are multiple steps:

  • First, we want to increase the version number in the package.json and bower.json files and commit this.
  • Then we want to tag the commit, because bower use the git tag as version number instead of reading a manifest file.
  • To release the new version, we will just push those changes to master
  • Publish the version to npm
  • And last but not least, now want to update the doc (style-guide) too, use the gulp gh-pages` task for this.

I've created a gulp task for all those steps:

gulp release [--level patch|minor|major]

The level change the version increment according to the semver documentation.

patch # makes v0.1.0 → v0.1.1
minor # makes v0.1.1 → v0.2.0
major # makes v0.2.1 → v1.0.0

Tips:

When you are working on a project and you need to work on the styleguide and the project at the same time, it's really painful to have to make changes in the NPM component (mndx-bootstrap) and publish it before you can test your changes in your project.

There is a good solution for this, npm link.

Just follow those steps:

cd project/mnd-bootstrap
npm link
cd project/working-dir
npm link mndx-bootstrap