Skip to content

Commit 7c6af90

Browse files
committed
chore: [BREAKING] drop node 8
1 parent 223f29e commit 7c6af90

File tree

3 files changed

+11
-19
lines changed

3 files changed

+11
-19
lines changed

.travis.yml

+2-1
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

package.json

+1-1
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.13.0"
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

+8-17
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,13 @@
1011
```bash
1112
$ npm install --global posthtml-cli
1213
```
13-
> **Note:** This project is compatible with node v8+
1414

15-
## Usage
15+
## Usage
16+
1617
```bash
1718
$ posthtml --help
1819

19-
Usage:
20+
Usage:
2021
$ posthtml <patterns>
2122

2223
Options:
@@ -37,6 +38,7 @@ $ posthtml --help
3738
```
3839

3940
## Options
41+
4042
```json
4143
{
4244
"input": "src/*.html",
@@ -48,42 +50,31 @@ $ posthtml --help
4850
}
4951
};
5052
```
51-
> example config *`.posthtmlrc`*
5253

53-
[posthtml-url]: http://github.com/posthtml/posthtml
54+
> example config _`.posthtmlrc`_
5455
56+
[posthtml-url]: http://github.com/posthtml/posthtml
5557
[pkg-q-url]: http://packagequality.com/#?package=posthtml-cli
5658
[pkg-q-image]: http://npm.packagequality.com/shield/posthtml-cli.svg?style=flat-square
57-
5859
[npm-total-download-url]: https://www.npmjs.com/package/posthtml-cli
5960
[npm-total-download-image]: https://img.shields.io/npm/dt/posthtml-cli.svg?style=flat-square
60-
6161
[npm-download-url]: https://www.npmjs.com/package/posthtml-cli
6262
[npm-download-image]: https://img.shields.io/npm/dm/posthtml-cli.svg?style=flat-square
63-
6463
[node-url]: ""
6564
[node-image]: https://img.shields.io/node/v/posthtml-cli.svg?maxAge=2592000&style=flat-square
66-
6765
[npm-url]: https://npmjs.org/package/posthtml-cli
6866
[npm-image]: http://img.shields.io/npm/v/posthtml-cli.svg?style=flat-square
69-
7067
[testen-url]: https://github.com/egoist/testen
7168
[testen-image]: https://img.shields.io/badge/testen-passing-brightgreen.svg?style=flat-square
72-
7369
[travis-url]: https://travis-ci.org/posthtml/posthtml-cli
7470
[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
71+
[appveyor]: https://ci.appveyor.com/project/GitScrum/posthtml-cli
7772
[appveyor-img]: https://img.shields.io/appveyor/ci/GitScrum/posthtml-cli/master.svg?style=flat-square&label=windows
78-
7973
[coveralls-url]: https://coveralls.io/r/posthtml/posthtml-cli
8074
[coveralls-image]: http://img.shields.io/coveralls/posthtml/posthtml-cli.svg?style=flat-square
81-
8275
[depstat-url]: https://david-dm.org/posthtml/posthtml-cli
8376
[depstat-image]: https://david-dm.org/posthtml/posthtml-cli.svg?style=flat-square
84-
8577
[depstat-dev-url]: https://david-dm.org/posthtml/posthtml-cli
8678
[depstat-dev-image]: https://david-dm.org/posthtml/posthtml-cli/dev-status.svg?style=flat-square
87-
8879
[style-url]: https://github.com/sindresorhus/xo
8980
[style]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square

0 commit comments

Comments
 (0)