mndx-bootstrap
MND theme for Bootstrap.
Last updated 4 years ago by poptype .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install mndx-bootstrap 
SYNC missed versions from official npm registry.

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

Current Tags

  • 6.7.4                                ...           latest (4 years ago)

36 Versions

  • 6.7.4                                ...           4 years ago
  • 6.7.3                                ...           4 years ago
  • 6.7.2                                ...           4 years ago
  • 6.7.1                                ...           4 years ago
  • 6.7.0                                ...           4 years ago
  • 6.6.0                                ...           4 years ago
  • 6.4.0                                ...           4 years ago
  • 6.3.1                                ...           4 years ago
  • 6.3.0                                ...           4 years ago
  • 6.1.7                                ...           4 years ago
  • 6.1.6                                ...           4 years ago
  • 6.1.5                                ...           4 years ago
  • 6.1.3                                ...           4 years ago
  • 6.1.4                                ...           4 years ago
  • 6.1.2                                ...           4 years ago
  • 6.1.1                                ...           4 years ago
  • 6.2.0                                ...           4 years ago
  • 6.1.0                                ...           4 years ago
  • 6.0.0                                ...           4 years ago
  • 5.2.2                                ...           4 years ago
  • 5.2.1                                ...           4 years ago
  • 5.2.0                                ...           4 years ago
  • 5.0.10                                ...           4 years ago
  • 5.0.9                                ...           4 years ago
  • 5.0.8                                ...           4 years ago
  • 5.0.7                                ...           4 years ago
  • 5.0.6                                ...           4 years ago
  • 5.0.5                                ...           4 years ago
  • 5.0.4                                ...           4 years ago
  • 5.0.3                                ...           4 years ago
  • 5.0.2                                ...           4 years ago
  • 5.0.0                                ...           4 years ago
  • 4.12.0                                ...           4 years ago
  • 4.11.0                                ...           4 years ago
  • 4.10.5                                ...           4 years ago
  • 4.10.3                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 36
Dependencies (4)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |