# grunt-provecss

> grunt plugin for provecss

Latest version **0.5.0** (published 2014-05-09) · 0 weekly downloads

## Install

```sh
npm install grunt-provecss
pnpm add grunt-provecss
yarn add grunt-provecss
bun add grunt-provecss
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.5.0 |
| Published | 2014-05-09 |
| First published | 2014-05-05 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Fred Lin |
| Maintainers | gasolin |
| Keywords | gruntplugin, provecss, css, rework |

## Links

- npm: https://www.npmjs.com/package/grunt-provecss
- Repository: https://github.com/gasolin/grunt-provecss
- Issues: https://github.com/gasolin/grunt-provecss/issues
- npm.io page: https://npm.io/package/grunt-provecss

## Dependencies (2)

- [provecss](https://npm.io/package/provecss.md) ~0.5.0
- [each-async](https://npm.io/package/each-async.md) ~0.1.1

## Alternatives

- [style-dictionary](https://npm.io/package/style-dictionary.md) — 2.0M weekly downloads
- [postcss-merge-idents](https://npm.io/package/postcss-merge-idents.md) — 1.7M weekly downloads
- [@fontsource/noto-sans](https://npm.io/package/@fontsource/noto-sans.md) — 93.0K weekly downloads
- [uglifycss](https://npm.io/package/uglifycss.md) — 71.6K weekly downloads
- [mat4-interpolate](https://npm.io/package/mat4-interpolate.md) — 23.3K weekly downloads

## Recent versions

- 0.5.0 (latest) — 2014-05-09
- 0.4.1 — 2014-05-05
- 0.4.0 — 2014-05-05
- 0.3.0 — 2014-05-05

## README

# grunt-provecss
[![Build Status](https://travis-ci.org/gasolin/grunt-provecss.svg)](https://travis-ci.org/gasolin/grunt-provecss) [![Dependency Status](https://david-dm.org/gasolin/grunt-provecss.svg)](https://david-dm.org/gasolin/grunt-provecss)

> grunt plugin for [provecss](https://github.com/gasolin/provecss)

## Getting Started
This plugin requires Grunt.

If you haven't used [Grunt](http://gruntjs.com/) before, be sure to check out the [Getting Started](http://gruntjs.com/getting-started) guide, as it explains how to create a [Gruntfile](http://gruntjs.com/sample-gruntfile) as well as install and use Grunt plugins. Once you're familiar with that process, you may install this plugin with this command:

```shell
npm install grunt-provecss --save-dev
```

Once the plugin has been installed, it may be enabled inside your Gruntfile with this line of JavaScript:

```js
grunt.loadNpmTasks('grunt-provecss');
```

## The "provecss" task

### Overview
In your project's Gruntfile, add a section named `provecss` to the data object passed into `grunt.initConfig()`.

```js
grunt.initConfig({
  provecss: {
    options: {
      // Task-specific options go here.
    },
    your_target: {
      // Target-specific file lists and/or options go here.
      files: { 'dest': 'src'}
    },
  },
})
```

### Options

#### options.files
Type: `Dictionary`

A key/value pair that is used to define the source file and generated file destination.

### Usage Examples

#### Default Options
In this example, the default options are used to do something with whatever. So if the `testing` file has the content `Testing` and the `123` file had the content `1 2 3`, the generated result would be `Testing, 1 2 3.`

```js
grunt.initConfig({
  provecss: {
    options: {},
    files: {
      'dest/calc.out.css': 'src/calc.css'
    },
  },
})
```

#### Custom Options
In this example, You can pass any provecss options in `options` section.

```js
grunt.initConfig({
  provecss: {
    options: {
      vars: true
    },
    files: {
      'dest/vars.out.css': 'src/vars.css'
    },
  },
})
```

## Contributing
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [Grunt](http://gruntjs.com/).

## Release History
0.3.0 first release

## License
Copyright (c) 2014 Fred Lin(gasolin). Licensed under the MIT license.

---
_Source: https://npm.io/package/grunt-provecss · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
