0.6.0 • Published 8 years ago

grunt-bower-browser v0.6.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

grunt-bower-browser

Run browser-based GUI manager of Bower.

npm Version Build Status Dependency Status

This is a Grunt interface of bower-browser.
The original bower-browser has own CLI and API. Please refer the documentation for details.

Getting started

If you haven't used Grunt before, be sure to check out the Getting started guide.
Install this plugin with this command:

$ npm install grunt-bower-browser --save-dev

Once the plugin has been installed, it may be enabled inside your "Gruntfile.js" with this line of JavaScript:

grunt.loadNpmTasks('grunt-bower-browser');

The "bower-browser" task

Options

See the API specification of bower-browser. Options except for keepalive follow the spec.

keepalive

Type: 'Boolean'
Default: true

Set false to proceed to next task after the server is started.

Example

In your project's Gruntfile, add a section named bower-browser to the data object passed into grunt.initConfig().

grunt.initConfig({
  'bower-browser': {
    server: {
      options: {
        path: 'path/to/target',  // Location of bower.json. default: project root
        port: 8080,              // Port number. default: 3010
        cache: 0,                // Cache TTL. Set 0 to force to fetch API. default: 86400 (24hrs)
        open: false              // Prevent opening browser. default: true (open automatically)
      }
    }
  }
});

License

Copyright (c) 2015-2016 Rakuten, Inc. Licensed under the MIT license.

0.6.0

8 years ago

0.5.0

9 years ago

0.4.0

9 years ago

0.3.0

9 years ago

0.2.0

9 years ago

0.1.0

9 years ago

0.0.1

9 years ago