From e7f4746005e4b5e91fe1f035b44e9046b66bd101 Mon Sep 17 00:00:00 2001 From: Charlike Mike Reagent Date: Sun, 18 Nov 2018 21:35:21 +0200 Subject: [PATCH] fix: update scripts, allow Node >=8.10.0 Signed-off-by: Charlike Mike Reagent --- README.md | 2 +- package.json | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index b8ae93c..bc0aedd 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ _(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc]( ## Install -This project requires [**Node.js**](https://nodejs.org) **^8.11.0 || >=10.13.0**. Install it using +This project requires [**Node.js**](https://nodejs.org) **^8.10.0 || >=10.13.0**. Install it using [**yarn**](https://yarnpkg.com) or [**npm**](https://npmjs.com). _We highly recommend to use Yarn when you think to contribute to this project._ diff --git a/package.json b/package.json index 17ee5db..d3df823 100644 --- a/package.json +++ b/package.json @@ -6,13 +6,15 @@ "scripts": { "docs": "docks --outfile .verb.md && verb", "lint": "eslint '**/*.js' --cache --fix --quiet --format codeframe", + "test-only": "asia -r esm", "test": "nyc asia", - "commit": "yarn lint && yarn test && yarn dry", - "dry": "git add -A && git status --porcelain && gitcommit -sS", + "precommit": "yarn run lint && yarn run test-only", + "commit": "yarn dry", + "dry": "git add -A && git status --porcelain && gitcommit", "release": "tunnckocore-release" }, "engines": { - "node": "^8.11.0 || >=10.13.0" + "node": "^8.10.0 || >=10.13.0" }, "dependencies": { "@tunnckocore/git-semver-tags": "^0.2.0",