postcss-normalize
Advanced tools
Comparing version 0.1.0 to 0.1.1
@@ -5,3 +5,4 @@ 'use strict'; | ||
fs = require('fs'), | ||
path = require('path'); | ||
path = require('path'), | ||
CleanCSS = require('clean-css'); | ||
@@ -12,2 +13,3 @@ module.exports = postcss.plugin('postcss-normalize', function () { | ||
var normalize = fs.readFileSync(path.join(__dirname, 'node_modules/normalize.css/normalize.css'), 'utf8'); | ||
normalize = new CleanCSS().minify(normalize).styles; | ||
@@ -14,0 +16,0 @@ css.prepend(normalize); |
{ | ||
"name": "postcss-normalize", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "PostCSS plugin that automatically applies normalize.css", | ||
@@ -29,2 +29,3 @@ "keywords": [ | ||
"dependencies": { | ||
"clean-css": "^3.3.9", | ||
"normalize.css": "^3.0.3", | ||
@@ -31,0 +32,0 @@ "postcss": "^4.1.9" |
# postcss-normalize | ||
[![NPM version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Dependency Status][daviddm-image]][daviddm-url] | ||
[PostCSS] plugin that that automatically applies normalize.css | ||
[PostCSS] plugin that that automatically applies the latest normalize.css | ||
@@ -6,0 +6,0 @@ ```css |
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
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
Trivial Package
Supply chain riskPackages less than 10 lines of code are easily copied into your own project and may not warrant the additional supply chain risk of an external dependency.
Found 1 instance in 1 package
3183
12
0
3
+ Addedclean-css@^3.3.9
+ Addedclean-css@3.4.28(transitive)
+ Addedcommander@2.8.1(transitive)
+ Addedgraceful-readlink@1.0.1(transitive)