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

@build-chores/babel-preset

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@build-chores/babel-preset

Transpiling JS projects is complicated.

  • 0.9.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
increased by66.67%
Maintainers
1
Weekly downloads
 
Created
Source

@build-chores/babel-preset

Transpiling JS projects is complicated.

Synopsis

License: GPL v3 npm version Build Status

Transpile Javascript to be compatible with Node 8.

Usage

Install the @build-chores/babel-preset package into your project:

yarn install --dev @build-chores/babel-preset

Create a .babelrc file containing the following snippet:

{
  "presets": [["@build-chores/babel-preset"]]
}

See the example .babelrc for a template.

Edit your package.json to include the following script. See the example package.json for a template.

{
  "scripts": {
    "compile": "babel -d dist src"
  }
}

You are ready to transpile your JavaScript code.

Contribute

Check out our contributing.md to get started.

License

FAQs

Package last updated on 26 Feb 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