For more detailed info check my blog post https://www.grzegorowski.com/custom-jest-transformer
First install dependencies:
npm install
To create a production build:
npm run build-prod
To create a development build:
npm run build-dev
node dist/bundle.js
npm run test
MIT
author: Jan Grzegorowski