UNPKG

react-icons

Version:

SVG React icons of popular icon packs using ES6 imports

200 lines (198 loc) 5.79 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: "io", name: "Ionicons", contents: [ { files: path.resolve( __dirname, "../../../../node_modules/ionicons/dist/collection/icon/svg/*.svg" ), formatter: name => `Io${name}` } ], 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" } ] };