Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thlorenz/coffeeify-redux
browserify v2 plugin to compile coffee-script automatically using the coffee-script-redux compiler
https://github.com/thlorenz/coffeeify-redux
Last synced: 13 days ago
JSON representation
browserify v2 plugin to compile coffee-script automatically using the coffee-script-redux compiler
- Host: GitHub
- URL: https://github.com/thlorenz/coffeeify-redux
- Owner: thlorenz
- License: other
- Created: 2013-03-17T14:01:53.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-17T15:42:35.000Z (almost 12 years ago)
- Last Synced: 2024-12-10T08:26:53.189Z (about 1 month ago)
- Language: JavaScript
- Size: 133 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.markdown
- License: LICENSE
Awesome Lists containing this project
README
# coffeeify-redux [![build status](https://secure.travis-ci.org/thlorenz/coffeeify-redux.png)](http://travis-ci.org/substack/coffeeify)
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](https://github.com/substack/coffeeify)
# example
given some files written in a mix of `js` and `coffee`:
foo.coffee:
``` coffee
console.log(require './bar.js')
```bar.js:
``` js
module.exports = require('./baz.coffee')(5)
```baz.coffee:
``` js
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](https://npmjs.org) do:
```
npm install coffeeify-redux
```# license
MIT