mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-18 10:52:19 +01:00
more readme clarity and reorg--think this makes more sense now
This commit is contained in:
parent
fd6f7dcce1
commit
5dd2bff38c
@ -56,16 +56,16 @@ From the command line:
|
|||||||
1. Install `grunt-cli` globally with `npm install -g grunt-cli`.
|
1. Install `grunt-cli` globally with `npm install -g grunt-cli`.
|
||||||
2. Install the [necessary local dependencies](package.json) via `npm install`
|
2. Install the [necessary local dependencies](package.json) via `npm install`
|
||||||
|
|
||||||
When completed, you'll be able to run the various Grunt commands provided.
|
When completed, you'll be able to run the various Grunt commands provided from the command line.
|
||||||
|
|
||||||
**Unfamiliar with `npm`? Don't have node installed?** That's a-okay. npm stands for [node packaged modules](http://npmjs.org/) and is a way to manage development dependencies through node.js. [Download and install node.js](http://nodejs.org/download/) before proceeding.
|
**Unfamiliar with `npm`? Don't have node installed?** That's a-okay. npm stands for [node packaged modules](http://npmjs.org/) and is a way to manage development dependencies through node.js. [Download and install node.js](http://nodejs.org/download/) before proceeding.
|
||||||
|
|
||||||
### Available Grunt commands
|
### Available Grunt commands
|
||||||
|
|
||||||
#### Build - `grunt`
|
#### Build - `grunt`
|
||||||
`grunt` runs the Recess compiler to rebuild the `/less` files and compile the docs. **Requires recess and uglify-js.**
|
Run `grunt` to run tests locally and compile the CSS and JavaScript into `/dist`. **Requires recess and uglify-js.**
|
||||||
|
|
||||||
#### Compile CSS, and JavaScript - `grunt dist`
|
#### Only compile CSS and JavaScript - `grunt dist`
|
||||||
`grunt dist` creates the `/dist` directory with compiled files. **Requires recess and uglify-js.**
|
`grunt dist` creates the `/dist` directory with compiled files. **Requires recess and uglify-js.**
|
||||||
|
|
||||||
#### Tests - `grunt test`
|
#### Tests - `grunt test`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user