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

grunt-contrib

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

grunt-contrib

A collection of common grunt tasks.

  • 0.0.7
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
103
increased by22.62%
Maintainers
1
Weekly downloads
 
Created
Source

grunt-contrib

A collection of general use grunt tasks (currently in alpha).

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-contrib

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-contrib');

Included Tasks

clean

Clear files and folders.

coffee

Compile CoffeeScript files into JavaScript.

handlebars

Compile handlebars templates to JST file.

jade

Compile Jade templates to HTML.

jst

Compile underscore templates to JST file.

less

Compile LESS files to CSS.

mincss

Minify CSS files.

requirejs

Optimize RequireJS projects using r.js.

stylus

Compile Stylus files into CSS.

zip

Zip files and folders.

Included Helpers

options

Unified options retrieval

Contributing

Configuration

In order to ensure a consistent configuration style, task submissions should retreive their optional parameters with the included grunt helper, options.

Testing

Tests must be included with your submission. New tasks can be added to the config in test/grunt.js, please see existing tests for guidance. Currently, testing with grunt is a bit cumbersome--this will be addressed in a future release.

Running Tests
npm install grunt -g
npm install
npm test

Release History

  • (Until v1.0.0, this will only be updated when major or breaking changes are made)*

  • 2012/06/12 - v0.0.7 - Add RequireJS task.

  • 2012/06/03 - v0.0.5 - Cleanup release with zip task addition.

  • 2012/05/01 - v0.0.1 - Alpha release.

License

Copyright (c) 2012 "Cowboy" Ben Alman & contributors. Licensed under the MIT license.

Keywords

FAQs

Package last updated on 12 Jun 2012

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