New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

babel-preset-remax

Package Overview
Dependencies
Maintainers
3
Versions
486
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-remax

remax babel preset

  • 2.15.14
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
215
decreased by-30.19%
Maintainers
3
Weekly downloads
 
Created
Source

babel-preset-remax

Babel preset for remax app.

  yarn add babel-preset-remax --dev

Options

react

configure react preset. https://babeljs.io/docs/en/babel-preset-react

typescript

configure typescript preset. https://babeljs.io/docs/en/babel-preset-typescript

decorators

configure babel proposal decorators. https://babeljs.io/docs/en/babel-plugin-proposal-decorators

class-properties

configure babel proposal class properties. https://babeljs.io/docs/en/babel-plugin-proposal-class-properties

throw-if-namespace

configure react preset throwIfNamespace option. https://babeljs.io/docs/en/babel-preset-react#throwifnamespace

{
  presets: [
    [
      'remax',
      {
        react: {
          runtime: 'classic',
        },
        typescript: {
          allowNamespaces: true,
        },
        'class-properties': {
          loose: true,
        },
        decorators: {
          legacy: true,
        },
        'throw-if-namespace': false,
      },
    ],
  ];
}

FAQs

Package last updated on 20 May 2022

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