seed-harvester0.1.5 • Public • Published
Automatically include seed pack dependencies for node-sass!
Table of Contents
- Basic Usage
- Including custom paths
npm install seed-harvester --save-dev
1. Set up harvester with Sass
This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:
var gulp = ;var sass = ;var harvester = ;gulp;
2. Add seed packs!
Add seed packs by using
npm install, example:
npm install seed-grid --save
seed-harvester was setup (step 1), it will automatically add
seed-grid into your includePaths for you.
Note: The seed pack must contain the keyword
Note 2: The seed pack must also be either a dependency or devDependency defined in your
package.json (installed with the
Including custom paths
You can also include additional paths by passing them as arguments to harvester. If we take the above
gulp example, it would look like this:
var gulp = ;var sass = ;var harvester = ;var includePaths =;gulp;
In the above example, harvester will include all applicable seed packs and resolve all the paths passed (this assumes they're valid paths to begin with).
Array | Default:
Pass along strings or arrays as arguments to harvester. This package works just like sass-pathfinder, except it magically finds and includes seed packs.
Many thanks to Alisdair for coming up with the name