component-livescript

LiveScript plugin for Component(1)

npm install component-livescript
11 downloads in the last week
14 downloads in the last month

component-livescript

Component(1) plugin to compile LiveScript files on-the-fly. This allows you to write components in LiveScript. Based on anthonyshort/component-coffee.

Installation

npm install component-livescript

Usage

component build --use component-livescript

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

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

Now in your index.ls file you can require or require! it:

foo = require 'foo'
require! bar
npm loves you