lineman-browserify
A Browserify plugin for Lineman
Last updated 6 years ago by searls .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install lineman-browserify 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 0.1.2                                ...           latest (6 years ago)

8 Versions

  • 0.1.2                                ...           6 years ago
  • 0.1.1                                ...           6 years ago
  • 0.1.0                                ...           6 years ago
  • 0.0.5                                ...           6 years ago
  • 0.0.4                                ...           6 years ago
  • 0.0.3                                ...           6 years ago
  • 0.0.2                                ...           6 years ago
  • 0.0.1                                ...           6 years ago
Downloads
Today 1
This Week 1
This Month 3
Last Day 0
Last Week 1
Last Month 11
Dependencies (5)
Dev Dependencies (2)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |