postcss-cli
Advanced tools
Comparing version 0.2.0 to 0.3.0
@@ -24,3 +24,3 @@ var argv = require("yargs") | ||
require('./node_modules/postcss/package.json').version | ||
].join(' ') | ||
].join(' '); | ||
}, 'v') | ||
@@ -27,0 +27,0 @@ .alias('v', 'version') |
{ | ||
"name": "postcss-cli", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "CLI for postcss", | ||
@@ -9,2 +9,5 @@ "main": "index.js", | ||
}, | ||
"scripts": { | ||
"test": "make" | ||
}, | ||
"repository": "https://github.com/code42day/postcss-cli.git", | ||
@@ -19,7 +22,8 @@ "keywords": [ | ||
"postcss": "^4.0.6", | ||
"yargs": "^3.5.3" | ||
"yargs": "pirxpilot/yargs#3.5.4-postcss-cli" | ||
}, | ||
"devDependencies": { | ||
"jshint": "^2.6.3" | ||
"jshint": "^2.6.3", | ||
"postcss-url": "^2.1.0" | ||
} | ||
} |
@@ -0,1 +1,5 @@ | ||
[![Build Status](https://img.shields.io/travis/code42day/postcss-cli.svg)](http://travis-ci.org/code42day/postcss-cli) | ||
[![Dependency Status](https://img.shields.io/gemnasium/code42day/postcss-cli.svg)](https://gemnasium.com/code42day/postcss-cli) | ||
[![NPM version](https://img.shields.io/npm/v/postcss-cli.svg)](http://badge.fury.io/js/postcss-cli) | ||
# postcss-cli | ||
@@ -36,2 +40,14 @@ | ||
JS configuration can be used if functions are allowed as plugins parameters: | ||
````js | ||
module.exports = { | ||
"postcss-url": { | ||
url: function(url) { return "http://example.com/" + url; } | ||
}, | ||
autoprefixer: { | ||
browsers: "> 5%" | ||
} | ||
}; | ||
```` | ||
Alternatively configuration options can be passed as `--plugin.option` parameters. | ||
@@ -38,0 +54,0 @@ |
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
GitHub dependency
Supply chain riskContains a dependency which resolves to a GitHub URL. Dependencies fetched from GitHub specifiers are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
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
79
4117
2
5
55
1
- Removedansi-regex@2.1.1(transitive)
- Removedcamelcase@2.1.1(transitive)
- Removedcliui@3.2.0(transitive)
- Removedcode-point-at@1.1.0(transitive)
- Removeddecamelize@1.2.0(transitive)
- Removedinvert-kv@1.0.0(transitive)
- Removedis-fullwidth-code-point@1.0.0(transitive)
- Removedlcid@1.0.0(transitive)
- Removednumber-is-nan@1.0.1(transitive)
- Removedos-locale@1.4.0(transitive)
- Removedstring-width@1.0.2(transitive)
- Removedstrip-ansi@3.0.1(transitive)
- Removedwindow-size@0.1.4(transitive)
- Removedwrap-ansi@2.1.0(transitive)
- Removedy18n@3.2.2(transitive)
- Removedyargs@3.32.0(transitive)