aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Tan <demoneaux@gmail.com>2016-12-06 18:12:41 +0800
committerHakim El Hattab <hakim.elhattab@gmail.com>2016-12-06 11:38:17 +0100
commit713702a0ab81d1756a30e6c14ae49afd42135541 (patch)
treecfc451424e39baf092af784b264f9d9d30d6e89f
parentb4d46d2b7c8a37de4e5b866412fe92e8f16d37fe (diff)
downloadperl-software-in-gnu-guix-713702a0ab81d1756a30e6c14ae49afd42135541.tar
perl-software-in-gnu-guix-713702a0ab81d1756a30e6c14ae49afd42135541.tar.gz
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.
-rw-r--r--README.md4
-rw-r--r--package.json2
2 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 4e306a6..32824e3 100644
--- a/README.md
+++ b/README.md
@@ -921,7 +921,7 @@ Reveal.initialize({
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```
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.
-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
```sh
diff --git a/package.json b/package.json
index b73906e..1730462 100644
--- a/package.json
+++ b/package.json
@@ -19,7 +19,7 @@
"url": "git://github.com/hakimel/reveal.js.git"
},
"engines": {
- "node": "~6.9.1"
+ "node": ">=4.0.0"
},
"dependencies": {
"express": "~4.13.3",