@blackbox-vision/react-native-babel-preset
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

RN Babel Preset License: MIT

This Babel preset includes some nice defaults that we use at BlackBox Vision for building React Native Apps.

Install

You can install this library via NPM or YARN.

NPM

npm i @blackbox-vision/react-native-babel-preset

YARN

yarn add @blackbox-vision/react-native-babel-preset

Use case

At BlackBox Vision we aim to simplify and reduce the times we have to build and upgrade apps.

This library is a Babel preset that has nice defaults for presets and plugins. It includes:

  • react-native-paper/babel
  • babel-plugin-module-resolver
  • babel-plugin-transform-remove-console
  • metro-react-native-babel-preset

Usage

Without options

// babel.config.js
module.exports = {
-  presets: ["module:metro-react-native-babel-preset"],
+  presets: ["@blackbox-vision/react-native-babel-preset"],
};

With options

// babel.config.js
module.exports = {
-  presets: ["module:metro-react-native-babel-preset"],
+  presets: [["@blackbox-vision/react-native-babel-preset", {}]],
};

Issues

Please, open an issue following one of the issues templates. We will do our best to fix them.

Contributing

If you want to contribute to this project see contributing for more information.

License

Distributed under the MIT license. See LICENSE for more information.

Readme

Keywords

none

Package Sidebar

Install

npm i @blackbox-vision/react-native-babel-preset

Weekly Downloads

3

Version

0.0.1

License

MIT

Unpacked Size

6.02 kB

Total Files

10

Last publish

Collaborators

  • jonatansalas
  • manutuero