UNPKG

react-flags-component

Version:

Flag Display component compliant with ISO 3166 standards, supporting both `alpha 2` and `alpha 3` notation.

89 lines (88 loc) 2.12 kB
{ "name": "react-flags-component", "version": "0.1.7", "type": "module", "license": "MIT", "author": "Simone Pizzuti <simone.piz1984@gmail.com>", "homepage": "https://github.com/s1m0n30n3/react-flags-component", "main": "dist/react-flags-component.cjs.js", "module": "dist/react-flags-component.es.js", "style": "dist/style.css", "files": [ "*.md", "dist" ], "sideEffects": [ "**/*.css" ], "scripts": { "dev": "vite", "build": "vite build", "test": "vitest run", "watch": "vitest", "coverage": "vitest run --coverage" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "eslintConfig": { "env": { "browser": true, "node": true, "es2020": true }, "extends": [ "eslint:recommended", "plugin:react/recommended" ], "parserOptions": { "sourceType": "module" } }, "dependencies": { "prop-types": "^15.8.1", "react": "^18.2.0", "react-dom": "^18.2.0", "vite-plugin-svgr": "^2.4.0" }, "devDependencies": { "@testing-library/dom": "^8.20.0", "@testing-library/react": "^13.4.0", "@types/react": "^18.0.26", "@types/react-dom": "^18.0.9", "@vitejs/plugin-react": "^3.0.0", "@vitest/coverage-c8": "^0.28.3", "c8": "^7.12.0", "eslint": "^8.33.0", "eslint-plugin-react": "^7.32.2", "jsdom": "^21.1.0", "react-test-renderer": "^18.2.0", "sass": "^1.58.0", "vite": "^4.0.0", "vitest": "^0.28.3" }, "description": "Flag Display component compliant with ISO 3166 standards, supporting both `alpha 2` and `alpha 3` notation.", "repository": { "type": "git", "url": "git+https://github.com/s1m0n30n3/react-flags-component.git" }, "keywords": [ "react-flags", "react", "countries", "country component", "flags component" ], "bugs": { "url": "https://github.com/s1m0n30n3/react-flags-component/issues" } }