@seedcss/seed-card
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@seedcss/seed-card", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Card component pack for Seed", | ||
@@ -35,14 +35,12 @@ "main": "index.js", | ||
], | ||
"engines": { | ||
"node": ">=4" | ||
}, | ||
"devDependencies": { | ||
"mkdirp": "^0.5.1", | ||
"node-sass": "^4.9.3" | ||
"node-sass": "^4.9.3", | ||
"sass-pathfinder": "^0.0.5" | ||
}, | ||
"dependencies": { | ||
"@seedcss/seed-border": "^0.0.6", | ||
"@seedcss/seed-breakpoints": "^0.0.6", | ||
"@seedcss/seed-dash": "^0.0.6", | ||
"@seedcss/seed-publish": "^0.0.6" | ||
"@seedcss/seed-border": "^0.0.7", | ||
"@seedcss/seed-breakpoints": "^0.0.7", | ||
"@seedcss/seed-dash": "^0.0.7", | ||
"@seedcss/seed-publish": "^0.0.7" | ||
}, | ||
@@ -56,5 +54,3 @@ "publishConfig": { | ||
}, | ||
"postversion": "npm run build", | ||
"prepack": "npm run build", | ||
"gitHead": "8bf23e91822b26218c812f2ea845a0f33773a62a" | ||
"gitHead": "0749da9715a0e19c23feb2570c6c88583a1fce02" | ||
} |
@@ -1,7 +0,9 @@ | ||
# seed-card [![Build Status](https://travis-ci.org/helpscout/seed-card.svg?branch=master)](https://travis-ci.org/helpscout/seed-card) [![npm version](https://badge.fury.io/js/%40seedcss%2Fseed-card.svg)](https://badge.fury.io/js/%40seedcss%2Fseed-card) [![Dependency Status](https://david-dm.org/helpscout/seed-card.svg)](https://david-dm.org/helpscout/seed-card) | ||
# seed-card | ||
Card component pack for [Seed](https://github.com/helpscout/seed)! | ||
[![npm version](https://badge.fury.io/js/%40seedcss%2Fseed-card.svg)](https://badge.fury.io/js/%40seedcss%2Fseed-card) | ||
> Card component pack for Seed | ||
## Install | ||
``` | ||
@@ -11,3 +13,2 @@ npm install @seedcss/seed-card --save | ||
## Documentation | ||
@@ -17,24 +18,30 @@ | ||
## 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-card'); | ||
const gulp = require("gulp"); | ||
const sass = require("gulp-sass"); | ||
const pathfinder = require("sass-pathfinder"); | ||
const pack = require("@seedcss/seed-card"); | ||
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-card* as needed in your `.scss` file: | ||
Once that is setup, simply `@import` **seed-card** as needed in your `.scss` file: | ||
@@ -46,11 +53,4 @@ ```scss | ||
## Usage | ||
```html | ||
<div class="c-card"> | ||
... | ||
</div> | ||
``` | ||
## Options | ||
@@ -61,2 +61,4 @@ | ||
```scss | ||
// Card :: Config | ||
// Dependencies | ||
@@ -79,2 +81,3 @@ @import "pack/seed-border/config"; | ||
) !default; | ||
``` | ||
``` |
@@ -14,3 +14,3 @@ var fs = require('fs'); | ||
var banner = ['/**', | ||
' * '+ pkg.name +' v'+ pkg.version + homepage(), | ||
' * '+ pkg.name + homepage(), | ||
' * '+ pkg.description, | ||
@@ -17,0 +17,0 @@ ' * Licensed under '+ pkg.license, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
78
15109
3
1
+ Added@seedcss/seed-border@0.0.7(transitive)
+ Added@seedcss/seed-breakpoints@0.0.7(transitive)
+ Added@seedcss/seed-dash@0.0.7(transitive)
+ Added@seedcss/seed-props@0.0.7(transitive)
+ Added@seedcss/seed-publish@0.0.7(transitive)
- Removed@seedcss/seed-border@0.0.6(transitive)
- Removed@seedcss/seed-breakpoints@0.0.6(transitive)
- Removed@seedcss/seed-dash@0.0.6(transitive)
- Removed@seedcss/seed-props@0.0.6(transitive)
- Removed@seedcss/seed-publish@0.0.6(transitive)
- Removedlodash.flattendeep@4.4.0(transitive)
- Removedlodash.uniq@4.5.0(transitive)
- Removedsass-pathfinder@0.0.5(transitive)
Updated@seedcss/seed-border@^0.0.7
Updated@seedcss/seed-dash@^0.0.7
Updated@seedcss/seed-publish@^0.0.7