Skip to content

Instantly share code, notes, and snippets.

View serge1peshcoff's full-sized avatar

Sergey Peshkov serge1peshcoff

View GitHub Profile

Keybase proof

I hereby claim:

  • I am serge1peshcoff on github.
  • I am serge1peshcoff (https://keybase.io/serge1peshcoff) on keybase.
  • I have a public key ASClX7zyALcqzbP33SteqPYY3ZYMECy1yHjYBKEXs5Iqewo

To claim this, I am signing this object:

/* preprocessor.js */
const coffee = require('coffee-script')
const babelJest = require('babel-jest')
module.exports = {
process: (src, path) => {
if (path.match(/\.coffee|\.cjsx/)) {
src = coffee.compile(src, { bare: true })
} else if (path.indexOf('node_modules') === -1) {