UNPKG

motion

Version:

motion - moving development forward

73 lines (72 loc) 3.86 kB
{ "_args": [ [ "postcss-merge-idents@https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.4.tgz", "/Users/nw/flint/packages/flint" ] ], "_from": "postcss-merge-idents@>=2.1.3 <3.0.0", "_id": "postcss-merge-idents@2.1.4", "_inCache": true, "_location": "/postcss-merge-idents", "_phantomChildren": {}, "_requested": { "name": "postcss-merge-idents", "raw": "postcss-merge-idents@https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.4.tgz", "rawSpec": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.4.tgz", "scope": null, "spec": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.4.tgz", "type": "remote" }, "_requiredBy": [ "/cssnano" ], "_resolved": "https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.4.tgz", "_shasum": "270d1e9eae275f107a7ba76da130374de32d7ac1", "_shrinkwrap": null, "_spec": "postcss-merge-idents@https://registry.npmjs.org/postcss-merge-idents/-/postcss-merge-idents-2.1.4.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-idents/issues" }, "dependencies": { "has-own": "^1.0.0", "postcss": "^5.0.10", "postcss-value-parser": "^3.1.1" }, "description": "Merge keyframe and counter style identifiers.", "devDependencies": { "tap-spec": "^4.1.0", "tape": "^4.2.2" }, "files": [ "LICENSE-MIT", "index.js" ], "homepage": "https://github.com/ben-eb/postcss-merge-idents", "keywords": [ "css", "merge", "postcss", "postcss-plugin" ], "license": "MIT", "main": "index.js", "name": "postcss-merge-idents", "optionalDependencies": {}, "readme": "# [postcss][postcss]-merge-idents [![Build Status](https://travis-ci.org/ben-eb/postcss-merge-idents.svg?branch=master)][ci] [![NPM version](https://badge.fury.io/js/postcss-merge-idents.svg)][npm] [![Dependency Status](https://gemnasium.com/ben-eb/postcss-merge-idents.svg)][deps]\n\n> Merge keyframe and counter style identifiers.\n\n## Install\n\nWith [npm](https://npmjs.org/package/postcss-merge-idents) do:\n\n```\nnpm install postcss-merge-idents --save\n```\n\n## Example\n\nThis module will merge identifiers such as `@keyframes` and `@counter-style`,\nif their properties are identical. Then, it will update those declarations that\ndepend on the duplicated property.\n\n### Input\n\n```css\n@keyframes rotate {\n from { transform: rotate(0) }\n to { transform: rotate(360deg) }\n}\n\n@keyframes flip {\n from { transform: rotate(0) }\n to { transform: rotate(360deg) }\n}\n\n.rotate {\n animation-name: rotate\n}\n\n.flip {\n animation-name: flip\n}\n```\n\n### Output\n\n```css\n@keyframes flip {\n from { transform: rotate(0) }\n to { transform: rotate(360deg) }\n}\n\n.rotate {\n animation-name: flip\n}\n\n.flip {\n animation-name: flip\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-idents\n[deps]: https://gemnasium.com/ben-eb/postcss-merge-idents\n[npm]: http://badge.fury.io/js/postcss-merge-idents\n[postcss]: https://github.com/postcss/postcss\n", "readmeFilename": "README.md", "repository": { "type": "git", "url": "git+https://github.com/ben-eb/postcss-merge-idents.git" }, "scripts": { "test": "tape test.js | tap-spec" }, "version": "2.1.4" }