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

@invertase/babel-preset-react-native-syntax

Package Overview
Dependencies
Maintainers
2
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@invertase/babel-preset-react-native-syntax

Babel Preset React Native Syntax

  • 0.1.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
532
decreased by-27.52%
Maintainers
2
Weekly downloads
 
Created
Source


Babel Preset React Native Syntax

NPM downloads NPM version License Chat Follow on Twitter

This preset includes the latest syntax plugins as specified in babel-preset-react-native.

Latest supported React Native version: ^0.56.0

Latest supported Metro version: ^0.45.0

Latest supported Babel version: ^7.0.0


npm i @invertase/babel-preset-react-native-syntax


This is useful for React Native libraries that want to use Babel plugins that may not be supported by React Native's default preset.

Additionally this allows editing/viewing library source from within node_modules (useful for debugging) as there's no transformation of library code (unless you add any additional transform plugins).

Example Usage:

{
  "presets": ["@invertase/react-native-syntax"],
  "plugins": [
    "transform-flow-strip-types",
    "transform-decorators-legacy"
  ]
}

Credits

FAQs

Package last updated on 03 Sep 2018

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