From 381b57e48d476fc136c372c0075758a50aa2e0b0 Mon Sep 17 00:00:00 2001 From: Aldwin Vlasblom Date: Fri, 22 Mar 2019 10:36:35 +0100 Subject: [PATCH] Update sanctuary-scripts to version 3.x Closes #12 --- .config | 1 + package.json | 3 +-- scripts/test | 9 --------- 3 files changed, 2 insertions(+), 11 deletions(-) delete mode 100755 scripts/test diff --git a/.config b/.config index 5cdf3e9..6277d5c 100644 --- a/.config +++ b/.config @@ -2,3 +2,4 @@ author-name = WEAREREASONABLEPEOPLE B.V. repo-owner = wearereasonablepeople repo-name = react-collect source-files = index.mjs +opening-delimiter = ```js diff --git a/package.json b/package.json index 916830e..4501403 100644 --- a/package.json +++ b/package.json @@ -33,13 +33,12 @@ "devDependencies": { "coveralls": "^3.0.2", "esm": "^3.0.68", - "nyc": "^13.1.0", "prop-types": "^15.6.2", "react": "^16.4.1", "react-test-renderer": "^16.4.1", "redux": "^4.0.0", "rollup": "^1.0.0", - "sanctuary-scripts": "^2.0.0", + "sanctuary-scripts": "^3.1.1", "sanctuary-show": "^1.0.0", "sanctuary-type-classes": "^10.0.0", "sinon": "^7.1.0" diff --git a/scripts/test b/scripts/test deleted file mode 100755 index 276fba8..0000000 --- a/scripts/test +++ /dev/null @@ -1,9 +0,0 @@ -#!/usr/bin/env bash -set -euf -o pipefail - -source "${BASH_SOURCE%/*}/../node_modules/sanctuary-scripts/functions" - -branches="$(get min-branch-coverage)" - -node_modules/.bin/nyc --extension .mjs node_modules/.bin/mocha -node_modules/.bin/nyc check-coverage --branches $branches