From 5e178e4ef4aed4446f687cf712992a312681c75c Mon Sep 17 00:00:00 2001 From: Christian Lentfort Date: Thu, 22 Oct 2015 23:20:21 +0200 Subject: [PATCH] Bump `engines` and include note in docs - Bump the `engines` field in `package.json` to require at least a version `>= 4`. - Add a note to the "Getting Started"-guide to inform about the minimum required node version. --- docs/GettingStarted.md | 3 +++ package.json | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/GettingStarted.md b/docs/GettingStarted.md index 9d9e7a88525d..a0879b45ea4a 100644 --- a/docs/GettingStarted.md +++ b/docs/GettingStarted.md @@ -35,6 +35,9 @@ We can get up and running with the following 4 steps: 2. Run `npm install jest-cli --save-dev` + Jest uses ES2015 features and requires a Node.js version of at least 4.0.0 + to run. + 3. Add the following to your `package.json` ```js diff --git a/package.json b/package.json index 278a81b95e9b..91b7baf9b0df 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "jest": "./bin/jest.js" }, "engines": { - "node": ">= 2" + "node": ">= 4" }, "repository": { "type": "git",