grunt-localstack
A grunt plugin to start and stop BrowserStack's tunnel client. On first run this will download the appropriate binary for your platform from BrowserStack. On Windows this will be a Jar file and you will need to have Java already installed.
For BrowserStack documentation see: http://www.browserstack.com/
Installation
npm install grunt-localstack
Usage
Load task
grunt;
Task Options
Configure localstack in your Gruntfile.js
Basic config
grunt;
Optional options
// override the default bin directory for the OSX binaryosxBin: 'your_bin_dir'// override the default bin directory for the Linux 32 bit binarylinux32Bin: 'your_bin_dir'// override the default bin directory for the Linux 64 bit binarylinux64Bin: 'your_bin_dir'// override the default bin directory for the win32 binarywin32Bin: 'your_bin_dir'// set the -tunnelIdentifier optiontunnelIdentifier: 'my_tunnel'// set the -skipCheck optionskipCheck: true// set the -v (verbose) optionv: true// set the -proxyUser optionproxyUser: PROXY_USER// set the -proxyPass optionproxyPass: PROXY_PASS// set the -proxyPort optionproxyPort: PROXY_PORT// set the -proxyHost optionproxyHost: PROXY_HOST// set the -force optionforce: false
Tasks
To start browserstack binary use:
localstack
To stop browserstack binary use:
localstack:stop
License
Copyright © 2014 Lucas Feliciano
Licensed under the MIT license.