From fca21d342e1e6314654175b70e22ece1bc9f8732 Mon Sep 17 00:00:00 2001 From: jjrv Date: Tue, 7 May 2019 04:42:01 +0300 Subject: [PATCH] Fix Travis. --- .travis.yml | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 293cd9b..0d03272 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,8 +1,8 @@ language: node_js node_js: + - "12" - "10" - "8" - - "7" - "6" - "4" diff --git a/package.json b/package.json index c9d4653..308dd4d 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,7 @@ "scripts": { "tsc": "tsc", "rollup": "rollup", - "prepublish": "(node src/checkver.js ge 5.0.0 && tsc -m es6 --outdir dist/esm -p src && rollup -c) || tsc -p src", + "prepublish": "tsc -p src && (node src/checkver.js lt 5.0.0 || (tsc -p src -m es6 --outdir dist/esm && rollup -c))", "test": "tsc -p test && node test/test.js" }, "author": "Juha Järvi",