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

babel-env

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-env

Development environment for Babel.

  • 2.4.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
190
increased by74.31%
Maintainers
2
Weekly downloads
 
Created
Source

babel-env

The babel-env npm package can be used to set up a consistent environment for projects using Babel and running on node.js version 6 (at least).

npm install --save-dev babel-env

This will install all useful Babel packages and create a default .babelrc file in the project root. The .babelrc file will automatically be updated when updates of babel-env are installed.

See also babel-env-test for an example of how babel-env is used.

Prevent automatic .babelrc overwrite

If you do not want your .babelrc to be overwritten by babel-env, add a comment containing babel-env-disable, such as:

// babel-env-disable
{
  "presets": [
    "es2015"
  ],
  "plugins": [
    "transform-es3-property-literals",
    "transform-es3-member-expression-literals"
  ]
}

Keywords

FAQs

Package last updated on 02 May 2017

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