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

@smpx/babel-changed

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@smpx/babel-changed

Only compile changed files with babel

  • 0.2.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
68
decreased by-21.84%
Maintainers
2
Weekly downloads
 
Created
Source

babel-changed

A command line tool that only compiles changed files with babel.

Install

Globally: npm install -g @smpx/babel-changed Or locally: npm install @smpx/babel-changed --only=dev

Use

Default source directory is src and default out directory is dist

babel-changed
See Options & Help
bebel-changed -h
Usage: babel-changed [options]

Options:
  -V, --version                output the version number
  -s, --src [dir]              Specify Source Directory (default: "src")
  -d, --dest [dir]             Specify Destination Directory (default: "dist")
  -f, --file-glob [pattern]    Glob pattern to match files in source directory (default: "**/*.*")
  -i, --ignore-glob [pattern]  Glob pattern to match files to ignore (default: "")
  -m, --source-maps [boolean]  Enable source maps (default: true)
  -c, --copy [boolean]         Copy files other than .js files (default: true)
  -h, --help                   output usage information
Using with options

If your source directory is source destination directory is out then use

babel-changed -s source -d out

Keywords

FAQs

Package last updated on 30 Jul 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