Have ideas to improve npm?Join in the discussion! »

    lineman-browserify

    0.1.2 • Public • Published

    lineman-browserify

    This is a plugin to make it easy to use Browserify in conjunction with a Lineman app.

    Usage

    First, add the plugin to your lineman project:

    $ npm install lineman-browserify --save-dev
    

    The plugin will create a default entrypoint that agrees with the vanilla lineman project archetype (which prints a little hello world on the screen). If you've installed the plugin into a vanilla project, you should see the demo continue to work, but otherwise you'll want to start by replacing the contents of app/js/entrypoint.coffee with whatever require statements you need to kick off your app. You can also rename this file to a ".js" extension if you like.

    If you want to pull in a file from vendor/js, just require it; the aliases have been set up such that you can treat vendor/js as just a second root load path for the application.

    Install

    npm i lineman-browserify

    DownloadsWeekly Downloads

    0

    Version

    0.1.2

    License

    none

    Last publish

    Collaborators

    • avatar
    • avatar
    • avatar