component-livescript

LiveScript plugin for Component(1)

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.

npm install component-livescript
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