Nascent Personality Manifestation
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

This package has been deprecated

Author message:

Renamed to grunt-babel

grunt-6to5

3.0.1 • Public • Published

grunt-6to5 Build Status

Turn ES6 code into vanilla ES5 with no runtime required using 6to5

Issues with the output should be reported on the 6to5 issue tracker.

Install

$ npm install --save-dev grunt-6to5

Usage

require('load-grunt-tasks')(grunt); // npm install --save-dev load-grunt-tasks
 
grunt.initConfig({
    '6to5': {
        options: {
            sourceMap: true
        },
        dist: {
            files: {
                'dist/app.js': 'src/app.js'
            }
        }
    }
});
 
grunt.registerTask('default', ['6to5']);

Options

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

License

MIT © Sindre Sorhus

install

npm i grunt-6to5

Downloadsweekly downloads

14

version

3.0.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar