Skip to content

Commit e7f4746

Browse files
author
Charlike Mike Reagent
committed
fix: update scripts, allow Node >=8.10.0
Signed-off-by: Charlike Mike Reagent <mameto2011@gmail.com>
1 parent 970e5e7 commit e7f4746

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ _(TOC generated by [verb](https://github.com/verbose/verb) using [markdown-toc](
5656

5757
## Install
5858

59-
This project requires [**Node.js**](https://nodejs.org) **^8.11.0 || >=10.13.0**. Install it using
59+
This project requires [**Node.js**](https://nodejs.org) **^8.10.0 || >=10.13.0**. Install it using
6060
[**yarn**](https://yarnpkg.com) or [**npm**](https://npmjs.com).
6161
_We highly recommend to use Yarn when you think to contribute to this project._
6262

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@
66
"scripts": {
77
"docs": "docks --outfile .verb.md && verb",
88
"lint": "eslint '**/*.js' --cache --fix --quiet --format codeframe",
9+
"test-only": "asia -r esm",
910
"test": "nyc asia",
10-
"commit": "yarn lint && yarn test && yarn dry",
11-
"dry": "git add -A && git status --porcelain && gitcommit -sS",
11+
"precommit": "yarn run lint && yarn run test-only",
12+
"commit": "yarn dry",
13+
"dry": "git add -A && git status --porcelain && gitcommit",
1214
"release": "tunnckocore-release"
1315
},
1416
"engines": {
15-
"node": "^8.11.0 || >=10.13.0"
17+
"node": "^8.10.0 || >=10.13.0"
1618
},
1719
"dependencies": {
1820
"@tunnckocore/git-semver-tags": "^0.2.0",

0 commit comments

Comments
 (0)