Socket
Socket
Sign inDemoInstall

grunt-rework

Package Overview
Dependencies
40
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    grunt-rework

work on your css files with rework


Version published
Weekly downloads
4
decreased by-87.5%
Maintainers
1
Install size
969 kB
Created
Weekly downloads
 

Readme

Source

grunt-rework v0.1.0 build status

rework your css files with Grunt.

Getting Started

First, setup your project with grunt.

Then, install the grunt-rework plugin:

npm install --save-dev grunt-rework

Add this line to your Gruntfile:

grunt.loadNpmTasks('grunt-rework');

Then specify what files to rework in your Grunt config:

var rework_import = require('rework-import');

grunt.initConfig({
  rework: {
    'dest/index.css': 'src/index.css',
    options: {
      toString: {compress: true},
      use: [
        rework_import
      ]
    },
    prod: {
      options: {
        toString: {
          compress: true
        }
      },
      files: {
       'dest/index.css': 'src/index.css',
      }
    }
  }
});

rework task

Options
use

Type: Array Default: []

An array of rework plugin functions to use.

toString

Type: Object Default: {}

Options to pass to rework's toString method.

Release History

  • 0.1.0 Update to rework 1.0, remove vendors option, remove support for built-in rework plugin
  • 0.0.5 Update rework version
  • 0.0.3 New use syntax
  • 0.0.2 Allow use of rework or own functions
  • 0.0.1 First Release

License

Copyright (c) 2013 Jean-Sébastien Ney Licensed under the MIT license.

Keywords

FAQs

Last updated on 21 Jun 2014

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc