@onlytabs/jest-coffee-preprocessor

2.0.1 • Public • Published

jest-coffee-preprocessor

Simple Coffee Script Preprocessor for Jest

Example Installation:

$ npm install @onlytabs/jest-coffee-preprocessor

In package.json:

  "jest" :{
    "transform": {
      "^.+\\.jsx?$": "<rootDir>/node_modules/babel-jest",
      "^.+\\.coffee$": "<rootDir>/node_modules/@onlytabs/jest-coffee-preprocessor/index.js"
    },
    "moduleFileExtensions": [
      "coffee",
      "js",
      "json",
      "jsx"
    ]
  }

Package Sidebar

Install

npm i @onlytabs/jest-coffee-preprocessor

Weekly Downloads

311

Version

2.0.1

License

MIT

Unpacked Size

2.51 kB

Total Files

5

Last publish

Collaborators

  • onlytabs