Skip to content

wryk/component-livescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Component(1) plugin to compile LiveScript

Resources

License

Stars

Watchers

Forks

Packages

No packages published