postcss-px-to-viewprot-fix
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"name": "postcss-px-to-viewprot-fix", | ||
"description": "A CSS post-processor that converts px to viewport units (vw, vh, vmin, vmax).", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"author": "ppokeman", | ||
"license": "MIT", | ||
"main": "index.js", | ||
"repository": { | ||
"url": "https://github.com/ppokemon/postcss-px-to-viewprot-fix" | ||
}, | ||
"scripts": { | ||
@@ -9,0 +12,0 @@ "test": "jasmine-node spec" |
@@ -14,2 +14,3 @@ # postcss-px-to-viewprot-fix | ||
## 简介 | ||
兼容postcss-modules版本, 提pr太慢了, 自用包. | ||
@@ -76,7 +77,7 @@ 如果你的样式需要做根据视口大小来调整宽度,这个脚本可以将你CSS中的px单位转化为vw,1vw等于1/100视口宽度。 | ||
``` | ||
$ npm install postcss-px-to-viewport --save-dev | ||
$ npm install postcss-px-to-viewprot-fix --save-dev | ||
``` | ||
或者使用yarn进行安装 | ||
``` | ||
$ yarn add -D postcss-px-to-viewport | ||
$ yarn add -D postcss-px-to-viewprot-fix -D | ||
``` | ||
@@ -137,3 +138,3 @@ | ||
var postcss = require('gulp-postcss'); | ||
var pxtoviewport = require('postcss-px-to-viewport'); | ||
var pxtoviewport = require('postcss-px-to-viewport-fix'); | ||
@@ -162,3 +163,3 @@ gulp.task('css', function () { | ||
... | ||
'postcss-px-to-viewport': { | ||
'postcss-px-to-viewprot-fix': { | ||
// options | ||
@@ -179,29 +180,2 @@ } | ||
$ npm run test | ||
``` | ||
## 参与贡献 | ||
在提PR之前,请先阅读 [代码指南](CODE-OF-CONDUCT.md) 和 [贡献指南](CONTRIBUTING.md) | ||
## 版本跟踪 | ||
使用 [SemVer](http://semver.org/) 做版本跟踪, 可用版本可在[这](https://github.com/evrone/postcss-px-to-viewport/tags)看到 | ||
## Changelog | ||
变更日志在 [这](CHANGELOG.md). | ||
## 作者 | ||
* [Dmitry Karpunin](https://github.com/KODerFunk) - *Initial work* | ||
* [Ivan Bunin](https://github.com/chernobelenkiy) | ||
在 [contributors](https://github.com/evrone/postcss-px-to-viewport/contributors) 里可以看到谁参与了本项目. | ||
## 许可 | ||
本项目使用 [MIT License](LICENSE). | ||
## 借鉴自 | ||
* 受 https://github.com/cuth/postcss-pxtorem/ 启发有了这个项目 | ||
``` |
@@ -75,7 +75,7 @@ # postcss-px-to-viewprot-fix | ||
``` | ||
$ npm install postcss-px-to-viewport --save-dev | ||
$ npm install postcss-px-to-viewport-fix --save-dev | ||
``` | ||
or yarn | ||
``` | ||
$ yarn add -D postcss-px-to-viewport | ||
$ yarn add -D postcss-px-to-viewport-fix -D | ||
``` | ||
@@ -136,3 +136,3 @@ | ||
var postcss = require('gulp-postcss'); | ||
var pxtoviewport = require('postcss-px-to-viewport'); | ||
var pxtoviewport = require('postcss-px-to-viewport-fix'); | ||
@@ -161,3 +161,3 @@ gulp.task('css', function () { | ||
... | ||
'postcss-px-to-viewport': { | ||
'postcss-px-to-viewport-fix': { | ||
// options | ||
@@ -178,29 +178,2 @@ } | ||
$ npm run test | ||
``` | ||
## Contributing | ||
Please read [Code of Conduct](CODE-OF-CONDUCT.md) and [Contributing Guidelines](CONTRIBUTING.md) for submitting pull requests to us. | ||
## Versioning | ||
We use [SemVer](http://semver.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/evrone/postcss-px-to-viewport/tags). | ||
## Changelog | ||
The changelog is [here](CHANGELOG.md). | ||
## Authors | ||
* [Dmitry Karpunin](https://github.com/KODerFunk) - *Initial work* | ||
* [Ivan Bunin](https://github.com/chernobelenkiy) | ||
See also the list of [contributors](https://github.com/evrone/postcss-px-to-viewport/contributors) who participated in this project. | ||
## License | ||
This project is licensed under the [MIT License](LICENSE). | ||
## Acknowledgments | ||
* Hat tip to https://github.com/cuth/postcss-pxtorem/ for inspiring us for this project. | ||
``` |
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
25905
175