Make Node.js 6 the minimum version.
Also, be consistent with Node.js' name.
This commit is contained in:
parent
a143f82ccd
commit
44dcc8d719
|
@ -4,7 +4,7 @@ language: node_js
|
||||||
git:
|
git:
|
||||||
depth: 3
|
depth: 3
|
||||||
node_js:
|
node_js:
|
||||||
- "4"
|
- "6"
|
||||||
- "8"
|
- "8"
|
||||||
before_install:
|
before_install:
|
||||||
- if [[ `npm -v` != 5* ]]; then npm install -g npm@5; fi
|
- if [[ `npm -v` != 5* ]]; then npm install -g npm@5; fi
|
||||||
|
|
|
@ -12,7 +12,7 @@ Bootstrap uses [NPM scripts](https://docs.npmjs.com/misc/scripts) for its build
|
||||||
|
|
||||||
To use our build system and run our documentation locally, you'll need a copy of Bootstrap's source files and Node. Follow these steps and you should be ready to rock:
|
To use our build system and run our documentation locally, you'll need a copy of Bootstrap's source files and Node. Follow these steps and you should be ready to rock:
|
||||||
|
|
||||||
1. [Download and install Node](https://nodejs.org/download/), which we use to manage our dependencies.
|
1. [Download and install Node.js](https://nodejs.org/download/), which we use to manage our dependencies.
|
||||||
2. Navigate to the root `/bootstrap` directory and run `npm install` to install our local dependencies listed in [package.json]({{ site.repo }}/blob/v{{ site.current_version }}/package.json).
|
2. Navigate to the root `/bootstrap` directory and run `npm install` to install our local dependencies listed in [package.json]({{ site.repo }}/blob/v{{ site.current_version }}/package.json).
|
||||||
3. [Install Ruby][install-ruby], install [Bundler][gembundler] with `gem install bundler`, and finally run `bundle install`. This will install all Ruby dependencies, such as Jekyll and plugins.
|
3. [Install Ruby][install-ruby], install [Bundler][gembundler] with `gem install bundler`, and finally run `bundle install`. This will install all Ruby dependencies, such as Jekyll and plugins.
|
||||||
- **Windows users:** Read [this guide](https://jekyllrb.com/docs/windows/) to get Jekyll up and running without problems.
|
- **Windows users:** Read [this guide](https://jekyllrb.com/docs/windows/) to get Jekyll up and running without problems.
|
||||||
|
|
|
@ -50,7 +50,7 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo
|
||||||
|
|
||||||
### npm
|
### npm
|
||||||
|
|
||||||
Install Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.com/package/bootstrap):
|
Install Bootstrap in your Node.js powered apps with [the npm package](https://www.npmjs.com/package/bootstrap):
|
||||||
|
|
||||||
{% highlight sh %}
|
{% highlight sh %}
|
||||||
npm install bootstrap@{{ site.current_version }}
|
npm install bootstrap@{{ site.current_version }}
|
||||||
|
|
|
@ -8,7 +8,7 @@ toc: true
|
||||||
|
|
||||||
## Installing Bootstrap
|
## Installing Bootstrap
|
||||||
|
|
||||||
[Install bootstrap]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download/#npm) as a node module using npm.
|
[Install bootstrap]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/download/#npm) as a Node.js module using npm.
|
||||||
|
|
||||||
## Importing JavaScript
|
## Importing JavaScript
|
||||||
|
|
||||||
|
|
|
@ -109,7 +109,7 @@
|
||||||
"workbox-build": "^2.0.1"
|
"workbox-build": "^2.0.1"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=4"
|
"node": ">=6"
|
||||||
},
|
},
|
||||||
"files": [
|
"files": [
|
||||||
".babelrc",
|
".babelrc",
|
||||||
|
|
Loading…
Reference in New Issue