开发者社区> 镜像站> NPM> coffeeify-redux
coffeeify-redux
browserify v2 plugin to compile coffee-script automatically using the coffee-script-redux compiler
Last updated 8 years ago by thlorenz .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install coffeeify-redux 
SYNC missed versions from official npm registry.

coffeeify-redux build status

browserify v2 plugin for coffee-script-redux

mix and match .coffee and .js files in the same project

if you prefer the original coffee-script compiler, please use the original coffeeify

example

given some files written in a mix of js and coffee:

foo.coffee:

console.log(require './bar.js')

bar.js:

module.exports = require('./baz.coffee')(5)

baz.coffee:

module.exports = (n) -> n * 111

install coffeeify into your app:

$ npm install coffeeify

when you compile your app, just pass -t coffeeify to browserify:

$ browserify -t coffeeify foo.coffee > bundle.js
$ node bundle.js
555

install

With npm do:

npm install coffeeify-redux

license

MIT

Current Tags

  • 0.1.0                                ...           latest (8 years ago)

1 Versions

  • 0.1.0                                ...           8 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (3)
Dev Dependencies (2)
Dependents (0)
None