Skip to content

Commit fde60f6

Browse files
author
Charlike Mike Reagent
committed
fix: update scripts, allow node >=8.10 (b/c aws)
Signed-off-by: Charlike Mike Reagent <mameto2011@gmail.com>
1 parent d71ff4b commit fde60f6

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

README.md

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

5656
## Install
5757

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

package.json

Lines changed: 6 additions & 4 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/package-json": "^1.0.1",
@@ -70,4 +72,4 @@
7072
"recommended-bump"
7173
]
7274
}
73-
}
75+
}

0 commit comments

Comments
 (0)