grunt-download-atom-shell

0.15.1 • Public • Published

grunt-download-atom-shell

Grunt tasks for downloading atom-shell, and the compatible version of chromedriver.

Installation

Install npm package, next to your project's Gruntfile.js file:

npm install --save-dev grunt-download-atom-shell

Add this line to your project's Gruntfile.js:

grunt.loadNpmTasks('grunt-download-atom-shell');

Options

  • version - Required The version of atom-shell you want to download.
  • outputDir - Required Where to put the downloaded atom-shell.
  • downloadDir - Where to find and save cached downloaded atom-shell.
  • symbols - Download debugging symbols instead of binaries, default to false.
  • rebuild - Whether to rebuild native modules after atom-shell is downloaded.
  • apm - The path to apm.
  • token - The OAuth token to use for GitHub API requests.

Usage

Add the necessary configuration to your Gruntfile.js:

module.exports = function(grunt) {
  grunt.initConfig({
    'download-atom-shell': {
      version: '0.20.3',
      outputDir: 'my-dependencies'
    }
  });
};

or your Gruntfile.coffee:

module.exports = (grunt) ->
  grunt.initConfig
    'download-atom-shell':
      version: '0.20.3'
      outputDir: 'my-dependencies'

Then you can download atom-shell to the path you specified:

$ grunt download-atom-shell

If you're doing selenium-testing of your atom-shell app, you'll need chromedriver, which is distributed with atom-shell. To download it into the atom-shell directory:

$ grunt download-atom-shell-chromedriver

Readme

Keywords

none

Package Sidebar

Install

npm i grunt-download-atom-shell

Weekly Downloads

1

Version

0.15.1

License

none

Last publish

Collaborators

  • atom-team
  • thedaniel
  • kevinsawicki
  • benogle
  • nathansobo
  • zcbenz
  • maxbrunsfeld
  • probablycorey