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

@seedcss/seed-publish

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@seedcss/seed-publish - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

12

package.json
{
"name": "@seedcss/seed-publish",
"version": "0.0.6",
"version": "0.0.7",
"description": "Mixins that manage rendered CSS from modular importing",

@@ -40,9 +40,7 @@ "main": "index.js",

],
"engines": {
"node": ">=4"
},
"devDependencies": {
"mkdirp": "^0.5.1",
"node-sass": "^4.9.3",
"seed-bistro": "^0.2.0"
"sass-pathfinder": "^0.0.5",
"seed-bistro": "^0.2.1"
},

@@ -53,5 +51,3 @@ "publishConfig": {

"prepublish": "npm run build",
"postversion": "npm run build",
"prepack": "npm run build",
"gitHead": "8bf23e91822b26218c812f2ea845a0f33773a62a"
"gitHead": "0749da9715a0e19c23feb2570c6c88583a1fce02"
}

@@ -1,6 +0,9 @@

# seed-publish [![Build Status](https://travis-ci.org/helpscout/seed-publish.svg?branch=master)](https://travis-ci.org/helpscout/seed-publish) [![npm version](https://badge.fury.io/js/%40seedcss%2Fseed-publish.svg)](https://badge.fury.io/js/%40seedcss%2Fseed-publish)
# seed-publish
Mixins that manage rendered CSS from modular importing
[![npm version](https://badge.fury.io/js/%40seedcss%2Fseed-publish.svg)](https://badge.fury.io/js/%40seedcss%2Fseed-publish)
> Mixins that manage rendered CSS from modular importing
## Install
```

@@ -14,24 +17,30 @@ npm install @seedcss/seed-publish --save

## Basic Usage
### SCSS
This seed pack needs to be imported into your sass pipeline. Below is an example using Gulp:
```javascript
var gulp = require('gulp');
var sass = require('gulp-sass');
var pack = require('seed-publish');
const gulp = require("gulp");
const sass = require("gulp-sass");
const pathfinder = require("sass-pathfinder");
const pack = require("@seedcss/seed-publish");
gulp.task('sass', function () {
return gulp.src('./sass/**/*.scss')
.pipe(sass({
includePaths: pack
}))
.pipe(gulp.dest('./css'));
gulp.task("sass", function() {
return gulp
.src("./sass/**/*.scss")
.pipe(
sass({
includePaths: pathfinder(
// Other includePaths...
pack
)
})
)
.pipe(gulp.dest("./css"));
});
```
Once that is setup, simply `@import` *seed-publish* as needed in your `.scss` file:
Once that is setup, simply `@import` **seed-publish** as needed in your `.scss` file:

@@ -42,1 +51,19 @@ ```scss

```
## Options
The following variables can be found in `_config.scss`
```scss
// publish :: Config
// Global namespace
@if not variable-exists(__seed-publish-list) {
$__seed-publish-list: (
seed-publish: true
) !global;
}
```
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