{"name":"svelte-awesome","version":"1.4.0","description":"Font Awesome component for Svelte JS, using inline SVG","main":"dist/svelte-awesome.js","svelte":"components/Icon.html","repository":{"type":"git","url":"git+https://github.com/RobBrazier/svelte-awesome.git"},"author":{"name":"Rob Brazier"},"license":"MIT","scripts":{"build":"rollup -c","icons":"node build/generate-icons","start":"serve example/dist","example:watch":"rollup -c example/rollup.config.js -w","example:dev":"run-p start example:watch","example:build":"rollup -c example/rollup.config.js","lint":"eslint ./{example,src}/**/*.{html,js}","test":"npm run lint","commit":"commit","commitmsg":"commitlint -e $GIT_PARAMS"},"keywords":["font-awesome","awesome","svelte","svg"],"commitlint":{"extends":["@commitlint/config-conventional"]},"release":{"verifyConditions":{"path":"./build/verify-conditions.js"}},"devDependencies":{"@commitlint/cli":"^7.0.0","@commitlint/config-conventional":"^7.0.1","@commitlint/prompt-cli":"^7.0.0","babel-core":"^6.26.0","cassandra-map":"^0.1.7","eslint":"^5.0.1","eslint-config-airbnb":"^17.0.0","eslint-plugin-html":"^4.0.2","eslint-plugin-import":"^2.8.0","eslint-plugin-jsx-a11y":"^6.0.3","eslint-plugin-react":"^7.7.0","font-awesome":"^4.7.0","graceful-fs":"^4.1.11","husky":"^0.14.3","lodash":"^4.17.5","npm-run-all":"^4.1.3","patch-module":"^0.1.0","rollup":"^0.64.1","rollup-plugin-buble":"^0.19.2","rollup-plugin-commonjs":"^9.1.0","rollup-plugin-node-resolve":"^3.0.3","rollup-plugin-replace":"^2.0.0","rollup-plugin-svelte":"^4.0.0","rollup-plugin-uglify":"^4.0.0","semantic-release":"^15.1.5","svelte":"^2.6.1","svgfont2js":"^0.1.2","uglify-es":"^3.3.9"},"gitHead":"2795c519ed2b267e9c0b5ae67168c3b1ec8bc0a9","bugs":{"url":"https://github.com/RobBrazier/svelte-awesome/issues"},"homepage":"https://github.com/RobBrazier/svelte-awesome#readme","_id":"svelte-awesome@1.4.0","_npmVersion":"6.3.0","_nodeVersion":"9.2.1","_npmUser":{"name":"robbrazier","email":"rob+npm@brazier.cloud"},"dist":{"integrity":"sha512-2RMIHf2Ptj1PF13UkJhpBp4mu2vCFw78Z50K/95XXcYuFwlJ/MviQIFSkwD79mXL6SlqU2xQJpnWT0WZf9Z6/w==","shasum":"3e128def1f79f166738c42cbc8e0de2fd7b75791","tarball":"http://registry-npm.ywwl.com/svelte-awesome/download/svelte-awesome-1.4.0.tgz","fileCount":796,"unpackedSize":1024923,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbazpUCRA9TVsSAnZWagAAXuwP/351tr4TUmJo5Ln+Lc2s\noEm6whU3AvZVdC7pg4HkqtfFtzd+IwY2XnrzEcLxTFPs3pS80R6MJI8LBmjm\nnBLeRKVqupQtNaDB6hIQZxpf+I/VUVMXqscgoEbQ3yESeXkqBRjvOh8hbjDb\nZ0fksqO9LlcBGTZrlkVJSfPOMMUIrmjmCJKMNKe8NU4KniCKES06ka6MJT/I\nYKNx3ds+6w0UdbjepR9oalc5fp5rUcTAyljin/lZr4UZKXOs4oJXAZa7Edl/\nY7NEFJPSXNuB07tupO91LzTzaQTLg62D7OWvE+KMybgEn6jTWpLzr4qjmcs3\nNHPTml8PzIwvuLVc4gz9I8zFy477HLS/J8Hruu9S+5eZ6LMnBX+8Nlr5d0xG\n2aHr15KUVhxihpLzz+V6v3TxBFa525mAnvXX1FJ5Lma4gjkUuMq06YazQPQe\n/S9wdPOgWR20Btp1jWA5YT2hWnGqib8GegFtw0jG9JOP10X34SxEe/Oo2TP5\nLDjtuffxWsp5J0/9hybESQCTttzjdPvBB5a3vf7WXrDeP7PrjxYkvoIrcZPz\nEKrnQDGsFWom9Fy7qvjhkeHPrnuYKqK3gzSLyj91Q8uZh0Qaa30+N/iL8Sji\n9ZxQoPkA16vvUFEEkEOSQNIBSihGfr6e0IGSJq2NZ6BO4ENQimsCEGGxzxXw\nu0PP\r\n=KWt9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDvAvfoTKqonjdZrW+KalxTPlOdjHkkMLAtW4y8QMBtJwIhANoP6FrFZKj8mlzxlqq2zeZNOdXNL2yX8tvZoR5q8P3i"}],"size":314507,"noattachment":false,"key":"/svelte-awesome/-/svelte-awesome-1.4.0.tgz"},"maintainers":[{"name":"robbrazier","email":"rob+npm@brazier.cloud"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/svelte-awesome_1.4.0_1533753940137_0.3120944128473935"},"_hasShrinkwrap":false,"readme":"# Svelte-Awesome\n\n[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/RobBrazier/svelte-awesome/build.yaml?style=flat-square&branch=master)](https://github.com/RobBrazier/svelte-awesome/actions)\n[![Codacy grade](https://img.shields.io/codacy/grade/5543afb1136e45e2b7bae46332f94d60?style=flat-square)](https://app.codacy.com/gh/RobBrazier/svelte-awesome/dashboard)\n[![npm](https://img.shields.io/npm/v/svelte-awesome.svg?style=flat-square)](https://www.npmjs.com/package/svelte-awesome)\n[![bundlephobia](https://img.shields.io/bundlephobia/minzip/svelte-awesome?style=flat-square)](https://bundlephobia.com/result?p=svelte-awesome)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat-square)](http://makeapullrequest.com)\n\n> Awesome SVG icon component for Svelte JS, built with Font Awesome icons.\n> Based on [Justineo/vue-awesome][vue-awesome]\n\nSvelte-Awesome supports [Font-Awesome][font-awesome] `v4.7.0` (icons inbuilt)\nand `v5`/`v6` (via [`@fortawesome` npm packages][fortawesome-icons])\n\nA demo is available [here][demo]\n\nA list of all available embedded icons is available [here][icons]\n\n## Installation\n\n### NPM\n\n```bash\nnpm install --save svelte-awesome\n```\n\n## Usage\n\n```html\n<!-- basic -->\n<Icon data=\"{beer}\" />\n<!-- codeFork is camelCase, unlike the js file, code-fork.js -->\n<Icon data=\"{codeFork}\" />\n\n<!-- with options -->\n<Icon data=\"{refresh}\" scale=\"2\" />\n<Icon data=\"{comment}\" flip=\"horizontal\" />\n<Icon data=\"{codeFork}\" label=\"Forked Repository\" />\n\n<!-- stacked icons [WIP] -->\n<Icon label=\"No Photos\">\n  <Icon data=\"{camera}\" />\n  <Icon name=\"{ban}\" scale=\"2\" class=\"alert\" />\n</Icon>\n\n<!-- FontAwesome v5 and v6 Icons supported -->\n<Icon data=\"{faThumbsUp}\" />\n\n<script>\n  import Icon from 'svelte-awesome';\n\n  /// *** Embedded Icons ***\n  // Recommended - import just the icon you need\n  import beer from 'svelte-awesome/icons/beer';\n  import refresh from 'svelte-awesome/icons/refresh';\n  import codeFork from 'svelte-awesome/icons/codeFork';\n  import camera from 'svelte-awesome/icons/camera';\n  import ban from 'svelte-awesome/icons/ban';\n  // Not recommended as it will download all of the icons in dev mode\n  import { ban } from 'svelte-awesome/icons';\n\n  // EDGECASE ICONS - different names due to reserved names / starting with numbers\n  import fa500px from 'svelte-awesome/icons/fa500px'; // '500px' icon\n  import faTry from 'svelte-awesome/icons/faTry'; // 'try' icon\n\n  /// *** @fortawesome/* Icons ***\n  // Recommended - import the individual icon a little like with the recommended embedded icons approach above\n  import { faThumbsUp } from '@fortawesome/free-regular-svg-icons/faThumbsUp';\n  // Not Recommended - import the individual icon from the main file - it will download all of the icons in dev mode\n  import { faThumbsUp } from '@fortawesome/free-regular-svg-icons';\n</script>\n```\n\n## Sapper Usage\n\nFor Sapper, you may need to import the Icon component explicitly as below:\n\n```javascript\nimport Icon from 'svelte-awesome/components/Icon.svelte';\n```\n\n## Contributors\n\n[![Contributors](https://contrib.rocks/image?repo=robbrazier/svelte-awesome)](https://github.com/RobBrazier/svelte-awesome/graphs/contributors)\n\n[vue-awesome]: https://github.com/Justineo/vue-awesome\n[font-awesome]: https://github.com/FortAwesome/Font-Awesome\n[demo]: https://robbrazier.github.io/svelte-awesome\n[icons]: https://robbrazier.github.io/svelte-awesome/icons\n[fortawesome-icons]: https://www.npmjs.com/search?q=%40fortawesome%20icons\n","publish_time":1533753940287,"_cnpm_publish_time":1533753940287,"dist-tags":{"latest":"3.3.5"}}