Skip to content

Commit

Permalink
Require Node.js 10 and upgrade to Puppeteer 3
Browse files Browse the repository at this point in the history
  • Loading branch information
sindresorhus committed May 10, 2020
1 parent e805e70 commit b57d0f4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 20 deletions.
3 changes: 2 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
language: node_js
node_js:
- '14'
- '12'
- '10'
- '8'
2 changes: 1 addition & 1 deletion license
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) Sindre Sorhus <[email protected]> (sindresorhus.com)
Copyright (c) Sindre Sorhus <[email protected]> (https://sindresorhus.com)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
19 changes: 10 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,17 @@
"description": "Display images in the terminal",
"license": "MIT",
"repository": "sindresorhus/terminal-image-cli",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "[email protected]",
"url": "sindresorhus.com"
"url": "https://sindresorhus.com"
},
"bin": {
"image": "cli.js"
},
"engines": {
"node": ">=8"
"node": ">=10"
},
"scripts": {
"test": "xo && FORCE_COLOR=1 ava"
Expand All @@ -35,14 +36,14 @@
"jpeg"
],
"dependencies": {
"get-stdin": "^6.0.0",
"meow": "^5.0.0",
"terminal-image": "^0.1.0"
"get-stdin": "^7.0.0",
"meow": "^7.0.0",
"terminal-image": "^1.0.0"
},
"devDependencies": {
"ava": "*",
"execa": "^0.10.0",
"has-ansi": "^3.0.0",
"xo": "*"
"ava": "^2.4.0",
"execa": "^4.0.1",
"has-ansi": "^4.0.0",
"xo": "^0.30.0"
}
}
10 changes: 1 addition & 9 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# terminal-image-cli [![Build Status](https://travis-ci.org/sindresorhus/terminal-image-cli.svg?branch=master)](https://travis-ci.org/sindresorhus/terminal-image-cli)
# terminal-image-cli [![Build Status](https://travis-ci.com/sindresorhus/terminal-image-cli.svg?branch=master)](https://travis-ci.com/sindresorhus/terminal-image-cli)

> Display images in the terminal
Expand All @@ -8,14 +8,12 @@ Works in any terminal that supports colors.

*In iTerm, the image will be [displayed in full resolution](screenshot-iterm.jpg), since iTerm has [special image support](https://www.iterm2.com/documentation-images.html).*


## Install

```
$ npm install --global terminal-image-cli
```


## Usage

```
Expand All @@ -30,13 +28,7 @@ $ image --help
$ cat unicorn.jpg | image
```


## Related

- [terminal-image](https://github.com/sindresorhus/terminal-image) - API for this module
- [terminal-link-cli](https://github.com/sindresorhus/terminal-link-cli) - Create clickable links in the terminal


## License

MIT © [Sindre Sorhus](https://sindresorhus.com)

0 comments on commit b57d0f4

Please sign in to comment.