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

@jitesoft/babel-preset-main

Package Overview
Dependencies
Maintainers
2
Versions
121
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jitesoft/babel-preset-main

Babel preset with configurations for jitesoft projects.

  • 1.2.3
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
93
increased by66.07%
Maintainers
2
Weekly downloads
 
Created
Source

@jitesoft/babel-preset-main

Main preset for Jitesoft javascript projects which uses babel.

Includes the following presets and plugins:

@babel/preset-env
@babel/plugin-syntax-dynamic-import
@babel/plugin-proposal-export-default-from
@babel/plugin-proposal-class-properties
@babel/plugin-proposal-decorators
@babel/plugin-proposal-nullish-coalescing-operator
@babel/plugin-proposal-object-rest-spread
@babel/plugin-proposal-optional-chaining
@babel/plugin-proposal-partial-application
@babel/plugin-proposal-private-methods
@babel/plugin-proposal-throw-expressions
@babel/plugin-transform-runtime

Requires corejs (2 or 3) and @babel/core.

Options

There are a few options to make it easier to work with the preset:

  • corejs - Sets the core-js version (or false if wanted) to use (defaults to 3).
  • modules - Enables or sets modules for preseet-env (defaults to auto).
  • exclude - Takes an array of plugins that should NOT be used (full plugin name including @babel) (defaults to []).
  • targets - Targets value for preset-env, if used mode will be ignored (defaults to undefined to enable mode).
  • mode - Flags build mode (web, node or undefined for default).
    • node will set the targets value to node >= 8.
    • web will set the targets value to > 0.25%, not dead.
    • undefined/default will set the targets value to > 0.25%, not dead, node >= 8.

Keywords

FAQs

Package last updated on 04 Jul 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