Skip to content

Commit 03ac4a2

Browse files
committed
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.
1 parent e4e5cc1 commit 03ac4a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ Reveal.initialize({
929929

930930
Then:
931931

932-
1. Install [Node.js](http://nodejs.org/) (1.0.0 or later)
932+
1. Install [Node.js](http://nodejs.org/) (4.0.0 or later)
933933
2. Run ```npm install```
934934
3. Run ```node plugin/notes-server```
935935

@@ -1115,7 +1115,7 @@ The core of reveal.js is very easy to install. You'll simply need to download a
11151115
11161116
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.
11171117
1118-
1. Install [Node.js](http://nodejs.org/) (1.0.0 or later)
1118+
1. Install [Node.js](http://nodejs.org/) (4.0.0 or later)
11191119
11201120
1. Clone the reveal.js repository
11211121
```sh

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"url": "git://github.com/hakimel/reveal.js.git"
2020
},
2121
"engines": {
22-
"node": "~6.9.1"
22+
"node": ">=4.0.0"
2323
},
2424
"dependencies": {
2525
"express": "~4.14.0",

0 commit comments

Comments
 (0)