# grunt-stylus-base-files

> Substitute base stylus files to stylus tasks

Latest version **0.2.0** (published 2014-11-20) · MIT license · 0 weekly downloads

## Install

```sh
npm install grunt-stylus-base-files
pnpm add grunt-stylus-base-files
yarn add grunt-stylus-base-files
bun add grunt-stylus-base-files
```

## 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.2.0 |
| Published | 2014-11-20 |
| First published | 2014-11-11 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >= 0.8.0 |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Boris Gorbylev |
| Maintainers | ekho |
| Keywords | gruntplugin, javascript, js, stylus, dependencies, dependency, basefiles |

## Links

- npm: https://www.npmjs.com/package/grunt-stylus-base-files
- Repository: https://github.com/bankiru/grunt-stylus-base-files
- Issues: https://github.com/bankiru/grunt-stylus-base-files/issues
- npm.io page: https://npm.io/package/grunt-stylus-base-files

## Alternatives

- [@mapbox/jsonlint-lines-primitives](https://npm.io/package/@mapbox/jsonlint-lines-primitives.md) — 5.3M weekly downloads
- [reftools](https://npm.io/package/reftools.md) — 3.5M weekly downloads
- [@hey-api/openapi-ts](https://npm.io/package/@hey-api/openapi-ts.md) — 3.5M weekly downloads
- [@mapbox/geojson-rewind](https://npm.io/package/@mapbox/geojson-rewind.md) — 2.4M weekly downloads
- [turbo-stream](https://npm.io/package/turbo-stream.md) — 1.7M weekly downloads

## Recent versions

- 0.2.0 (latest) — 2014-11-20
- 0.1.6 — 2014-11-14
- 0.1.5 — 2014-11-14
- 0.1.4 — 2014-11-12
- 0.1.3 — 2014-11-12
- 0.1.2 — 2014-11-11
- 0.1.1 — 2014-11-11
- 0.1.0 — 2014-11-11

## README

# grunt-stylus-base-files

> stylus-base-files is a node module for substituting list of base Stylus files to stylus tasks. Used mostly for grunt-contrib-stylus.

## Getting Started
This plugin requires Grunt `~0.4.1`

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-stylus-base-files --save-dev
```

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

```js
grunt.loadNpmTasks('grunt-stylus-base-files');
```

## The "stylusbasefiles" task

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

```js
grunt.initConfig({
  stylusbasefiles: {
    development: {
      options: {
        paths: []
      },
      files: {
        src: '**/*.styl'
      }
    },
  },
  stylus: {
    development: {
      files: [{
        expand: true,
        src: '<%= stylusbasefiles.development.dest %>',
        ext: '.css'
      }]
    },
  },
})
```
Then you should add task `stylusbasefiles` into task chain before `stylus` task. For example:

```js
grunt.registerTask('default', ['stylusbasefiles:development', 'stylus:development']);
```

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