New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

npm-vendorize-brunch

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

npm-vendorize-brunch

includes npm sources in vendor.js Brunch output

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Build Status

npm-vendorize-brunch

Include npm sources in your brunch vendor output.

If you put, eg

  "dependencies":  {
    "dc": "> 1.0.0"
  }

NPM will install the browser client dc.js in node\_modules, and it'd be nice to have a way to include npm installed sources in the compiled brunch output.

config.coffee

exports.config =
  plugins:
    vendorize:
      dc:
        include: 'dc.js'

This plugin passes 'dc/dc.js' to require.resolve, and returns the result to brunch via the plugin include method.

Very crude, but seems to work for npm sources that have a compiled file that is ready for minification/include.

Usage

Add "npm-vendorize-brunch": "x.y.z" to package.json of your brunch app. Add config as shown above.

FAQs

Package last updated on 17 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