Skip to content

Commit 00cbd80

Browse files
authored
Merge pull request #294 from anikethsaha/drop-node-8
chore: [BREAKING] drop node 8
2 parents 4edec0f + 0161b58 commit 00cbd80

4 files changed

Lines changed: 14 additions & 20 deletions

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ node_js:
33
- "node"
44
- "lts/*"
55
- 10
6-
- 8
6+
- 12
7+
- 13
78

89
after_success:
910
- npm run coverage

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
environment:
22
matrix:
3+
- nodejs_version: "12"
34
- nodejs_version: "11"
45
- nodejs_version: "10"
56
- nodejs_version: "9"
6-
- nodejs_version: "8"
77

88
version: "{build}"
99
build: off

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"posthtml": "lib/cli.js"
1616
},
1717
"engines": {
18-
"node": ">=8"
18+
"node": ">=10"
1919
},
2020
"scripts": {
2121
"version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md && git commit -m \"build: update changelog\"",

readme.md

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# posthtml-cli
2+
23
> [PostHTML][posthtml-url] сommand line interface
34
45
[![Trasiv Build Status][travis-image]][travis-url][![AppVeyor Build Status][appveyor-img]][appveyor][![node][node-image]][node-url][![NPM version][npm-image]][npm-url][![Dependency Status][depstat-image]][depstat-url][![XO code style][style]][style-url][![Coveralls Status][coveralls-image]][coveralls-url]
@@ -10,13 +11,15 @@
1011
```bash
1112
$ npm install --global posthtml-cli
1213
```
13-
> **Note:** This project is compatible with node v8+
1414

15-
## Usage
15+
> Note: This project is compatible with node v10+
16+
17+
## Usage
18+
1619
```bash
1720
$ posthtml --help
1821

19-
Usage:
22+
Usage:
2023
$ posthtml <patterns>
2124

2225
Options:
@@ -37,6 +40,7 @@ $ posthtml --help
3740
```
3841

3942
## Options
43+
4044
```json
4145
{
4246
"input": "src/*.html",
@@ -48,42 +52,31 @@ $ posthtml --help
4852
}
4953
};
5054
```
51-
> example config *`.posthtmlrc`*
5255

53-
[posthtml-url]: http://github.com/posthtml/posthtml
56+
> example config _`.posthtmlrc`_
5457
58+
[posthtml-url]: http://github.com/posthtml/posthtml
5559
[pkg-q-url]: http://packagequality.com/#?package=posthtml-cli
5660
[pkg-q-image]: http://npm.packagequality.com/shield/posthtml-cli.svg?style=flat-square
57-
5861
[npm-total-download-url]: https://www.npmjs.com/package/posthtml-cli
5962
[npm-total-download-image]: https://img.shields.io/npm/dt/posthtml-cli.svg?style=flat-square
60-
6163
[npm-download-url]: https://www.npmjs.com/package/posthtml-cli
6264
[npm-download-image]: https://img.shields.io/npm/dm/posthtml-cli.svg?style=flat-square
63-
6465
[node-url]: ""
6566
[node-image]: https://img.shields.io/node/v/posthtml-cli.svg?maxAge=2592000&style=flat-square
66-
6767
[npm-url]: https://npmjs.org/package/posthtml-cli
6868
[npm-image]: http://img.shields.io/npm/v/posthtml-cli.svg?style=flat-square
69-
7069
[testen-url]: https://github.com/egoist/testen
7170
[testen-image]: https://img.shields.io/badge/testen-passing-brightgreen.svg?style=flat-square
72-
7371
[travis-url]: https://travis-ci.org/posthtml/posthtml-cli
7472
[travis-image]: http://img.shields.io/travis/posthtml/posthtml-cli/master.svg?style=flat-square&label=unix
75-
76-
[appveyor]: https://ci.appveyor.com/project/GitScrum/posthtml-cli
73+
[appveyor]: https://ci.appveyor.com/project/GitScrum/posthtml-cli
7774
[appveyor-img]: https://img.shields.io/appveyor/ci/GitScrum/posthtml-cli/master.svg?style=flat-square&label=windows
78-
7975
[coveralls-url]: https://coveralls.io/r/posthtml/posthtml-cli
8076
[coveralls-image]: http://img.shields.io/coveralls/posthtml/posthtml-cli.svg?style=flat-square
81-
8277
[depstat-url]: https://david-dm.org/posthtml/posthtml-cli
8378
[depstat-image]: https://david-dm.org/posthtml/posthtml-cli.svg?style=flat-square
84-
8579
[depstat-dev-url]: https://david-dm.org/posthtml/posthtml-cli
8680
[depstat-dev-image]: https://david-dm.org/posthtml/posthtml-cli/dev-status.svg?style=flat-square
87-
8881
[style-url]: https://github.com/sindresorhus/xo
8982
[style]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square

0 commit comments

Comments
 (0)