Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robertoachar/screenshot-puppeteer

A playground for take a screenshot with Puppeteer.
https://github.com/robertoachar/screenshot-puppeteer

playground puppeteer screenshot

Last synced: 29 days ago
JSON representation

A playground for take a screenshot with Puppeteer.

Awesome Lists containing this project

README

        

# screenshot-puppeteer

Generated by [Node Project Generator](https://github.com/robertoachar/generator-node).

[![License][license-badge]][license-url]

> A playground for take a screenshot with Puppeteer.

## Development

- Clone the repo

```bash
$ git clone https://github.com/robertoachar/screenshot-puppeteer.git
```

- Install dependencies

```bash
$ npm install
```

- Run scripts

| Action | Usage (npm) | Usage (yarn) |
| ----------------------------------- | ----------------------- | -------------------- |
| Start development mode | `npm start` | `yarn start |
| Run lint | `npm run lint` | `yarn lint` |
| Start lint in watch mode | `npm run lint:watch` | `yarn lint:watch` |
| Run tests | `npm run jest` | `yarn jest` |
| Start tests in watch mode | `npm run jest:watch` | `yarn jest:watch` |
| Run tests with code coverage | `npm run jest:coverage` | `yarn jest:coverage` |
| Run lint + tests | `npm test` | `yarn test` |
| Start lint + tests in watch mode | `npm test:watch` | `yarn test:watch` |
| Run lint + tests with code coverage | `npm test:coverage` | `yarn test:coverage` |

## Author

[Roberto Achar](https://twitter.com/robertoachar)

## License

[MIT](https://github.com/robertoachar/screenshot-puppeteer/blob/master/LICENSE)

[license-badge]: https://img.shields.io/github/license/robertoachar/screenshot-puppeteer.svg
[license-url]: https://opensource.org/licenses/MIT