Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ node_js:
- "node"
- "lts/*"
- 10
- 8
- 12
- 13

after_success:
- npm run coverage
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
environment:
matrix:
- nodejs_version: "12"
- nodejs_version: "11"
- nodejs_version: "10"
- nodejs_version: "9"
- nodejs_version: "8"

version: "{build}"
build: off
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"posthtml": "lib/cli.js"
},
"engines": {
"node": ">=8"
"node": ">=10"
},
"scripts": {
"version": "conventional-changelog -i changelog.md -s -r 0 && git add changelog.md && git commit -m \"build: update changelog\"",
Expand Down
27 changes: 10 additions & 17 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# posthtml-cli

> [PostHTML][posthtml-url] сommand line interface

[![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]
Expand All @@ -10,13 +11,15 @@
```bash
$ npm install --global posthtml-cli
```
> **Note:** This project is compatible with node v8+

## Usage
> Note: This project is compatible with node v10+

## Usage

```bash
$ posthtml --help

Usage:
Usage:
$ posthtml <patterns>

Options:
Expand All @@ -37,6 +40,7 @@ $ posthtml --help
```

## Options

```json
{
"input": "src/*.html",
Expand All @@ -48,42 +52,31 @@ $ posthtml --help
}
};
```
> example config *`.posthtmlrc`*

[posthtml-url]: http://github.com/posthtml/posthtml
> example config _`.posthtmlrc`_

[posthtml-url]: http://github.com/posthtml/posthtml
[pkg-q-url]: http://packagequality.com/#?package=posthtml-cli
[pkg-q-image]: http://npm.packagequality.com/shield/posthtml-cli.svg?style=flat-square

[npm-total-download-url]: https://www.npmjs.com/package/posthtml-cli
[npm-total-download-image]: https://img.shields.io/npm/dt/posthtml-cli.svg?style=flat-square

[npm-download-url]: https://www.npmjs.com/package/posthtml-cli
[npm-download-image]: https://img.shields.io/npm/dm/posthtml-cli.svg?style=flat-square

[node-url]: ""
[node-image]: https://img.shields.io/node/v/posthtml-cli.svg?maxAge=2592000&style=flat-square

[npm-url]: https://npmjs.org/package/posthtml-cli
[npm-image]: http://img.shields.io/npm/v/posthtml-cli.svg?style=flat-square

[testen-url]: https://github.com/egoist/testen
[testen-image]: https://img.shields.io/badge/testen-passing-brightgreen.svg?style=flat-square

[travis-url]: https://travis-ci.org/posthtml/posthtml-cli
[travis-image]: http://img.shields.io/travis/posthtml/posthtml-cli/master.svg?style=flat-square&label=unix

[appveyor]: https://ci.appveyor.com/project/GitScrum/posthtml-cli
[appveyor]: https://ci.appveyor.com/project/GitScrum/posthtml-cli
[appveyor-img]: https://img.shields.io/appveyor/ci/GitScrum/posthtml-cli/master.svg?style=flat-square&label=windows

[coveralls-url]: https://coveralls.io/r/posthtml/posthtml-cli
[coveralls-image]: http://img.shields.io/coveralls/posthtml/posthtml-cli.svg?style=flat-square

[depstat-url]: https://david-dm.org/posthtml/posthtml-cli
[depstat-image]: https://david-dm.org/posthtml/posthtml-cli.svg?style=flat-square

[depstat-dev-url]: https://david-dm.org/posthtml/posthtml-cli
[depstat-dev-image]: https://david-dm.org/posthtml/posthtml-cli/dev-status.svg?style=flat-square

[style-url]: https://github.com/sindresorhus/xo
[style]: https://img.shields.io/badge/code_style-XO-5ed9c7.svg?style=flat-square