UNPKG

@meronex/icons

Version:

SVG React icons of popular icon packs using ES6 imports

515 lines (510 loc) 14.7 kB
const path = require("path"); module.exports = { icons: [ { id: "fa", name: "Font Awesome", contents: [ { files: path.resolve( __dirname, "fontawesome/svgs/+(brands|solid)/*.svg" ), formatter: name => `Fa${name}` }, { files: path.resolve(__dirname, "fontawesome/svgs/regular/*.svg"), formatter: name => `FaReg${name}` } ], projectUrl: "https://fontawesome.com/", license: "CC BY 4.0 License", licenseUrl: "https://creativecommons.org/licenses/by/4.0/" }, { id: "ios", name: "Ionicons", contents: [ { files: path.resolve( __dirname, "../../../../node_modules/ionicons/dist/collection/icon/svg/*.svg" ) } ], projectUrl: "https://ionicons.com/", license: "MIT", licenseUrl: "https://github.com/ionic-team/ionicons/blob/master/LICENSE" }, { id: "md", name: "Material Design Icons", contents: [ { files: path.resolve( __dirname, "material-design-icons/*/svg/production/*_24px.svg" ), formatter: name => name.replace(/Ic(\w+)24px/i, "Md$1") } ], projectUrl: "http://google.github.io/material-design-icons/", license: "Apache License Version 2.0", licenseUrl: "https://github.com/google/material-design-icons/blob/master/LICENSE" }, { id: "ti", name: "Typicons", contents: [ { files: path.resolve(__dirname, "typicons/src/svg/*.svg"), formatter: name => `Ti${name}` } ], projectUrl: "http://s-ings.com/typicons/", license: "CC BY-SA 3.0", licenseUrl: "https://creativecommons.org/licenses/by-sa/3.0/" }, { id: "go", name: "Github Octicons icons", contents: [ { files: path.resolve( __dirname, "../../../../node_modules/octicons/build/svg/*.svg" ), formatter: name => `Go${name}` } ], projectUrl: "https://octicons.github.com/", license: "MIT", licenseUrl: "https://github.com/primer/octicons/blob/master/LICENSE" }, { id: "fi", name: "Feather", contents: [ { files: path.resolve( __dirname, "../../../../node_modules/feather-icons/dist/icons/*.svg" ), formatter: name => `Fi${name}` } ], projectUrl: "https://feathericons.com/", license: "MIT", licenseUrl: "https://github.com/feathericons/feather/blob/master/LICENSE" }, { id: "gi", name: "Game Icons", contents: [ { files: path.resolve( __dirname, "game-icons-inverted/+(carl-olsen|andymeneely|cathelineau|darkzaitzev|delapouite|faithtoken|generalace135|guard13007|heavenly-dog|irongamer|john-colburn|kier-heyl|lorc|lord-berandas|quoting|rihlsul|sbed|skoll|sparker|spencerdub|zajkonur)/originals/svg/000000/transparent/*.svg" ), formatter: name => `Gi${name}` }, { files: path.resolve( __dirname, "game-icons-inverted/+(zeromancer|willdabeast|)/deviations/svg/000000/transparent/*.svg" ), formatter: name => `Gi${name}` }, { files: path.resolve( __dirname, "game-icons-inverted/+(john-redman)/hands/svg/000000/transparent/*.svg" ), formatter: name => `Gi${name}` }, { files: path.resolve( __dirname, "game-icons-inverted/+(lucasms)/equipment/svg/000000/transparent/*.svg" ), formatter: name => `Gi${name}` }, { files: path.resolve( __dirname, "game-icons-inverted/+(priorblue)/batteries/svg/000000/transparent/*.svg" ), formatter: name => `Gi${name}` }, { files: path.resolve( __dirname, "game-icons-inverted/+(viscious-speed)/abstract/svg/000000/transparent/*.svg" ), formatter: name => `Gi${name}` }, { files: path.resolve( __dirname, "game-icons-inverted/+(various-artists)/public-domain/svg/000000/transparent/*.svg" ), formatter: name => `Gi${name}` }, { files: path.resolve( __dirname, "game-icons-inverted/+(felbrigg)/arrows/svg/000000/transparent/*.svg" ), formatter: name => `Gi${name}` }, { files: path.resolve(__dirname, "game-icons-inverted/aussiesim/*.svg"), formatter: name => `Gi${name}` } ], projectUrl: "https://game-icons.net/", license: "CC BY 3.0", licenseUrl: "https://creativecommons.org/licenses/by/3.0/" }, { id: "wi", name: "Weather Icons", contents: [ { files: path.resolve(__dirname, "weather-icons/svg/*.svg"), formatter: name => name } ], projectUrl: "https://erikflowers.github.io/weather-icons/", license: "SIL OFL 1.1", licenseUrl: "http://scripts.sil.org/OFL" }, { id: "di", name: "Devicons", contents: [ { files: path.resolve(__dirname, "devicons/!SVG/*.svg"), formatter: name => `Di${name}` } ], projectUrl: "https://vorillaz.github.io/devicons/", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "ai", name: "Ant Design Icons", contents: [ { files: path.resolve( __dirname, "ant-design-icons/packages/icons-svg/svg/filled/*.svg" ), formatter: name => `AiFill${name}` }, { files: path.resolve( __dirname, "ant-design-icons/packages/icons-svg/svg/outlined/*.svg" ), formatter: name => `AiOutline${name}` }, { files: path.resolve( __dirname, "ant-design-icons/packages/icons-svg/svg/twotone/*.svg" ), formatter: name => `AiTwotone${name}` } ], projectUrl: "https://github.com/ant-design/ant-design-icons", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "bs", name: "Bootstrap Icons", contents: [ { files: path.resolve( __dirname, "bootstrap/icons/*!(-reverse)-fill.svg" ), formatter: name => `BsFill${name}` }, { files: path.resolve( __dirname, "bootstrap/icons/*-reverse!(-fill).svg" ), formatter: name => `BsReverse${name}` }, { files: path.resolve( __dirname, "bootstrap/icons/*!(-fill|-reverse|reverse-).svg" ), formatter: name => `Bs${name}` } ], projectUrl: "https://github.com/twbs/icons", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "ri", name: "Remix Icon", contents: [ { files: path.resolve(__dirname, "RemixIcon/icons/*/*.svg"), formatter: name => `Ri${name}` } ], projectUrl: "https://github.com/Remix-Design/RemixIcon", license: "Apache License Version 2.0", licenseUrl: "http://www.apache.org/licenses/" }, { id: "fc", name: "Flat Color Icons", contents: [ { files: path.resolve(__dirname, "flat-color-icons/svg/*.svg"), formatter: name => `Fc${name}`, multiColor: true } ], projectUrl: "https://github.com/icons8/flat-color-icons", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "gr", name: "Grommet-Icons", contents: [ { files: path.resolve(__dirname, "grommet-icons/public/img/*.svg"), formatter: name => `Gr${name}` } ], projectUrl: "https://github.com/grommet/grommet-icons", license: "Apache License Version 2.0", licenseUrl: "http://www.apache.org/licenses/" }, { id: "cg", name: "css.gg", contents: [ { files: path.resolve(__dirname, "css.gg/icons/svg/*.svg"), formatter: name => `Cg${name}` } ], projectUrl: "https://github.com/astrit/css.gg", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "mdc", name: "MD Community Icons", contents: [ { files: path.resolve(__dirname, "MaterialDesign/svg/*.svg"), formatter: name => `Mdc${name}` } ], projectUrl: "https://github.com/templarian/MaterialDesign", license: "SIL", licenseUrl: "https://github.com/Templarian/MaterialDesign/blob/master/LICENSE" }, { id: "si", name: "Simple Icons", contents: [ { files: path.resolve(__dirname, "simple-icons/icons/*.svg"), formatter: name => `Si${name}` } ], projectUrl: "https://simpleicons.org/", license: "CC0 1.0 Universal", licenseUrl: "https://creativecommons.org/publicdomain/zero/1.0/" }, { id: "im", name: "IcoMoon Free", contents: [ { files: path.resolve(__dirname, "icomoon-free/SVG/*.svg"), formatter: name => `Im${name.slice(3)}` } ], projectUrl: "https://github.com/Keyamoon/IcoMoon-Free", license: "CC BY 4.0 License", licenseUrl: "https://creativecommons.org/licenses/by/4.0/" }, { id: "hi", name: "Heroicons", contents: [ { files: path.resolve(__dirname, "heroicons/solid/*.svg"), formatter: name => `Hi${name}` }, { files: path.resolve(__dirname, "heroicons/outline/*.svg"), formatter: name => `HiOutline${name}` } ], projectUrl: "https://github.com/refactoringui/heroicons", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "vsc", name: "VS Code Icons", contents: [ { files: path.resolve(__dirname, "vscode-codicons/src/icons/*.svg"), formatter: name => `Vsc${name}` } ], projectUrl: "https://github.com/microsoft/vscode-codicons", license: "CC BY 4.0", licenseUrl: "https://creativecommons.org/licenses/by/4.0/" }, { id: "fl", name: "Flags Icons", contents: [ { files: path.resolve(__dirname, "flag-icon-css/flags/1x1/*.svg"), formatter: name => `Fl${name}` } ], projectUrl: "https://github.com/lipis/flag-icon-css", license: "MIT License", licenseUrl: "https://github.com/lipis/flag-icon-css/blob/master/LICENSE" }, { id: "lg", name: "Logos Icons", contents: [ { files: path.resolve(__dirname, "logos/logos/*.svg"), formatter: name => `Lg${name}` } ], projectUrl: "https://github.com/gilbarbara/logos", license: "CC0 1.0 Universal", licenseUrl: "https://github.com/gilbarbara/logos/blob/master/LICENSE.txt" }, { id: "bi", name: "Boxicons", contents: [ { files: path.resolve(__dirname, "boxicons/svg/*/*.svg"), formatter: name => `Bi${name.replace("Bx", "")}` } ], projectUrl: "https://github.com/atisawd/boxicons", license: "CC BY 4.0 License", licenseUrl: "https://creativecommons.org/licenses/by/4.0/" }, { id: "cr", name: "Cryptoicons", contents: [ { files: path.resolve(__dirname, "cryptocurrency-icons/svg/black/*.svg"), formatter: name => `Cr${name}` } ], projectUrl: "https://github.com/spothq/cryptocurrency-icons", license: "CC0 1.0 Universal", licenseUrl: "https://github.com/spothq/cryptocurrency-icons/blob/master/LICENSE.md" }, { id: "en", name: "Entypo", contents: [ { files: path.resolve(__dirname, "entypo/src/*/*.svg"), formatter: name => { return `En${name.replace("+", "Plus").replace('%', 'Percent')}` } } ], projectUrl: "https://github.com/hypermodules/entypo", license: "ISC License", licenseUrl: "https://github.com/hypermodules/entypo/blob/master/LICENSE.md" }, { id: "fd", name: "Foundation", contents: [ { files: path.resolve(__dirname, "foundation-icons-3/svgs/*.svg"), formatter: name => `Fd${name.replace("Fi", "")}` } ], projectUrl: "https://github.com/meronex/foundation-icons-3", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "zo", name: "Zondicons", contents: [ { files: path.resolve(__dirname, "zondicons/src/*.svg"), formatter: name => `Zo${name}` } ], projectUrl: "https://github.com/dukestreetstudio/zondicons", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "ei", name: "Evil Icons", contents: [ { files: path.resolve(__dirname, "evil-icons/assets/icons/*.svg"), } ], projectUrl: "https://github.com/dukestreetstudio/zondicons", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "oi", name: "Open Iconic", contents: [ { files: path.resolve(__dirname, "open-iconic/svg/*.svg"), formatter: name => `Oi${name}` } ], projectUrl: "https://github.com/iconic/open-iconic", license: "MIT", licenseUrl: "https://opensource.org/licenses/MIT" }, { id: "su", name: "System Uicons", contents: [ { files: path.resolve(__dirname, "system-uicons/src/images/icons/*.svg"), formatter: name => `Su${name}` } ], projectUrl: "https://github.com/CoreyGinnivan/system-uicons", license: "The Unlicense", licenseUrl: "https://github.com/CoreyGinnivan/system-uicons/blob/master/LICENSE" } ] };