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
- Host: GitHub
- URL: https://github.com/kolotaev/livescript-jest
- Owner: kolotaev
- License: mit
- Created: 2019-07-30T17:44:40.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-09-02T08:47:26.000Z (over 6 years ago)
- Last Synced: 2025-02-04T16:23:15.128Z (about 1 year ago)
- Topics: jest, jest-test, livescript, preprocessor, testing
- Language: JavaScript
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# 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",
]
}
```