livescript-jest
Version:
A preprocessor to help use LiveScript with Jest
36 lines (24 loc) • 647 B
Markdown
# livescript-jest
Simple LiveScript Preprocessor for Jest
[](https://badge.fury.io/js/livescript-jest)
[](https://travis-ci.org/kolotaev/livescript-jest)
----
## Installation:
Install with npm or yarn:
```bash
npm i livescript-jest
# or
yarn add livescript-jest
```
## Usage:
In your `package.json` or `jest.config.json` specify ".ls" files preprocessor:
```json
"jest": {
"transform": {
"^.+\\.ls$": "livescript-jest",
},
"moduleFileExtensions": [
"ls",
]
}
```