Fork of the official grunt-contrib-jasmine package that uses a fork of grunt-lib-phantomjs, called "rzg-grunt-lib-phantomjs" that makes the PhantomJS binary configurable through an environment variable.
Uses rzg-grunt-lib-phantomjs 0.7.2
Since rzg-grunt-lib-phantomjs is not published you have to add both, this module and rzg-grunt-lib-phantomjs to your package.json
There are different ways installing it using npm 1, 2 and 3
devDependencies: {
"rzg-grunt-lib-phantomjs": "0.7.2",
"rzg-grunt-jasmine": "0.5.4",
}
and first
$ npm install path/to/rzg-grunt-lib-phantomjs
$ npm install path/to/rzg-grunt-jasmine
then
$ npm install
devDependencies: {
"rzg-grunt-lib-phantomjs": "file:local/path/to/it",
"rzg-grunt-jasmine": "file:local/path/to/it",
}
and first
$ npm install rzg-grunt-lib-phantomjs
$ npm install rzg-grunt-jasmine
then
$ npm install
devDependencies: {
"rzg-grunt-lib-phantomjs": "file:local/path/to/it",
"rzg-grunt-jasmine": "file:local/path/to/it",
}
and just
$ npm install
You need to set the environment PHANTOMJS_BIN
pointing to the PhantomJS binary, see rzg-grunt-jasmine.