{"_id":"@becorps/vue-country-flag-icon","_rev":"1-261970af2b857bbf4ca954095916c330","name":"@becorps/vue-country-flag-icon","dist-tags":{"latest":"0.2.0"},"versions":{"0.2.0":{"name":"@becorps/vue-country-flag-icon","version":"0.2.0","description":"A vue.js component to display country flag icons.","keywords":["vuejs","country","flag","icon"],"homepage":"https://gitlab.com/belaws.com/vue-country-flag-icon","bugs":{"url":"https://gitlab.com/belaws.com/vue-locale-switcher/issues"},"license":"MIT","author":"","repository":{"type":"git","url":"git+https://gitlab.com/belaws.com/vue-country-flag-icon.git"},"scripts":{"build":"vue-cli-service build --target lib --name CountryFlag ./src/components/CountryFlag/Index.vue","build:wc":"vue-cli-service build --target wc --name country-flag ./src/components/CountryFlag/Index.vue","prepublish":"yarn run lint && yarn run build","serve":"vue-cli-service serve","lint":"vue-cli-service lint"},"main":"./dist/CountryFlag.common.js","dependencies":{"@becorps/flag-icon-css":"^3.4.5","core-js":"^3.5.0","vue":"^2.6.11"},"devDependencies":{"@vue/cli-plugin-babel":"^4.1.1","@vue/cli-plugin-eslint":"^4.1.1","@vue/cli-service":"^4.1.1","@vue/eslint-config-standard":"^5.0.1","@vue/web-component-wrapper":"^1.2.0","babel-eslint":"^10.0.2","eslint":"^6.7.2","eslint-plugin-import":"^2.19.1","eslint-plugin-node":"^10.0.0","eslint-plugin-promise":"^4.2.1","eslint-plugin-standard":"^4.0.1","eslint-plugin-vue":"^6.0.1","node-sass":"^4.13.0","sass-loader":"^8.0.0","vue-template-compiler":"^2.6.11"},"gitHead":"8b94fd0e0d1409426ea2272e2b6c829bbd6c9db1","_id":"@becorps/vue-country-flag-icon@0.2.0","_nodeVersion":"14.15.4","_npmVersion":"6.14.11","dist":{"integrity":"sha512-inKen3hEQclZJh1kyl/QhNBfp4/0/SxsH7IVwH6+fEzi9LA4PmQ2XTcAY2EOYf5NnWvUcur7VSVTsDycXPgDMg==","shasum":"abf3df25e95c4f7a413a48b74d306fd20b48529b","tarball":"https://registry.npmjs.org/@becorps/vue-country-flag-icon/-/vue-country-flag-icon-0.2.0.tgz","fileCount":535,"unpackedSize":4870131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgPKatCRA9TVsSAnZWagAAoMwP/2ipVUCIJI0mPAgoBBf1\nWb5aC68uKz8p+eN15l46HsU92sO5Sh1tsvBaWy1srElR9WldOC/0+PBIRqLr\ngzBHpukVbourkq/hxw4kI6+seZFvZ7EUUV0Hj7EzlU1Z9J5UWfQMXSd1Lpjm\nN7YjX/Rs98ngRc3o6Gcu1LY0P372AR2uxrsne0AZh1HHpI6jTLn773N2CkaN\n+cvW6N7/8LRq1YNqKGHficn+mop3ABgEhw3l0qp0HxEtZkVnn9dBunzYcfOX\nlgerLu9m0wpb13hGLe9erQgMG1WISNl2qcFhAlxXQp7Fh7A1hW0CLGxx6UWr\n6D25dX3Am9YkFZ7YXNMwbW6NFtD6eWIHyzxxWCbOWjZiPxzjsLPWtk/JykFk\nGhmSltaZTEUC5vhPCEaKpzZvVatyS0YLlDyeJ1GpNO7UZbIzrvyV0CF4SUAt\nUlf+SAdW/MB0rVsk3inM14dig3HT0sr53Hz/AKXumxYtAmEMNoZGCUbObNA7\nEYyqnkueR8twDjRVIaHUcmivLRCfJQ4vzvg3KFjqaP0rxXgPneqgAxlCO81/\npTt4mcmKBJurdRp6ZQSXO5y9wcHrI6XyZhtd/VJ+pZ1/vieh64MuPfrd1/Xt\nL5N2j35oMnPQ/A1pAVampJpkR0tt7uhU3C9Hi0jKtpAUEQd0vMExlmSgEJfA\nEkp/\r\n=G4wk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDBOtBvx2rWdxlAxpFrxa9Y1N9QONl8KKxAVWyhE58C9AIgdKg2WOrC2tXyNF202ZJgRY8la13smBBofbanLT0bQ9Y="}]},"_npmUser":{"name":"daniel3010","email":"dung.vienphamtri@gmail.com"},"directories":{},"maintainers":[{"name":"daniel3010","email":"dung.vienphamtri@gmail.com"},{"name":"belaws","email":"raphael@belaws.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vue-country-flag-icon_0.2.0_1614587564638_0.4018361760639433"},"_hasShrinkwrap":false}},"time":{"created":"2021-03-01T08:32:44.404Z","0.2.0":"2021-03-01T08:32:44.855Z","modified":"2022-04-04T18:08:18.224Z"},"maintainers":[{"name":"daniel3010","email":"dung.vienphamtri@gmail.com"},{"name":"belaws","email":"raphael@belaws.com"}],"description":"A vue.js component to display country flag icons.","homepage":"https://gitlab.com/belaws.com/vue-country-flag-icon","keywords":["vuejs","country","flag","icon"],"repository":{"type":"git","url":"git+https://gitlab.com/belaws.com/vue-country-flag-icon.git"},"bugs":{"url":"https://gitlab.com/belaws.com/vue-locale-switcher/issues"},"license":"MIT","readme":"# @becorps/vue-country-flag-icon\n\nCountry flag component for Vue. Supports SSR apps.\n\n## Requirements\n\n* vue.js >= 2.6\n\n## Usage\n\nAdd the package to your app via npm:\n\n``` bash\nnpm install @becorps/vue-country-flag-icon --save\n```\n\nor yarn:\n\n``` bash\nyarn add @becorps/vue-country-flag-icon\n```\n\n### Add CountryFlag globally\n\n``` javascript\n# main.js\n\nimport Vue from 'vue'\nimport CountryFlag from '@becorps/vue-country-flag-icon'\nimport '@becorps/vue-country-flag-icon/dist/CountryFlag.css' // import stylesheet\n\nVue.use('CountryFlag', CountryFlag)\n```\n\n### Add CountryFlag inside a component\n\n```javascript\n# MyComponent.vue\n<template>\n  <CountryFlag iso=\"GB\" mode=\"squared\" />\n  <CountryFlag iso=\"GB\" mode=\"rounded\" />\n</template>\n\n<script>\n  import CountryFlag from '@becorps/vue-country-flag-icon'\n  import '@becorps/vue-country-flag-icon/dist/CountryFlag.css' // import stylesheet\n\n  export default {\n    components: {\n      CountryFlag\n    }\n  }\n</script>\n```\n\n## Props\n\n### `iso`\n\ncountry ISO code (alpha-2 code).\n\nThis setting is **required**.\n\n### `title`\n\ntitle for the country flag.\n\n### `mode`\n\nDetermines the behavior of the country flag. This component support 2 modes `rounded` and `squared`.\n\nThis setting is **required**.\n\n## SCSS\n\nInstead of importing the css file in component or main.js, you can also import scss file into your app scss file.\n\n```\n@import '~@becorps/vue-country-flag-icon/src/assets/scss/country-flag.scss';\n```\n","readmeFilename":"README.md"}