{"name":"css-vendor","description":"CSS vendor prefix detection and property feature testing.","version":"0.3.7","author":{"name":"Oleg Slobodskoi","email":"oleg008@gmail.com"},"repository":{"type":"git","url":"git+ssh://git@github.com/cssinjs/css-vendor.git"},"keywords":["css","vendor","feature","test","prefix","cssinjs","jss","css-in-js"],"engines":{},"scripts":{"all":"npm run lint && npm run build","build":"npm run clean && npm run build:lib && npm run build:max && npm run build:min","build:lib":"babel src --out-dir lib","build:max":"cross-env NODE_ENV=development webpack src/index.js dist/css-vendor.js","build:min":"cross-env NODE_ENV=production webpack src/index.js dist/css-vendor.min.js","clean":"rimraf ./lib/*","lint":"eslint ./src","lint:staged":"lint-staged","test":"opener ./test/index.html","prepublish":"npm run all"},"license":"MIT","main":"./lib/index","devDependencies":{"babel-cli":"^6.5.1","babel-core":"^6.5.1","babel-eslint":"^7.0.0","babel-loader":"^6.2.2","babel-preset-es2015":"^6.5.0","babel-preset-stage-0":"^6.5.0","cross-env":"^3.1.3","eslint":"^3.8.0","eslint-config-airbnb":"^12.0.0","eslint-config-jss":"^2.4.0","eslint-plugin-import":"^2.0.1","eslint-plugin-jsx-a11y":"^2.2.3","eslint-plugin-react":"^6.4.1","jss":"^5.4.0","opener":"^1.4.1","pre-commit":"^1.1.3","qunitjs":"2.0.1","rimraf":"^2.5.1","webpack":"^2.0.7-beta"},"dependencies":{"is-in-browser":"^1.0.2"},"lint-staged":{"./src/*.js":["eslint","git add"]},"pre-commit":"lint:staged","gitHead":"f5dd63fc600611fb094e6da2c2e37d79021fdb46","bugs":{"url":"https://github.com/cssinjs/css-vendor/issues"},"homepage":"https://github.com/cssinjs/css-vendor#readme","_id":"css-vendor@0.3.7","_shasum":"4c75f605bb0073077a542374da056a9b6e06900f","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"dist":{"shasum":"4c75f605bb0073077a542374da056a9b6e06900f","tarball":"http://registry-npm.ywwl.com/css-vendor/download/css-vendor-0.3.7.tgz","integrity":"sha512-S2tzDjGli5ah6cmUqZv9YehYq0/nuY0Qai1ezL7FTkA9EOrGAfl/udBcwdOqmpq/X98gr9d8cbpt5m2k0Zbajg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBcVcDdpXFwXcOCEuu28WDgta5jMa/255IN1JujofgCBAiEAjrBZp5xi0qB998BVpMMk4+AYrfo8LVQB93XlUc1Dh4c="}],"size":7000,"noattachment":false,"key":"/css-vendor/-/css-vendor-0.3.7.tgz"},"maintainers":[{"name":"kof","email":"oleg008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/css-vendor-0.3.7.tgz_1477920992354_0.6058185624424368"},"directories":{},"readme":"[![Build Status](https://travis-ci.org/cssinjs/css-vendor.svg?branch=master)](https://travis-ci.org/cssinjs/css-vendor) [![Greenkeeper badge](https://badges.greenkeeper.io/cssinjs/css-vendor.svg)](https://greenkeeper.io/)\n\n## CSS vendor prefix detection and property feature testing.\n\n### Vendor prefixes\n\n```javascript\nconsole.log(cssVendor.prefix.js) // e.g. WebkitTransform\n\nconsole.log(cssVendor.prefix.css) // e.g. -webkit-transform\n```\n\n### Property support feature test\n\n`cssVendor.supportedProperty(prop)`\n\nTest if property is supported, returns false if not. Returns string if supported. May add a vendor prefix if needed.\n\n```javascript\nconsole.log(cssVendor.supportedProperty('animation')) // e.g. -webkit-animation\n```\n\n### Value support feature test\n\n`cssVendor.supportedValue(prop, value)`\n\nTest if value is supported, returns false if not. Returns string if supported. May add a vendor prefix if needed.\n\n```javascript\nconsole.log(cssVendor.supportedValue('display', 'flex')) // e.g. -webkit-flex\n```\n\n## Run tests\n\n```bash\nyarn\nyarn test\n```\n\n## License\n\nMIT\n","publish_time":1477920992895,"_cnpm_publish_time":1477920992895,"dist-tags":{"latest":"2.0.8"}}