From b8dde414823d45c7edab2e30fc80480b8c5b5326 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Mon, 28 Jan 2019 17:53:00 +0200 Subject: [PATCH] Bump minimum node version to 8 LTS --- .eslintrc.yml | 3 +++ .travis.yml | 3 +-- package.json | 2 +- scripts/.eslintrc.yml | 5 ----- 4 files changed, 5 insertions(+), 8 deletions(-) delete mode 100644 scripts/.eslintrc.yml diff --git a/.eslintrc.yml b/.eslintrc.yml index cf91fcf3..90261ca0 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -2,6 +2,9 @@ root: true +parserOptions: + ecmaVersion: 2017 + env: es6: true browser: true diff --git a/.travis.yml b/.travis.yml index f5d6fba9..868e6e4c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,8 +4,7 @@ language: node_js node_js: - 11 # EOL: June 2019 - 10 # EOL: April 2021 - - 8 # EOL: December 2019 - - 6 # EOL: April 2019 + - 8.10.0 # EOL: December 2019 (test exact LTS version) os: - linux diff --git a/package.json b/package.json index 1409de95..8f1c7fa6 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,7 @@ ], "license": "MIT", "engines": { - "node": ">=6.13.0" + "node": ">=8.10.0" }, "dependencies": { "bcryptjs": "2.4.3", diff --git a/scripts/.eslintrc.yml b/scripts/.eslintrc.yml deleted file mode 100644 index 837ea277..00000000 --- a/scripts/.eslintrc.yml +++ /dev/null @@ -1,5 +0,0 @@ ---- - -# Necessary to support async/await... grumble grumble... -parserOptions: - ecmaVersion: 8