# gulp-phantomcss-options

> Gulp plugin for PhantomCSS with command line options, fork from gulp-phantomcss

Latest version **0.1.2** (published 2018-12-13) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install gulp-phantomcss-options
pnpm add gulp-phantomcss-options
yarn add gulp-phantomcss-options
bun add gulp-phantomcss-options
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.1.2 |
| Published | 2018-12-13 |
| First published | 2018-11-13 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 6 |
| Unpacked size | 9.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Koen Buckinx |
| Maintainers | kromakollision |

## Links

- npm: https://www.npmjs.com/package/gulp-phantomcss-options
- Repository: https://github.com/kromakollision/gulp-phantomcss
- Homepage: https://github.com/kromakollision/gulp-phantomcss#readme
- Issues: https://github.com/kromakollision/gulp-phantomcss/issues
- npm.io page: https://npm.io/package/gulp-phantomcss-options

## Dependencies (6)

- [lodash](https://npm.io/package/lodash.md) >=4.17.5
- [casperjs](https://npm.io/package/casperjs.md) 1.1.3
- [gulp-util](https://npm.io/package/gulp-util.md) 3.0.7
- [phantomcss](https://npm.io/package/phantomcss.md) 1.1.3
- [phantomjs-prebuilt](https://npm.io/package/phantomjs-prebuilt.md) ^2.1.16
- [through2-concurrent](https://npm.io/package/through2-concurrent.md) 1.1.1

## Recent versions

- 0.1.2 (latest) — 2018-12-13
- 0.1.0 — 2018-11-13

## README

# gulp-phantomcss-options

Run your phantomCSS tests with Gulp.  
This is a fork of gulp-phantomcss by Dan Brooks. It allows passing command line options to phantomJs.

## Installation
Uninstall global node installations of casperjs and phantomjs

`npm install gulp-phantomcss-options -D`

## Usage

```js
var gulp = require('gulp');
var phantomcss = require('gulp-phantomcss');
var settings = require('../settings/phantomcss.json'); // path to a config file

gulp.task('phantomcss', function (){
  gulp.src('./testsuite.js')
    .pipe(phantomcss({
            screenshotRoot: './phantomcss/screenshots',
            failedComparisonsRoot: './phantomcss/failures',
            comparisonResultRoot: './phantomcss/results',
            screenshots: './phantomcss/base',
            logLevel: 'error' // or: 'info', 'debug'
          },
          '--ignore-ssl-errors=true' // pass command line options
        ));
});
```

## More info
See https://github.com/danbroooks/gulp-phantomcss

---
_Source: https://npm.io/package/gulp-phantomcss-options · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
