{
"manifest": {
"name": "inline-style-prefixer",
"version": "7.0.0",
"description": "Run-time Autoprefixer for JavaScript style objects",
"module": "es/index.js",
"jsnext:main": "es/index.js",
"main": "lib/index.js",
"files": [
"LICENSE",
"README.md",
"lib/",
"es/"
],
"scripts": {
"babel:es": "babel -d es modules --ignore __tests__",
"babel:lib": "cross-env BABEL_ENV=commonjs babel -d lib modules --ignore __tests__",
"babel": "yarn babel:es && yarn babel:lib",
"build": "yarn run check && yarn generate && yarn babel",
"check": "yarn clear && yarn format && yarn lint && yarn coverage",
"clear": "rimraf lib es coverage _book",
"docs": "gitbook install && gitbook build && gh-pages -d _book",
"flow": "flow",
"format": "prettier --write \"./modules/**/*.js\"",
"generate": "cross-env BABEL_ENV=commonjs babel-node generateDefaultData",
"lint": "eslint modules/**/*.js",
"release": "yarn build && npm publish",
"test": "cross-env BABEL_ENV=commonjs jest",
"coverage": "yarn test --coverage"
},
"repository": {
"type": "git",
"url": "https://github.com/robinweser/inline-style-prefixer"
},
"keywords": [
"react",
"react styling",
"prefixer",
"inline styles",
"autoprefixer",
"vendor prefix",
"userAgent"
],
"author": {
"name": "Robin Weser"
},
"license": "MIT",
"jest": {
"rootDir": "modules"
},
"dependencies": {
"css-in-js-utils": "^3.1.0",
"fast-loops": "^1.1.3"
},
"devDependencies": {
"babel": "^6.5.2",
"babel-cli": "^6.6.0",
"babel-core": "^6.6.0",
"babel-eslint": "^7.1.1",
"babel-jest": "^20.0.1",
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-stage-0": "^6.5.0",
"caniuse-api": "^3.0.0",
"cross-env": "^5.2.0",
"eslint": "^5.0.0",
"eslint-config-airbnb": "^14.0.0",
"eslint-plugin-import": "^2.2.0",
"eslint-plugin-jsx-a11y": "^3.0.2",
"eslint-plugin-react": "^6.9.0",
"gh-pages": "^1.2.0",
"gitbook": "^3.2.2",
"gitbook-cli": "^2.3.0",
"gitbook-plugin-anker-enable": "0.0.4",
"gitbook-plugin-edit-link": "^2.0.2",
"gitbook-plugin-github": "^2.0.0",
"gitbook-plugin-prism": "^2.4.0",
"jest": "^19.0.2",
"prettier": "^2.2.1",
"rimraf": "^2.6.2"
},
"_registry": "npm",
"_loc": "/home/josie/.cache/yarn/v6/npm-inline-style-prefixer-7.0.0-integrity/node_modules/inline-style-prefixer/package.json",
"readmeFilename": "README.md",
"readme": "# inline-style-prefixer\n\nA small, simple and fast vendor prefixer from JavaScript style object.\n\n
\n\n## Installation\n\n```sh\nyarn add inline-style-prefixer\n```\n\nIf you're still using npm, you may run `npm i --save inline-style-prefixer`.\n\n## Browser Support\n\nIt supports all major browsers with the following versions. For other, unsupported browses, we automatically use a fallback.\n\n- Chrome: 55+\n- Android (Chrome): 55+\n- Android (Stock Browser): 5+\n- Android (UC): 11+\n- Firefox: 52+\n- Safari: 13+\n- iOS (Safari): 13+\n- Opera: 30+\n- Opera (Mini): 12+\n- IE: 11+\n- IE (Mobile): 11+\n- Edge: 12+\n\nIt will **only** add prefixes if a property still needs them in one of the above mentioned versions.
Therefore, e.g. `border-radius` will not be prefixed at all.\n\n> **Need to support legacy browser versions?**
\n> Don't worry - we got you covered. Check [this guide](https://github.com/rofrischmann/inline-style-prefixer/blob/master/docs/guides/CustomPrefixer.md).\n\n## Usage\n\n```javascript\nimport { prefix } from 'inline-style-prefixer'\n\nconst style = {\n transition: '200ms all linear',\n boxSizing: 'border-box',\n display: 'flex',\n color: 'blue'\n}\n\nconst output = prefix(style)\n\noutput === {\n WebkitTransition: '200ms all linear',\n transition: '200ms all linear',\n MozBoxSizing: 'border-box',\n boxSizing: 'border-box',\n display: [ '-webkit-box', '-moz-box', '-ms-flexbox', '-webkit-flex', 'flex' ]\n color: 'blue'\n}\n```\n\n## Usage with TypeScript\n\nYou can use TypeScript definition from [DefinitelyTyped](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/inline-style-prefixer) using [@types/inline-style-prefixer](https://www.npmjs.com/package/@types/inline-style-prefixer)\n\n```sh\nyarn add @types/inline-style-prefixer\n\n# alternatively use npm\nnpm i --save @types/inline-style-prefixer\n```\n\n## Documentation\n\nIf you got any issue using this prefixer, please first check the FAQ's. Most cases are already covered and provide a solid solution.\n\n- [Usage Guides](https://inline-style-prefixer.js.org/docs/UsageGuides.html)\n- [Data Reference](https://inline-style-prefixer.js.org/docs/DataReference.html)\n- [API Reference](https://inline-style-prefixer.js.org/docs/API.html)\n\n## Community\n\nHere are some popular users of this library:\n\n- [Aphrodite](https://github.com/Khan/aphrodite)\n- [Fela](https://github.com/rofrischmann/fela)\n- [Glamor](https://github.com/threepointone/glamor)\n- [Material UI](https://github.com/callemall/material-ui)\n- [nano-css](https://github.com/streamich/nano-css)\n- [Radium](https://github.com/FormidableLabs/radium)\n- [react-native-web](https://github.com/necolas/react-native-web)\n- [styled-components](https://github.com/styled-components/styled-components)\n- [Styletron](https://github.com/rtsao/styletron)\n\n> PS: Feel free to add your solution!\n\n## Support\n\nJoin us on [Gitter](https://gitter.im/rofrischmann/fela). We highly appreciate any contribution.
\nWe also love to get feedback.\n\n## License\n\n**inline-style-prefixer** is licensed under the [MIT License](http://opensource.org/licenses/MIT).
\nDocumentation is licensed under [Creative Common License](http://creativecommons.org/licenses/by/4.0/).
\nCreated with ♥ by [@rofrischmann](http://rofrischmann.de) and all contributors.\n",
"licenseText": "The MIT License (MIT)\n\nCopyright (c) 2015 Robin Frischmann\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n\n"
},
"artifacts": [],
"remote": {
"resolved": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.0.tgz",
"type": "tarball",
"reference": "https://registry.npmjs.org/inline-style-prefixer/-/inline-style-prefixer-7.0.0.tgz",
"hash": "",
"integrity": "sha512-I7GEdScunP1dQ6IM2mQWh6v0mOYdYmH3Bp31UecKdrcUgcURTcctSe1IECdUznSHKSmsHtjrT3CwCPI1pyxfUQ==",
"registry": "npm",
"packageName": "inline-style-prefixer",
"cacheIntegrity": "sha512-I7GEdScunP1dQ6IM2mQWh6v0mOYdYmH3Bp31UecKdrcUgcURTcctSe1IECdUznSHKSmsHtjrT3CwCPI1pyxfUQ== sha1-mR1VBzXUIGn1KKwbzazTeNEwVEI="
},
"registry": "npm",
"hash": "23b18475272e9cfd5d43a20cda641687abf498e61d6261f7069df551e70a76b71481c5114dc72d49ed48102754ce74872929ac1ed8eb4f70b008f235a72c5f51"
}