Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

babel-jest-amcharts

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-jest-amcharts

[Babel](https://github.com/babel/babel) [jest](https://github.com/facebook/jest) plugin customised to work with [amCharts](https://www.amcharts.com/)

  • 0.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

babel-jest-amcharts

Babel jest plugin customised to work with amCharts

Usage

If you are already using jest-cli, just add babel-jest-amcharts and it will automatically compile JavaScript code using Babel.

npm install --D babel-jest-amcharts @babel/core

Setup

To explicitly define babel-jest-amcharts as a transformer for your JavaScript code, map .js files to the babel-jest module.

"transform": {
  "^.+\\.(js|jsx)$": "babel-jest-amcharts"
},

And exclude @amcharts files from being skipped for tarnsformation by jest.

"transformIgnorePatterns": [
  "[/\\\\]node_modules[/\\\\](?!(@amcharts)\\/).+\\.(js|jsx|ts|tsx)$"
],

Keywords

FAQs

Package last updated on 26 Jun 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc