Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
gulp-casperjs-local
Advanced tools
Fork of gulp-casperjs, but uses the local installation of casper (i.e. the one in your node_modules).
npm install --save-dev gulp-casperjs-local casperjs phantomjs
A gulp plugin for running CasperJS scripts
import casperJs from 'gulp-casperjs-local';
// or
const casperJs = require('gulp-casperjs-local').default;
gulp.task('test', function () {
gulp.src('Globs of test files')
.pipe(casperJs()); // run casperjs test
});
To change the command (default: test
) use parameter command
:
import casperJs from 'gulp-casperjs-local';
gulp.task('casperCmd', function () {
gulp.src('test.js')
.pipe(casperJs({ command: '', envArgs { TZ: 'UTC' } })); // run casperjs test.js
});
Command can be array
or string
.
If command has value which cast to false
, this parameter will be ignored.
envArgs is an object of environment variables that will be passed to casper.
The MIT License (MIT)
FAQs
Gulp plugin for running CasperJS scripts
The npm package gulp-casperjs-local receives a total of 1 weekly downloads. As such, gulp-casperjs-local popularity was classified as not popular.
We found that gulp-casperjs-local demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.