motion
Version:
motion - moving development forward
74 lines (73 loc) • 3.89 kB
JSON
{
"_args": [
[
"postcss-merge-rules@https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.0.3.tgz",
"/Users/nw/flint/packages/flint"
]
],
"_from": "postcss-merge-rules@>=2.0.1 <3.0.0",
"_id": "postcss-merge-rules@2.0.3",
"_inCache": true,
"_location": "/postcss-merge-rules",
"_phantomChildren": {},
"_requested": {
"name": "postcss-merge-rules",
"raw": "postcss-merge-rules@https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.0.3.tgz",
"rawSpec": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.0.3.tgz",
"scope": null,
"spec": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.0.3.tgz",
"type": "remote"
},
"_requiredBy": [
"/cssnano"
],
"_resolved": "https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.0.3.tgz",
"_shasum": "92eff7efb5a13029853ebb4aa3309be525f319e6",
"_shrinkwrap": null,
"_spec": "postcss-merge-rules@https://registry.npmjs.org/postcss-merge-rules/-/postcss-merge-rules-2.0.3.tgz",
"_where": "/Users/nw/flint/packages/flint",
"author": {
"email": "beneb.info@gmail.com",
"name": "Ben Briggs",
"url": "http://beneb.info"
},
"bugs": {
"url": "https://github.com/ben-eb/postcss-merge-rules/issues"
},
"dependencies": {
"postcss": "^5.0.4"
},
"description": "Merge CSS rules with PostCSS.",
"devDependencies": {
"babel": "^5.8.23",
"babel-tape-runner": "1.2.0",
"tap-spec": "^4.1.0",
"tape": "^4.2.0"
},
"files": [
"LICENSE-MIT",
"dist"
],
"homepage": "https://github.com/ben-eb/postcss-merge-rules",
"keywords": [
"css",
"optimise",
"postcss",
"postcss-plugin"
],
"license": "MIT",
"main": "dist/index.js",
"name": "postcss-merge-rules",
"optionalDependencies": {},
"readme": "# [postcss][postcss]-merge-rules [][ci] [][npm] [][deps]\n\n> Merge CSS rules with PostCSS.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-merge-rules) do:\n\n```\nnpm install postcss-merge-rules --save\n```\n\n## Examples\n\nThis module will attempt to merge *adjacent* CSS rules:\n\n### By declarations\n\n#### Input\n\n```css\na {\n color: blue;\n font-weight: bold\n}\n\np {\n color: blue;\n font-weight: bold\n}\n```\n\n#### Output\n\n```css\na,p {\n color: blue;\n font-weight: bold\n}\n```\n\n### By selectors\n\n#### Input\n\n```css\na {\n color: blue\n}\n\na {\n font-weight: bold\n}\n```\n\n#### Output\n\n```css\na {\n color: blue;\n font-weight: bold\n}\n```\n\n### By partial declarations\n\n#### Input\n\n```css\na {\n font-weight: bold\n}\n\np {\n color: blue;\n font-weight: bold\n}\n```\n\n#### Output\n\n```css\na,p {\n font-weight: bold\n}\n\np {\n color: blue\n}\n```\n\n## Usage\n\nSee the [PostCSS documentation](https://github.com/postcss/postcss#usage) for\nexamples for your environment.\n\n## Contributing\n\nPull requests are welcome. If you add functionality, then please add unit tests\nto cover it.\n\n## License\n\nMIT © [Ben Briggs](http://beneb.info)\n\n[ci]: https://travis-ci.org/ben-eb/postcss-merge-rules\n[deps]: https://gemnasium.com/ben-eb/postcss-merge-rules\n[npm]: http://badge.fury.io/js/postcss-merge-rules\n[postcss]: https://github.com/postcss/postcss\n",
"readmeFilename": "README.md",
"repository": {
"type": "git",
"url": "git+https://github.com/ben-eb/postcss-merge-rules.git"
},
"scripts": {
"prepublish": "babel src --out-dir dist --ignore /__tests__/",
"test": "babel-tape-runner \"src/**/__tests__/*.js\" | tap-spec"
},
"version": "2.0.3"
}