Reduce required Node.js version to 4.0.0.

The development workflow can be used with Node 4+, not just Node 6. We
should avoid showing warnings and errors when users are installing this
package via npm/yarn.

Ref. #1729, #1743.
Closes #1725.
edit
Benjamin Tan 2016-12-06 18:12:41 +08:00 committed by Hakim El Hattab
parent b4d46d2b7c
commit 713702a0ab
2 changed files with 3 additions and 3 deletions

View File

@ -921,7 +921,7 @@ Reveal.initialize({
Then: Then:
1. Install [Node.js](http://nodejs.org/) (1.0.0 or later) 1. Install [Node.js](http://nodejs.org/) (4.0.0 or later)
2. Run ```npm install``` 2. Run ```npm install```
3. Run ```node plugin/notes-server``` 3. Run ```node plugin/notes-server```
@ -1107,7 +1107,7 @@ The core of reveal.js is very easy to install. You'll simply need to download a
Some reveal.js features, like external Markdown and speaker notes, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code. Some reveal.js features, like external Markdown and speaker notes, require that presentations run from a local web server. The following instructions will set up such a server as well as all of the development tasks needed to make edits to the reveal.js source code.
1. Install [Node.js](http://nodejs.org/) (1.0.0 or later) 1. Install [Node.js](http://nodejs.org/) (4.0.0 or later)
1. Clone the reveal.js repository 1. Clone the reveal.js repository
```sh ```sh

View File

@ -19,7 +19,7 @@
"url": "git://github.com/hakimel/reveal.js.git" "url": "git://github.com/hakimel/reveal.js.git"
}, },
"engines": { "engines": {
"node": "~6.9.1" "node": ">=4.0.0"
}, },
"dependencies": { "dependencies": {
"express": "~4.13.3", "express": "~4.13.3",