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

grunt-cli-babel

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-cli-babel

Grunt CLI wrapper around Babel

  • 0.0.3
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

grunt-cli-babel

npm version badge License

Grunt CLI wrapper around the Babel!

Getting Started

If you haven't used Grunt before, be sure to check out the Getting Started guide.

Example

import path from 'path';

export default grunt => {
	let clean = {
		test: [
			path.resolve('cache')
		]
	};

	grunt.initConfig({ clean });

	grunt.loadNpmTasks('grunt-contrib-clean');
	grunt.registerTask('test', ['clean']);
	grunt.registerTask('default', ['test']);
};

Yeah, you can write the Gruntfile using ECMAScript 6th edition!

Installation

There're two ways!

global

sudo npm install -g grunt-cli-babel
Usage
grunt clean
local

There's an alternative and more preferred way based on package.json.

{
	"private": true,

	"scripts": {
		"clean": "grunt clean"
	},

	"dependencies": {
		"grunt-contrib-clean": "^0.6.0",
		"grunt-cli-babel"    : "^0.0.2"
	}
}
Usage
npm run clean

See more details about npm run.

License

MIT

Task submitted by Alexander Abashkin

Keywords

FAQs

Package last updated on 30 Aug 2015

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