An open API service indexing awesome lists of open source software.

https://github.com/kolotaev/livescript-jest

A preprocessor to help use LiveScript with Jest
https://github.com/kolotaev/livescript-jest

jest jest-test livescript preprocessor testing

Last synced: 12 months ago
JSON representation

A preprocessor to help use LiveScript with Jest

Awesome Lists containing this project

README

          

# livescript-jest

Simple LiveScript Preprocessor for Jest

[![npm version](https://badge.fury.io/js/livescript-jest.svg)](https://badge.fury.io/js/livescript-jest)
[![Build Status](https://travis-ci.org/kolotaev/livescript-jest.svg?branch=master)](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",
]
}
```