Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Component(1) plugin to compile LiveScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
.gitignore
LICENSE
README.md
index.js
package.json

README.md

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
Something went wrong with that request. Please try again.