Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coachshea/browserify-livescript
transform livescript files with browserify
https://github.com/coachshea/browserify-livescript
Last synced: about 16 hours ago
JSON representation
transform livescript files with browserify
- Host: GitHub
- URL: https://github.com/coachshea/browserify-livescript
- Owner: coachshea
- License: other
- Created: 2014-03-05T21:36:00.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-12-20T15:37:32.000Z (almost 7 years ago)
- Last Synced: 2024-06-19T02:06:54.705Z (5 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.68 MB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# browserify-livescript
browserify-livescript is an npm module that allows
[livescript](https://github.com/gkz/LiveScript) files to be seemlessly
integrated into a project through
[browserify](https://github.com/substack/node-browserify.git). If you are not
familiar with [browserify](https://github.com/substack/node-browserify.git), I
strongly encourage you to read up.## Basic usage
To use browserify-livescript in a project, include it as a dev-dependency in
your package.json file. Then pass it as a transform to
[browserify](https://github.com/substack/node-browserify.git). at the command
line (or in a makefile or through [grunt](https://github.com/gruntjs/grunt.git),
etc.).```
browserify -t browserify-livescript file.ls > output.js
```## Source Maps
browserify-livescript supports sourcemaps "out of the box" the only thing the
user needs to do is to instruct browserify to use the source maps by including
the '-d' flag.```
browserify -d -t browserify-livescript file.ls > output.js
```