New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

babel-package-manager

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-package-manager

BPM: Babel Package Manager - Automagically install babel presets/plugins and save to both package.json and .eslintrc

latest
Source
npmnpm
Version
1.0.11
Version published
Maintainers
1
Created
Source

bpm - Babel Package Manager version

NPM

Automagically install babel presets/plugins and save to both package.json and .eslintrc

NEW! Support for Yarn 📦🐈

Installation

yarn global add babel-package-manager
-- or --
npm i -g babel-package-manager

alias bpm='babel-package-manager' #Add this to your .bash_profile, .bashrc, .zshrc, etc.

Usage

CLI

yarn global add babel-package-manager
-- or --
npm i -g babel-package-manager

alias bpm='babel-package-manager'
bpm install --presets latest stage-0 react
BABEL_RC=./configs/.babelrc bpm i --plugins transform-es2015-modules-umd --presets latest
YARN=false bpm i --plugins-transform class-properties --plugins-syntax flow
bpm un --presets es2015 --plugins-syntax flow

###API

see jsdoc

const bpm = require('babel-package-manager')
bpm({
  args: {
    plugins: ['transform-class-properties'],
    presets: ['latest', 'stage-0', 'react']
  },
  cmd: 'install'
}).then(
  () => console.log('success!')
).catch(
  () => console.log('fail!')
)

License

MIT - See LICENSE.md

Author

Ahmed Ghoneim ahmedghoneim92@gmail.com

More Badges 📛 Yaay!

Build Status

DL/M DL

License

Contributors

Dependencies Dev Dependencies

Issue Closure Pull Closure

Code Quality Coverage Status

Keywords

babel

FAQs

Package last updated on 23 Jan 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