From 16c7990567352bc2e601db05ca955aed48a5e476 Mon Sep 17 00:00:00 2001 From: Jussi Kinnula Date: Fri, 18 Sep 2020 09:54:43 +0300 Subject: [PATCH] Add package.json & instructions how to install with NPM --- README.md | 8 ++++++++ package.json | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 package.json diff --git a/README.md b/README.md index e34e3ab..abf8b80 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,14 @@ To view all the available flags, check the [gallery](all-flags.md). If you're using [React](https://reactjs.org), you may want to try the [react-circle-flags](https://www.npmjs.com/package/react-circle-flags) package. +### NPM + +If you want to install this package as dependency, you can install it from this GitHub repository: + +``` +npm install --save https://github.com/HatScripts/circle-flags +``` + ## Contributing To contribute, you need to have [svgo](https://github.com/svg/svgo) installed diff --git a/package.json b/package.json new file mode 100644 index 0000000..2ac7e91 --- /dev/null +++ b/package.json @@ -0,0 +1,37 @@ +{ + "name": "circle-flags", + "version": "1.0.0", + "description": "A collection of circular SVG country flags.", + "repository": { + "type": "git", + "url": "git+https://github.com/HatScripts/circle-flags.git" + }, + "keywords": [ + "svg", + "country-flags", + "country", + "icons", + "circular", + "round", + "circle", + "minimal", + "design", + "flags", + "svg-icons", + "svgo", + "minimalist", + "minimalistic", + "countries", + "circle-flags", + "languages", + "states", + "circles", + "icon-pack" + ], + "author": "HatScripts ", + "license": "MIT", + "bugs": { + "url": "https://github.com/HatScripts/circle-flags/issues" + }, + "homepage": "https://github.com/HatScripts/circle-flags#readme" +}