Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dependency-brunch

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dependency-brunch

Adds dependOn option to brunch config.

  • 0.1.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

dependency-brunch

Adds dependOn option to brunch config.

Installation

Add "dependency-brunch": "x.y.z" to package.json of your brunch app.

Pick a plugin version that corresponds to your minor (y) brunch version.

If you want to use git version of plugin, add "dependency-brunch": "git+ssh://git@github.com:shiwano/dependency-brunch.git".

Usage

You can use dependOn option in config.coffee. Example:

exports.config =
  files:
    javascripts:
      dependOn:
        'app/config.coffeeenv': [
          /^app(\/|\\)controllers/
          /^app(\/|\\)views/
          /^app(\/|\\)models/
        ]

Now, when app/controllers/home.coffee changed, brunch compile app/config.coffeeenv too.

More Examples:

exports.config =
  files:
    stylesheets:
      dependOn:
        'app/styli/foo.styl': 'app/styli/bar.styl'
exports.config =
  files:
    templates:
      dependOn:
        'app/templates/foo.hbs': /^app(\/|\\)templates/

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

  • 2013-03-02   v0.1.2   Use touch
  • 2013-02-09   v0.1.1   Replace underscore with lodash
  • 2012-12-16   v0.1.0   First release.

License

Copyright (c) 2012 Shogo Iwano Licensed under the MIT license.

FAQs

Package last updated on 01 Mar 2013

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc