|
Last change
on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 11 days ago |
|
Fix frontend appearance
|
-
Property mode
set to
100644
|
|
File size:
2.0 KB
|
| Line | |
|---|
| 1 | {
|
|---|
| 2 | "name": "postcss-minify-gradients",
|
|---|
| 3 | "version": "5.1.1",
|
|---|
| 4 | "description": "Minify gradient parameters with PostCSS.",
|
|---|
| 5 | "main": "src/index.js",
|
|---|
| 6 | "types": "types/index.d.ts",
|
|---|
| 7 | "files": [
|
|---|
| 8 | "LICENSE-MIT",
|
|---|
| 9 | "src",
|
|---|
| 10 | "types"
|
|---|
| 11 | ],
|
|---|
| 12 | "keywords": [
|
|---|
| 13 | "css",
|
|---|
| 14 | "postcss",
|
|---|
| 15 | "postcss-plugin"
|
|---|
| 16 | ],
|
|---|
| 17 | "license": "MIT",
|
|---|
| 18 | "homepage": "https://github.com/cssnano/cssnano",
|
|---|
| 19 | "author": {
|
|---|
| 20 | "name": "Ben Briggs",
|
|---|
| 21 | "email": "beneb.info@gmail.com",
|
|---|
| 22 | "url": "http://beneb.info"
|
|---|
| 23 | },
|
|---|
| 24 | "repository": "cssnano/cssnano",
|
|---|
| 25 | "dependencies": {
|
|---|
| 26 | "colord": "^2.9.1",
|
|---|
| 27 | "cssnano-utils": "^3.1.0",
|
|---|
| 28 | "postcss-value-parser": "^4.2.0"
|
|---|
| 29 | },
|
|---|
| 30 | "bugs": {
|
|---|
| 31 | "url": "https://github.com/cssnano/cssnano/issues"
|
|---|
| 32 | },
|
|---|
| 33 | "engines": {
|
|---|
| 34 | "node": "^10 || ^12 || >=14.0"
|
|---|
| 35 | },
|
|---|
| 36 | "devDependencies": {
|
|---|
| 37 | "postcss": "^8.2.15"
|
|---|
| 38 | },
|
|---|
| 39 | "peerDependencies": {
|
|---|
| 40 | "postcss": "^8.2.15"
|
|---|
| 41 | },
|
|---|
| 42 | "readme": "# [postcss][postcss]-minify-gradients\n\n> Minify gradient parameters with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-minify-gradients) do:\n\n```\nnpm install postcss-minify-gradients\n```\n\n\n## Example\n\nWhere possible, this module will minify gradient parameters. It can convert\nlinear gradient directional syntax to angles, remove the unnecessary `0%` and\n`100%` start and end values, and minimise color stops that use the same length\nvalues (the browser will adjust the value automatically).\n\n### Input\n\n```css\nh1 {\n background: linear-gradient(to bottom, #ffe500 0%, #ffe500 50%, #121 50%, #121 100%)\n}\n```\n\n### Output\n\n```css\nh1 {\n background: linear-gradient(180deg, #ffe500, #ffe500 50%, #121 0, #121)\n}\n```\n\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n\n## Contributors\n\nSee [CONTRIBUTORS.md](https://github.com/cssnano/cssnano/blob/master/CONTRIBUTORS.md).\n\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[postcss]: https://github.com/postcss/postcss\n"
|
|---|
| 43 | } |
|---|
Note:
See
TracBrowser
for help on using the repository browser.