Socket
Socket
Sign inDemoInstall

@krakenjs/babel-config-grumbler

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@krakenjs/babel-config-grumbler

Babel scripts for grumbler modules


Version published
Weekly downloads
546
increased by370.69%
Maintainers
7
Weekly downloads
 
Created
Source

@krakenjs/babel-config-grumbler

Installation

npm install -D @krakenjs/babel-config-grumbler

Usage

  1. Create a .babelrc file at the root of your package.

  2. Identify the type of babel config to use: node or browser.

3a. For node packages add the following contents to your .babelrc:

```json
{
    "extends": "@krakenjs/babel-config-grumbler/babelrc-node"
}
```

3b. For browser packages add the following contents to your .babelrc:

```json
{
    "extends": "@krakenjs/babel-config-grumbler/babelrc-browser"
}
```

4. Ensure you have a browserlist configuration in your package.json

  "browserslist": [
    "IE >= 9",
    "chrome >= 27",
    "firefox >= 30",
    "safari >= 5",
    "opera >= 23"
],

Keywords

FAQs

Package last updated on 07 May 2024

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