component-coffee
CoffeeScript plugin for Component
Last updated 7 years ago .
BSD · Original npm · Tarball · package.json
$ cnpm install component-coffee 
SYNC missed versions from official npm registry.

component-coffee

Component plugin to compile CoffeeScript files on-the-fly. This allows you to write components in CoffeeScript.

Installation

npm install component-coffee

Usage

component build --use component-coffee

Add you CoffeeScript files to the scripts section of your component.json

{
  "name": "foo",
  "scripts": ["index.coffee", "foo.coffee", "bar.coffee"]
}

Now in your index.coffee file you can require it:

foo = require 'foo'
bar = require 'bar'

Current Tags

  • 0.1.4                                ...           latest (7 years ago)

4 Versions

  • 0.1.4                                ...           7 years ago
  • 0.1.2                                ...           7 years ago
  • 0.1.1                                ...           7 years ago
  • 0.1.0                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 3
Dependencies (1)
Dev Dependencies (0)
None
Dependents (1)

Copyright 2014 - 2016 © taobao.org |