All Projects → babel → Grunt Babel

babel / Grunt Babel

Licence: mit
Grunt plugin for Babel

Programming Languages

javascript
184084 projects - #8 most used programming language

Labels

Projects that are alternatives of or similar to Grunt Babel

Js Library Boilerplate Basic
Javascript Minimal Starter Boilerplate - Webpack 5 🚀, Babel 7, UMD, Unit Testing
Stars: ✭ 354 (-18.06%)
Mutual labels:  babel
Generator Babel Boilerplate
A Yeoman generator to author libraries in ES2015 (and beyond!) for Node and the browser.
Stars: ✭ 380 (-12.04%)
Mutual labels:  babel
Proposals
✍️ Tracking the status of Babel's implementation of TC39 proposals (may be out of date)
Stars: ✭ 401 (-7.18%)
Mutual labels:  babel
Webpack React Boilerplate
Minimal React 16 and Webpack 4 boilerplate with babel 7, using the new webpack-dev-server, react-hot-loader, CSS-Modules
Stars: ✭ 358 (-17.13%)
Mutual labels:  babel
Webbf
Java Web工程demo 后端:spring + spring mvc + mybatis + maven,涉及定时任务quartz、ehcache缓存、RESTful API、邮件发送... 前端:react + reflux + webpack,涉及ES6、jquery、react-router、ant design等内容, 提供下思路,仅供参考。
Stars: ✭ 367 (-15.05%)
Mutual labels:  babel
I18nize React
Internationalize react apps within a lunch break
Stars: ✭ 389 (-9.95%)
Mutual labels:  babel
Server Side Rendering
Interactive guide to server-side rendering with Webpack, React, React Transmit, CSS modules and more
Stars: ✭ 352 (-18.52%)
Mutual labels:  babel
Awesome Babel Macros
A collection of awesome babel macros and related resources
Stars: ✭ 413 (-4.4%)
Mutual labels:  babel
Ava
Node.js test runner that lets you develop with confidence 🚀
Stars: ✭ 19,458 (+4404.17%)
Mutual labels:  babel
Astexplorer
A web tool to explore the ASTs generated by various parsers.
Stars: ✭ 4,330 (+902.31%)
Mutual labels:  babel
Nod
Node.js module generator/boilerplate with Babel, Jest, Flow, Documentation and more
Stars: ✭ 355 (-17.82%)
Mutual labels:  babel
Wxapp Boilerplate
使用 webpack, babel, scss 开发的微信/支付宝小程序项目脚手架
Stars: ✭ 367 (-15.05%)
Mutual labels:  babel
Pingy Cli
The Simple Frontend Build Tool. No Configuration, No Plugins.
Stars: ✭ 390 (-9.72%)
Mutual labels:  babel
Express Starter
🚚 A boilerplate for Node.js, Express, Mongoose, Heroku, Atlas, Nodemon, PM2, and Babel. REST / GraphQL API Server | PaaS | SaaS | CI/CD | Jest | Supertest | Docker | MongoDB | PostgreSQL | Sequelize | Lodash | RxJS | JWT | Passport | WebSocket | Redis | CircleCI | Apollo | DevSecOps | Microservices | Backend Starter Kit | ES6
Stars: ✭ 353 (-18.29%)
Mutual labels:  babel
Sku
Front-end development toolkit
Stars: ✭ 403 (-6.71%)
Mutual labels:  babel
Pwa
An opinionated progressive web app boilerplate
Stars: ✭ 353 (-18.29%)
Mutual labels:  babel
Twin.macro
🦹‍♂️ Twin blends the magic of Tailwind with the flexibility of css-in-js (emotion, styled-components, stitches and goober) at build time.
Stars: ✭ 5,137 (+1089.12%)
Mutual labels:  babel
Faster.js
faster.js is a Babel plugin that compiles idiomatic Javascript to faster, micro-optimized Javascript.
Stars: ✭ 429 (-0.69%)
Mutual labels:  babel
Webpack Boilerplate
A minimal webpack 5 boilerplate with only Babel, SASS and lodash (optional) on board
Stars: ✭ 404 (-6.48%)
Mutual labels:  babel
Eslint Plugin Babel
An ESlint rule plugin companion to babel-eslint
Stars: ✭ 391 (-9.49%)
Mutual labels:  babel

This readme is for grunt-babel v8 + Babel v7 Check the 7.x branch for docs with Babel v6

grunt-babel Build Status

Use next generation JavaScript, today, with Babel

Issues with the output should be reported on the Babel issue tracker.

Install

For Babel 7.x and grunt-babel v8

$ yarn add --dev grunt-babel @babel/core @babel/preset-env

For Babel 6.x and grunt-babel v7

$ yarn add --dev [email protected] babel-core babel-preset-env

Note: See the 7.x branch for more examples of usage of Babel 6.x. This README is primarily applicable for Babel 7.x

Usage

Option with load-grunt-tasks

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks

grunt.initConfig({
  babel: {
    options: {
      sourceMap: true,
      presets: ['@babel/preset-env']
    },
    dist: {
      files: {
        'dist/app.js': 'src/app.js'
      }
    }
  }
});

grunt.registerTask('default', ['babel']);

Option with loadNpmTasks

grunt.initConfig({
  babel: {
    options: {
      sourceMap: true,
      presets: ['@babel/preset-env']
    },
    dist: {
      files: {
        'dist/app.js': 'src/app.js'
      }
    }
  }
});

grunt.loadNpmTasks('grunt-babel');

grunt.registerTask('default', ['babel']);

Options

See the Babel options, except for filename which is handled for you.

License

MIT © Sindre Sorhus

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].