{"name":"css-vendor","description":"CSS vendor prefix detection and property feature testing.","version":"0.3.6","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"],"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":"NODE_ENV=development webpack src/index.js dist/css-vendor.js","build:min":"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","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-browser":"^2.0.1"},"lint-staged":{"./src/*.js":["eslint","git add"]},"pre-commit":"lint:staged","gitHead":"851d01e722d9260916f366418bf091768f845895","bugs":{"url":"https://github.com/cssinjs/css-vendor/issues"},"homepage":"https://github.com/cssinjs/css-vendor#readme","_id":"css-vendor@0.3.6","_shasum":"0ae73f214b8a6d2d84e4c0f647145c1391bfedfa","_from":".","_npmVersion":"3.6.0","_nodeVersion":"5.7.1","_npmUser":{"name":"kof","email":"oleg008@gmail.com"},"dist":{"shasum":"0ae73f214b8a6d2d84e4c0f647145c1391bfedfa","tarball":"http://registry-npm.ywwl.com/css-vendor/download/css-vendor-0.3.6.tgz","integrity":"sha512-UHva2fPRN7ry3XKa8uWDT9dXvMqKgXraiaCbIxfrckeBD4D4htasoHaWKn7qx6StRWIuTzX+dxGq5EwjSOFXBQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEMCIA676apvlE/8aj91o0mcd3S1jRpvIN1YdU6Df3cZLhbrAh9kjS8MN/6iBGMhd7hM7U7L6CCj3xSk5CaF+FkQuYI6"}],"size":6695,"noattachment":false,"key":"/css-vendor/-/css-vendor-0.3.6.tgz"},"maintainers":[{"name":"kof","email":"oleg008@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/css-vendor-0.3.6.tgz_1476725422903_0.4887319537810981"},"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":1476725424373,"_cnpm_publish_time":1476725424373,"dist-tags":{"latest":"2.0.8"}}