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

babel-preset-scc

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-scc

Yet another babel preset for Sequoia Capital China.

  • 0.1.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

babel-preset-scc

Yet another babel preset.

Options

targets

  • Support a target option "node": "current" to compile for the currently running node version.

  • Support a browsers option like autoprefixer. Use Browserslist.

e.g.

["@babel/preset-scc", {
  "targets": {
    "browsers": ['last 2 versions']
  }
}]

or

["umi", {
  "targets": {
    "node": "8"
  }
}]

disableTransform

boolean, defaults to false`.

react

boolean, defaults to false`.

debug

boolean, defaults to false`.

Outputs the targets/plugins used and the version specified in plugin data version to console.log.

useBuiltIns

"usage" | "entry" | false, defaults to false.

A way to apply @babel/preset-env for polyfills (via @babel/polyfill).

antd

boolean, defaults to false`.

(c) 2018 Sequoia Capital.

FAQs

Package last updated on 26 Mar 2018

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