npm.io
0.2.0 • Published 6 years ago

livescript-jest

Licence
MIT
Version
0.2.0
Deps
1
Size
4 kB
Vulns
0
Weekly
0

livescript-jest

Simple LiveScript Preprocessor for Jest

npm version Build Status


Installation:

Install with npm or yarn:

npm i livescript-jest

# or

yarn add livescript-jest

Usage:

In your package.json or jest.config.json specify ".ls" files preprocessor:

  "jest": {
    "transform": {
      "^.+\\.ls$": "livescript-jest",
    },
    "moduleFileExtensions": [
      "ls",
    ]
  }