{"_id":"@ardhimas/react-smartbanner","_rev":"3-e926603c7749f5770e400ffaae92218c","name":"@ardhimas/react-smartbanner","description":"Smart app banner react version.","dist-tags":{"ardy":"2.3.0","latest":"2.3.1"},"versions":{"2.3.0":{"name":"@ardhimas/react-smartbanner","version":"2.3.0","description":"Smart app banner react version.","repository":{"type":"git","url":"git+https://github.com/Ardhimas/react-smartbanner.git"},"bugs":{"url":"https://github.com/Ardhimas/react-smartbanner/issues"},"main":"dist/main.js","dependencies":{"cookie-cutter":"^0.1.1","cookies-js":"^1.2.1","react":"^15.1.0","react-dom":"^15.1.0","ua-parser-js":"^0.7.9"},"devDependencies":{"babel-core":"^6.10.4","babel-eslint":"^6.1.0","babel-loader":"^6.2.4","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","css-loader":"~0.23.1","eslint":"^2.13.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"^1.9.2","eslint-plugin-jsx-a11y":"^1.5.3","eslint-plugin-react":"^5.2.2","file-loader":"^0.9.0","grunt":"~1.0.1","grunt-cli":"^1.2.0","grunt-contrib-clean":"~1.0.0","grunt-contrib-connect":"~1.0.2","grunt-contrib-copy":"~1.0.0","grunt-gh-pages":"^1.1.0","grunt-open":"~0.2.3","grunt-webpack":"~1.0.8","load-grunt-tasks":"~3.5.0","node-sass":"^3.8.0","react-hot-loader":"^1.0.7","sass-loader":"^4.0.0","serve-static":"^1.11.1","style-loader":"~0.13.1","uglify-loader":"^1.3.0","url-loader":"~0.5.5","webpack":"~1.13.1","webpack-dev-server":"~1.14.1"},"scripts":{"prepublish":"npm run build-dist","build":"grunt build","build-dist":"grunt build:dist","start":"grunt serve","example":"grunt serve:example","lint":"eslint ./; true","gh-pages":"grunt gh-pages"},"keywords":["react","component","smartbanner","ios","iphone","android","windowsphone","smart","banner"],"author":{"name":"Ardhimas","email":"me@ardhimas.com"},"license":"MIT","gitHead":"83b4d84e0a3362686cd65d0f9af7cb6ef7d3477d","homepage":"https://github.com/Ardhimas/react-smartbanner#readme","_id":"@ardhimas/react-smartbanner@2.3.0","_shasum":"699544012e6ab5ba7fabfe854eb69bd97bb44087","_from":"react-smartbanner","_resolved":"file:react-smartbanner","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"ardhimas","email":"me@ardhimas.com"},"dist":{"shasum":"699544012e6ab5ba7fabfe854eb69bd97bb44087","tarball":"https://registry.npmjs.org/@ardhimas/react-smartbanner/-/react-smartbanner-2.3.0.tgz","integrity":"sha512-aXktaCMBGx3BecHX5FzQc2g2ihNey4M/OcN6jfxB+CILP6WzfLRFK/uCkp2THxmFhs782bWgktOdAizpoLpRfg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEtdkI2XSAcC5fRn59BNuL9yQooxtvkuVH21ylEPqjIUAiBLRC6kIgUiFRU0sEfQK/i7VcgHd0gKuFoe+RaQ4NsP3A=="}]},"maintainers":[{"name":"ardhimas","email":"me@ardhimas.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-smartbanner-2.3.0.tgz_1492460611764_0.38789559807628393"}},"2.3.1":{"name":"@ardhimas/react-smartbanner","version":"2.3.1","description":"Smart app banner react version.","repository":{"type":"git","url":"git+https://github.com/Ardhimas/react-smartbanner.git"},"bugs":{"url":"https://github.com/Ardhimas/react-smartbanner/issues"},"main":"dist/main.js","dependencies":{"cookie-cutter":"^0.1.1","cookies-js":"^1.2.1","react":"^15.1.0","react-dom":"^15.1.0","ua-parser-js":"^0.7.9"},"devDependencies":{"babel-core":"^6.10.4","babel-eslint":"^6.1.0","babel-loader":"^6.2.4","babel-preset-es2015":"^6.1.18","babel-preset-react":"^6.1.18","babel-preset-stage-0":"^6.1.18","css-loader":"~0.23.1","eslint":"^2.13.1","eslint-config-airbnb":"9.0.1","eslint-plugin-import":"^1.9.2","eslint-plugin-jsx-a11y":"^1.5.3","eslint-plugin-react":"^5.2.2","file-loader":"^0.9.0","grunt":"~1.0.1","grunt-cli":"^1.2.0","grunt-contrib-clean":"~1.0.0","grunt-contrib-connect":"~1.0.2","grunt-contrib-copy":"~1.0.0","grunt-gh-pages":"^1.1.0","grunt-open":"~0.2.3","grunt-webpack":"~1.0.8","load-grunt-tasks":"~3.5.0","node-sass":"^3.8.0","react-hot-loader":"^1.0.7","sass-loader":"^4.0.0","serve-static":"^1.11.1","style-loader":"~0.13.1","uglify-loader":"^1.3.0","url-loader":"~0.5.5","webpack":"~1.13.1","webpack-dev-server":"~1.14.1"},"scripts":{"prepublish":"npm run build-dist","build":"grunt build","build-dist":"grunt build:dist","start":"grunt serve","example":"grunt serve:example","lint":"eslint ./; true","gh-pages":"grunt gh-pages"},"keywords":["react","component","smartbanner","ios","iphone","android","windowsphone","smart","banner"],"author":{"name":"Ardhimas","email":"me@ardhimas.com"},"license":"MIT","gitHead":"50a62d8220211ca745b8d73fa874bfbcbfe73c2e","homepage":"https://github.com/Ardhimas/react-smartbanner#readme","_id":"@ardhimas/react-smartbanner@2.3.1","_shasum":"8d77836a1926205a194e9be370677e27fd8442cd","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.9.1","_npmUser":{"name":"ardhimas","email":"me@ardhimas.com"},"dist":{"shasum":"8d77836a1926205a194e9be370677e27fd8442cd","tarball":"https://registry.npmjs.org/@ardhimas/react-smartbanner/-/react-smartbanner-2.3.1.tgz","integrity":"sha512-+JkK+C3ABgw1M7ssP9C+fMnRBQkAheyKpkh/yT2/kWnuZzV8Vvp1jiekxW67pnJPfweY9q3potov3pULnbEgdA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE4/SlN6tHwOtpIe5R8zCkJuZIxsuS7S+VxG3VPhyoulAiBcdn1H6Hj0KYjdQ430LTDZBLOZo4MborsuWyNR92Juvg=="}]},"maintainers":[{"name":"ardhimas","email":"me@ardhimas.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/react-smartbanner-2.3.1.tgz_1492547485372_0.5042853446211666"}}},"readme":"# React-SmartBanner\n\nRewrite [Smart App Banner](https://github.com/kudago/smart-app-banner) in React.js.\n\n\n## Demo & Examples\n\nLive demo: [patw0929.github.io/react-smartbanner](https://patw0929.github.io/react-smartbanner/)\n\nTo build the examples locally, run:\n\n```\nnpm install\nnpm run example\n```\n\nThen open [`localhost:8000`](http://localhost:8000) in a browser.\n\n\n## Installation\n\nThe easiest way to use react-smartbanner is to install it from NPM and include it in your own React build process (using [Browserify](http://browserify.org), [Webpack](http://webpack.github.io/), etc).\n\nYou can also use the standalone build by including `dist/main.js` in your page. If you use this, make sure you have already included React, and it is available as a global variable.\n\n```\nnpm install react-smartbanner --save\n```\n\n\n## Usage\n\nRemember to add following meta tags in your HTML page: (Use Facebook app as example)\n\n```html\n<head>\n  <meta name=\"apple-itunes-app\" content=\"app-id=284882215\">\n  <meta name=\"google-play-app\" content=\"app-id=com.facebook.katana\">\n  <meta name=\"msApplication-ID\" content=\"82a23635-5bd9-df11-a844-00237de2db9e\">\n  <meta name=\"msApplication-PackageFamilyName\" content=\"facebook_9wzdncrfhv5g\">\n  <link rel=\"apple-touch-icon\" href=\"icon.png\">\n  <link rel=\"android-touch-icon\" href=\"icon.png\">\n  <link rel=\"windows-touch-icon\" href=\"icon.png\">\n</head>\n```\n\nAnd React-SmartBanner component usage:\n\n```javascript\nimport React from 'react';\nimport ReactDOM from 'react-dom';\nimport SmartBanner from 'react-smartbanner';\n\nReactDOM.render(<SmartBanner title={'Facebook'} />, document.getElementById('content'));\n```\n\n### Properties\n\nPlease see the [Demo Page](https://patw0929.github.io/react-smartbanner/)\n\n\n## Development (`src` and the build process)\n\n**NOTE:** The source code for the component is in `src`. A UMD bundle is also built to `dist`, which can be included without the need for any build system.\n\nTo build, watch and serve the examples (which will also watch the component source), run `npm run example`.\n\n## Based on\n\n[Smart App Banner](https://github.com/kudago/smart-app-banner)\n\n## License\n\nMIT\n\nCopyright (c) 2015 patw.\n","maintainers":[{"name":"ardhimas","email":"me@ardhimas.com"}],"time":{"modified":"2022-06-12T14:47:22.331Z","created":"2017-04-17T20:23:33.764Z","2.3.0":"2017-04-17T20:23:33.764Z","2.3.1":"2017-04-18T20:31:27.504Z"},"homepage":"https://github.com/Ardhimas/react-smartbanner#readme","keywords":["react","component","smartbanner","ios","iphone","android","windowsphone","smart","banner"],"repository":{"type":"git","url":"git+https://github.com/Ardhimas/react-smartbanner.git"},"author":{"name":"Ardhimas","email":"me@ardhimas.com"},"bugs":{"url":"https://github.com/Ardhimas/react-smartbanner/issues"},"license":"MIT","readmeFilename":"README.md"}