{"name":"postcss-will-change","version":"3.0.0","description":"PostCSS plugin to insert 3D hack before will-change property","keywords":["postcss","css","postcss-plugin","will-change","fallback"],"author":{"name":"Andrey Sitnik","email":"andrey@sitnik.ru"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/postcss/postcss-will-change.git"},"dependencies":{"postcss":"^7.0.2"},"bugs":{"url":"https://github.com/postcss/postcss-will-change/issues"},"homepage":"https://github.com/postcss/postcss-will-change#readme","_id":"postcss-will-change@3.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"ai","email":"andrey@sitnik.ru"},"dist":{"integrity":"sha512-VngayiV9/eNd1UY/xadYfqXwQIS6kJg2c3VbfflzPGB6FdDZIYgBstfiepb4b438EZBOl9ALX6xHar/Vx7j0sA==","shasum":"5f601068886e74f50e0b90b94dad2ce1c7542489","tarball":"http://registry-npm.ywwl.com/postcss-will-change/download/postcss-will-change-3.0.0.tgz","fileCount":5,"unpackedSize":3580,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkn9gCRA9TVsSAnZWagAA6E0P/1ROFOej37drIBmQTShu\nIBfHohcroHbqKgZZkM0yH0p5jotZvln9pfL7YRN241iPLzSZbC3iaM4bSw94\nR0KuonC6BhB2u2/WZAG3YW9s4HJXEdJnkhTwRUEBEajUCDSoThOoc62njF90\n285ilgPX5zfcy5OhcA7nUMbsAm7KF2bh1yexFk1NuEyVnJ/FO9hyF3dYns9s\npwzQLfOER86PtiRIlCdfnltLLRJpHZ5j5LXHallI0vm7saQkPz7gAfOlMhKv\nR6X8Y0pWN8fqCfCgTJIYbipun39a1j1BLKbEA2vtEsgwdi0e+/W3a1OxZkIq\nziNfh+nh0M3kiCBmDo2wi9YqhP9NgTWmPPZXjcBst/XNk1ljZ8Uw4K73xVqk\n8bomEhwASL0EJiWdTaOzpO/EGFD44Ibtucuk6M8LnW7p4ejzD+lXapMCjNKF\nxDe+xA8L1kJNXjcHZLqTEnJ+r7wFixy4oyV3Lf5B+7ci0zfk0J36DI6jLp5B\ndP/xCoWud6lhFRO402wwa3gW74Snn/sr6F+8YBtaFeM18m6fVOp1wACRL6dD\n9SA5FKyqd191HRSwsQ/O1Y32Ms1NmHG+cSAJqywP5oUBPFZOe90GwtBjew0o\nvvI1/Rxx7fbbQ9rl0PmCjB9yfOK0H6+3Xt8Mntz7suWcFwFvizVj6LGu0Qj2\n9I2J\r\n=OL4S\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCQY9MaKvQTGQ3LBmqrZBTvxfCIxqO/WaOPcneirSxX6AIgPxLcpZpOsvvQhY3ms1jjYhasysR4fcisXtYRSLQsrY0="}],"size":1991,"noattachment":false,"key":"/postcss-will-change/-/postcss-will-change-3.0.0.tgz"},"maintainers":[{"name":"ai","email":"andrey@sitnik.ru"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/postcss-will-change_3.0.0_1536327518064_0.8835730309865155"},"_hasShrinkwrap":false,"readme":"# PostCSS Will Change\n\n<img align=\"right\" width=\"135\" height=\"95\"\n     title=\"Philosopher’s stone, logo of PostCSS\"\n     src=\"https://postcss.org/logo-leftp.svg\">\n\n[PostCSS] plugin to insert 3D hack before [will-change] property.\n\nThis plugin uses `backface-visibility` to force the browser to create\na new layer, without overriding existing `backface-visibility` properties.\nThis 3D CSS hack is commonly done with `transform: translateZ(0)`,\nbut `backface-visibility` is used here to avoid overriding\nthe more popular `transform` property.\n\nThese hacks are required for browsers that do not support `will-change`.\n\nUse this plugin only before [Autoprefixer]. It will add vendor prefixes\nto `backface-visibility`.\n\n[Autoprefixer]: https://github.com/postcss/autoprefixer\n[will-change]:  https://dev.opera.com/articles/css-will-change-property/\n[PostCSS]:      https://github.com/postcss/postcss\n\n```css\n.foo {\n  will-change: transform;\n}\n```\n\n```css\n.foo {\n  backface-visibility: hidden;\n  will-change: transform;\n}\n```\n\n<a href=\"https://evilmartians.com/?utm_source=postcss-will-change\">\n  <img src=\"https://evilmartians.com/badges/sponsored-by-evil-martians.svg\"\n       alt=\"Sponsored by Evil Martians\" width=\"236\" height=\"54\">\n</a>\n\n\n## Usage\n\n**Step 1:** Install plugin:\n\n```sh\nnpm install --save-dev postcss postcss-will-change\n```\n\n**Step 2:** Check you project for existed PostCSS config: `postcss.config.js`\nin the project root, `\"postcss\"` section in `package.json`\nor `postcss` in bundle config.\n\nIf you do not use PostCSS, add it according to [official docs]\nand set this plugin in settings.\n\n**Step 3:** Add the plugin to plugins list:\n\n```diff\nmodule.exports = {\n  plugins: [\n+   require('postcss-will-change'),\n    require('autoprefixer')\n  ]\n}\n```\n\n[official docs]: https://github.com/postcss/postcss#usage\n","publish_time":1536327518181,"_cnpm_publish_time":1536327518181,"dist-tags":{"latest":"4.0.1"}}