From 83003b6987091c3e8131c71ff15168a66a156035 Mon Sep 17 00:00:00 2001 From: Martin Donnelly Date: Tue, 17 Nov 2020 11:45:16 +0000 Subject: [PATCH] Updated travis to node 12 Updated package scripts to use yarn --- .travis.yml | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4555503..c7b016c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,3 +1,3 @@ language: node_js node_js: - - "10" + - 12 diff --git a/package.json b/package.json index 7bbe3d2..b82f260 100644 --- a/package.json +++ b/package.json @@ -7,11 +7,11 @@ "scripts": { "release": "vik patch -t", "clean": "rm -rf dist", - "prepublish": "npm run clean && npm run compile", - "test": "jest --coverage && npm run compile", + "prepublish": "yarn run clean && yarn run compile", + "test": "jest --coverage && yarn run compile", "compile:es": "tsc --declaration true --declarationMap true --module esnext --outDir './dist/es'", "compile:commonjs": "tsc --declaration true --declarationMap true --module commonjs --outDir './dist/commonjs'", - "compile": "npm run clean && npm run compile:es && npm run compile:commonjs" + "compile": "yarn run clean && yarn run compile:es && yarn run compile:commonjs" }, "author": "Martin Donnelly", "license": "ISC",