All Projects → babel → metalsmith-babel

babel / metalsmith-babel

Licence: ISC License
A Metalsmith plugin to compile JavaScript with Babel

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to metalsmith-babel

Mhy
🧩 A zero-config, out-of-the-box, multi-purpose toolbox and development environment
Stars: ✭ 128 (+573.68%)
Mutual labels:  babel, build
Lyo
📦 Node.js to browser - The easy way
Stars: ✭ 624 (+3184.21%)
Mutual labels:  babel, build
Backpack
🎒 Backpack is a minimalistic build system for Node.js projects.
Stars: ✭ 4,466 (+23405.26%)
Mutual labels:  babel, build
Klap
zero config, zero dependency bundler for tiny javascript packages
Stars: ✭ 143 (+652.63%)
Mutual labels:  babel, build
apibusinesshub-integration-recipes
Accelerate integration projects using SAP Cloud Platform Integration with crowdsourced best practices, curated by experts, designed for developers.
Stars: ✭ 43 (+126.32%)
Mutual labels:  integration
BruteSploit
BruteSploit is a collection of method for automated Generate, Bruteforce and Manipulation wordlist with interactive shell. That can be used during a penetration test to enumerate and maybe can be used in CTF for manipulation,combine,transform and permutation some words or file text :p
Stars: ✭ 26 (+36.84%)
Mutual labels:  transform
xMusicWeb
已停止维护/此项目的功能是将qq歌单转换为网易云歌单,基于flask
Stars: ✭ 30 (+57.89%)
Mutual labels:  transform
node-starter-kit
Node.js / GraphQL project template pre-configured with TypeScript, PostgreSQL, login flow, transactional emails, unit tests, CI/CD workflow.
Stars: ✭ 76 (+300%)
Mutual labels:  babel
build-status
Emacs minor mode that monitors and shows a buffer's build status in the mode line.
Stars: ✭ 26 (+36.84%)
Mutual labels:  build
babel-plugin-syntax-pipeline
Allow parsing of pipeline operator |>
Stars: ✭ 23 (+21.05%)
Mutual labels:  babel
build-size-watcher
Keep your bundle size in check and detect when it gets too big.
Stars: ✭ 16 (-15.79%)
Mutual labels:  build
Cake.Coverlet
Coverlet extensions for Cake Build
Stars: ✭ 39 (+105.26%)
Mutual labels:  build
react-enterprise-starter-kit
Highly Scalable Awesome React Starter Kit for an enterprise application with a very easy maintainable codebase. 🔥
Stars: ✭ 55 (+189.47%)
Mutual labels:  babel
array-mixer
Powerful, super tiny and easy to use lib to reorder your javascript arrays.
Stars: ✭ 32 (+68.42%)
Mutual labels:  babel
React-Native-Integration-with-existing-app
React Native Integration with existing app
Stars: ✭ 53 (+178.95%)
Mutual labels:  integration
babel-plugin-remove-test-ids
🐠 Babel plugin to strip `data-test-id` HTML attributes
Stars: ✭ 40 (+110.53%)
Mutual labels:  babel
fefe
Validate, sanitize and transform values with proper TypeScript types and zero dependencies.
Stars: ✭ 34 (+78.95%)
Mutual labels:  transform
docker-collector-logs
No description or website provided.
Stars: ✭ 13 (-31.58%)
Mutual labels:  integration
babel-collect-imports
Recursively collect all the internal and external dependencies from an entry point
Stars: ✭ 33 (+73.68%)
Mutual labels:  babel
eslint-config-satya164
An ESLint config with automatic overrides for common environments such as TypeScript, Jest etc.
Stars: ✭ 45 (+136.84%)
Mutual labels:  babel

metalsmith-babel

npm version Build Status Coverage Status

Babel plugin for Metalsmith

Installation

Use npm:

npm install metalsmith-babel

And ensure the requisite Babel plugins are installed.

Usage

CLI

Add the metalsmith-babel field to your metalsmith.json.

{
  "plugins": {
    "metalsmith-babel": {
      "presets": ["@babel/preset-env"]
    }
  }
}

API

const Metalsmith = require('metalsmith');
const babel = require('metalsmith-babel');

const babelOptions = {
  presets: ['env']
};

new Metalsmith('./source')
.use(babel(babelOptions))
.build((err, files) => {
  if (err) {
    throw err;
  }

  console.log('Completed.');
});

Options

All @babel/core options are available except for filename and filenameRelative that will be automatically set.

License

ISC License © 2017 - 2018 Shinnosuke Watanabe

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].