149 lines
30 KiB
JSON
149 lines
30 KiB
JSON
|
{
|
||
|
"_args": [
|
||
|
[
|
||
|
{
|
||
|
"raw": "react-native-vector-icons@4.4.2",
|
||
|
"scope": null,
|
||
|
"escapedName": "react-native-vector-icons",
|
||
|
"name": "react-native-vector-icons",
|
||
|
"rawSpec": "4.4.2",
|
||
|
"spec": "4.4.2",
|
||
|
"type": "version"
|
||
|
},
|
||
|
"/home/jdaugherty/work/GT2/GT2-Android/node_modules/@expo/vector-icons"
|
||
|
]
|
||
|
],
|
||
|
"_from": "react-native-vector-icons@4.4.2",
|
||
|
"_id": "react-native-vector-icons@4.4.2",
|
||
|
"_inCache": true,
|
||
|
"_location": "/react-native-vector-icons",
|
||
|
"_nodeVersion": "8.6.0",
|
||
|
"_npmOperationalInternal": {
|
||
|
"host": "s3://npm-registry-packages",
|
||
|
"tmp": "tmp/react-native-vector-icons-4.4.2.tgz_1507456115330_0.926205015508458"
|
||
|
},
|
||
|
"_npmUser": {
|
||
|
"name": "oblador",
|
||
|
"email": "joel@oblador.se"
|
||
|
},
|
||
|
"_npmVersion": "5.3.0",
|
||
|
"_phantomChildren": {},
|
||
|
"_requested": {
|
||
|
"raw": "react-native-vector-icons@4.4.2",
|
||
|
"scope": null,
|
||
|
"escapedName": "react-native-vector-icons",
|
||
|
"name": "react-native-vector-icons",
|
||
|
"rawSpec": "4.4.2",
|
||
|
"spec": "4.4.2",
|
||
|
"type": "version"
|
||
|
},
|
||
|
"_requiredBy": [
|
||
|
"/@expo/vector-icons"
|
||
|
],
|
||
|
"_resolved": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-4.4.2.tgz",
|
||
|
"_shasum": "090f42ee0396c4cc4eae0ddaa518028ba8df40c7",
|
||
|
"_shrinkwrap": null,
|
||
|
"_spec": "react-native-vector-icons@4.4.2",
|
||
|
"_where": "/home/jdaugherty/work/GT2/GT2-Android/node_modules/@expo/vector-icons",
|
||
|
"author": {
|
||
|
"name": "Joel Arvidsson",
|
||
|
"email": "joel@oblador.se"
|
||
|
},
|
||
|
"bin": {
|
||
|
"generate-icon": "./bin/generate-icon.js"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/oblador/react-native-vector-icons/issues"
|
||
|
},
|
||
|
"dependencies": {
|
||
|
"lodash": "^4.0.0",
|
||
|
"prop-types": "^15.5.10",
|
||
|
"yargs": "^8.0.2"
|
||
|
},
|
||
|
"description": "Customizable Icons for React Native with support for NavBar/TabBar/ToolbarAndroid, image source and full styling.",
|
||
|
"devDependencies": {
|
||
|
"babel-cli": "^6.24.1",
|
||
|
"babel-eslint": "^8.0.0",
|
||
|
"babel-preset-react-native": "^4.0.0",
|
||
|
"eslint": "^4.3.0",
|
||
|
"eslint-config-airbnb": "^15.1.0",
|
||
|
"eslint-config-prettier": "^2.3.0",
|
||
|
"eslint-plugin-import": "^2.7.0",
|
||
|
"eslint-plugin-jsx-a11y": "^5.1.1",
|
||
|
"eslint-plugin-prettier": "^2.1.2",
|
||
|
"eslint-plugin-react": "^7.1.0",
|
||
|
"evil-icons": "^1.8.0",
|
||
|
"font-awesome": "^4.6.3",
|
||
|
"ionicons": "^3.0.0",
|
||
|
"material-design-icons": "^3.0.1",
|
||
|
"mdi": "^2.0.46",
|
||
|
"octicons": "^6.0.1",
|
||
|
"prettier": "^1.5.3"
|
||
|
},
|
||
|
"directories": {},
|
||
|
"dist": {
|
||
|
"integrity": "sha512-0E53c7OolA6nMuQdh4gTuYKGe0yPuVbNXHfty0gJoE3Bct80JE8Q8Rrlv8xWSFe8jqYcSPiUr8Lg1+G8LAttYg==",
|
||
|
"shasum": "090f42ee0396c4cc4eae0ddaa518028ba8df40c7",
|
||
|
"tarball": "https://registry.npmjs.org/react-native-vector-icons/-/react-native-vector-icons-4.4.2.tgz"
|
||
|
},
|
||
|
"gitHead": "ecb663003c5a0ffeacaeba7edfc95677a5985e22",
|
||
|
"homepage": "https://github.com/oblador/react-native-vector-icons",
|
||
|
"keywords": [
|
||
|
"react-native",
|
||
|
"react-component",
|
||
|
"react-native-component",
|
||
|
"react",
|
||
|
"mobile",
|
||
|
"ios",
|
||
|
"android",
|
||
|
"osx",
|
||
|
"windows",
|
||
|
"macos",
|
||
|
"ui",
|
||
|
"icon",
|
||
|
"icons",
|
||
|
"vector",
|
||
|
"retina",
|
||
|
"font"
|
||
|
],
|
||
|
"license": "MIT",
|
||
|
"main": "dist/index.js",
|
||
|
"maintainers": [
|
||
|
{
|
||
|
"name": "oblador",
|
||
|
"email": "joel@oblador.se"
|
||
|
}
|
||
|
],
|
||
|
"name": "react-native-vector-icons",
|
||
|
"optionalDependencies": {},
|
||
|
"readme": "![Vector Icons for React Native](https://cloud.githubusercontent.com/assets/378279/12009887/33f4ae1c-ac8d-11e5-8666-7a87458753ee.png)\n\n[![Travis](https://img.shields.io/travis/oblador/react-native-vector-icons.svg)](https://travis-ci.org/oblador/react-native-vector-icons) [![npm](https://img.shields.io/npm/v/react-native-vector-icons.svg)](https://npmjs.com/package/react-native-vector-icons) [![npm](https://img.shields.io/npm/dm/react-native-vector-icons.svg)](https://npmjs.com/package/react-native-vector-icons) [![Issue Stats](https://img.shields.io/issuestats/i/github/oblador/react-native-vector-icons.svg)](http://github.com/oblador/react-native-vector-icons/issues)\n\nPerfect for buttons, logos and nav/tab bars. Easy to extend, style and integrate into your project. \n\n## Bundled Icon Sets\n\n[Browse all](https://oblador.github.io/react-native-vector-icons/).\n\n* [`Entypo`](http://entypo.com) by Daniel Bruce (**411** icons) \n* [`EvilIcons`](http://evil-icons.io) by Alexander Madyankin & Roman Shamin (v1.8.0, **70** icons) \n* [`Feather`](http://feathericons.com) by Cole Bemis & Contributors (v3.2.2, **240** icons) \n* [`FontAwesome`](http://fortawesome.github.io/Font-Awesome/icons/) by Dave Gandy (v4.7.0, **675** icons) \n* [`Foundation`](http://zurb.com/playground/foundation-icon-fonts-3) by ZURB, Inc. (v3.0, **283** icons)\n* [`Ionicons`](http://ionicframework.com/docs/v2/ionicons/) by Ben Sperry (v3.0.0, **859** icons)\n* [`MaterialIcons`](https://www.google.com/design/icons/) by Google, Inc. (v3.0.1, **932** icons)\n* [`MaterialCommunityIcons`](https://materialdesignicons.com/) by MaterialDesignIcons.com (v2.0.46, **2046** icons)\n* [`Octicons`](http://octicons.github.com) by Github, Inc. (v6.0.1, **177** icons)\n* [`Zocial`](http://zocial.smcllns.com/) by Sam Collins (v1.0, **100** icons)\n* [`SimpleLineIcons`](http://simplelineicons.com/) by Sabbir & Contributors (v2.4.1, **189** icons)\n\n## Installation\n\n1. Run: `$ npm install react-native-vector-icons --save`\n2. For each platform (iOS/Android/Windows) you plan to use, follow one of the options for the corresponding platform.\n\n### iOS \n\n#### Option: Manually\n\nIf you want to use any of the bundled icons, you need to add the icon fonts to your Xcode project. Just follow these steps:\n\n* Browse to `node_modules/react-native-vector-icons` and drag the folder `Fonts` (or just the ones you want) to your project in Xcode. **Make sure your app is checked under \"Add to targets\" and that \"Create groups\" is checked if you add the whole folder**.\n* Edit `Info.plist` and add a property called **Fonts provided by application** (or `UIAppFonts` if Xcode won't autocomplete/not using Xcode) and type in the files you just added. It will look something like this:\n\n![XCode screenshot](https://cloud.githubusercontent.com/assets/378279/12421498/2db1f93a-be88-11e5-89c8-2e563ba6251a.png)\n\n*Note: you need to recompile your project after adding new fonts, also ensure that they also appear under __Copy Bundle Resources__ in __Build Phases__.*\n\nIf you want to use the TabBar/NavigatorIOS integration or use `getImageSource`, then you need to add `RNVectorIcons.xcodeproj` to **Libraries** and add `libRNVectorIcons.a` to **Link Binary With Libraries** under **Build Phases**. [More info and screenshots about how to do this is available in the React Native documentation](http://facebook.github.io/react-native/docs/linking-libraries-ios.html#content).\n\n#### Option: With [CocoaPods](https://cocoapods.org/)\n\nAdd the following to your `Podfile` and run `pod update`:\n\n```\npod 'RNVectorIcons', :path => 'node_modules/react-native-vector-icons'\n```\n\nEdit `Info.plist` as described above. \n\nIf you are using `use_frameworks!` in your `Podfile` you instead need to dynamically load the icon font by doing `Icon.loadFont()` when boostrapping your application.\n\n#### Option: With `rnpm`\n\n`$ react-native link`\n\n*Note: Some users are having trouble using this method, try one of the others if you are too.*\n\n### Android\n\n#### Option: With Gradle (recomm
|
||
|
"readmeFilename": "README.md",
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git://github.com/oblador/react-native-vector-icons.git"
|
||
|
},
|
||
|
"rnpm": {
|
||
|
"assets": [
|
||
|
"Fonts"
|
||
|
]
|
||
|
},
|
||
|
"scripts": {
|
||
|
"build": "rm -rf {Fonts,Entypo.js,EvilIcons.js,FontAwesome.js,Foundation.js,Ionicons.js,MaterialIcons.js,MaterialCommunityIcons.js,Octicons.js,Zocial.js,SimpleLineIcons.js,glyphmaps} && mkdir Fonts glyphmaps && npm run build-entypo && npm run build-evilicons && npm run build-fontawesome && npm run build-foundation && npm run build-ionicons && npm run build-materialicons && npm run build-materialcommunityicons && npm run build-octicons && npm run build-zocial && npm run build-simplelineicons",
|
||
|
"build-entypo": "mkdir -p tmp/svg && curl https://dl.dropboxusercontent.com/u/4339492/entypo.zip > tmp/entypo.zip && unzip -j tmp/entypo.zip *.svg -x __MACOSX/* -d tmp/svg && fontcustom compile tmp/svg -o tmp -n Entypo -t css -h && node bin/generate-icon tmp/Entypo.css --componentName=Entypo --fontFamily=Entypo --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/Entypo.json > Entypo.js && cp tmp/Entypo.ttf Fonts && rm -rf {tmp,.fontcustom-manifest.json}",
|
||
|
"build-evilicons": "fontcustom compile node_modules/evil-icons/assets/icons -o tmp -n EvilIcons -t css -h && node bin/generate-icon tmp/EvilIcons.css --prefix=.icon-ei- --componentName=EvilIcons --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/EvilIcons.json --fontFamily=EvilIcons > EvilIcons.js && cp tmp/EvilIcons.ttf Fonts && rm -rf {tmp,.fontcustom-manifest.json}",
|
||
|
"build-feather": "node bin/generate-icon Feather/style.css --componentName=Feather --fontFamily=Feather --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/Feather.json > Feather.js && cp Feather/fonts/Feather.ttf Fonts/Feather.ttf",
|
||
|
"build-fontawesome": "node bin/generate-icon node_modules/font-awesome/css/font-awesome.css --prefix=.fa- --componentName=FontAwesome --fontFamily=FontAwesome --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/FontAwesome.json > FontAwesome.js && cp node_modules/font-awesome/fonts/fontawesome-webfont.ttf Fonts/FontAwesome.ttf",
|
||
|
"build-foundation": "node bin/generate-icon bower_components/foundation-icon-fonts/foundation-icons.css --prefix=.fi- --componentName=Foundation --fontFamily=fontcustom --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/Foundation.json > Foundation.js && cp bower_components/foundation-icon-fonts/foundation-icons.ttf Fonts/Foundation.ttf",
|
||
|
"build-ionicons": "node bin/generate-icon node_modules/ionicons/dist/css/ionicons.css --prefix=.ion- --componentName=Ionicons --fontFamily=Ionicons --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/Ionicons.json > Ionicons.js && cp node_modules/ionicons/dist/fonts/ionicons.ttf Fonts/Ionicons.ttf",
|
||
|
"build-materialcommunityicons": "node bin/generate-icon node_modules/mdi/css/materialdesignicons.css --prefix=.mdi- --componentName=MaterialCommunityIcons --fontFamily='Material Design Icons' --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/MaterialCommunityIcons.json > MaterialCommunityIcons.js && cp node_modules/mdi/fonts/materialdesignicons-webfont.ttf Fonts/MaterialCommunityIcons.ttf",
|
||
|
"build-materialicons": "node bin/generate-material-icons node_modules/material-design-icons/iconfont/codepoints --componentName=MaterialIcons --fontFamily='Material Icons' --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/MaterialIcons.json > MaterialIcons.js && cp node_modules/material-design-icons/iconfont/MaterialIcons-Regular.ttf Fonts/MaterialIcons.ttf",
|
||
|
"build-octicons": "fontcustom compile node_modules/octicons/build/svg -o tmp -n Octicons -t css -h && node bin/generate-icon tmp/Octicons.css --prefix=.icon- --componentName=Octicons --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/Octicons.json --fontFamily=Octicons > Octicons.js && cp tmp/Octicons.ttf Fonts && rm -rf {tmp,.fontcustom-manifest.json}",
|
||
|
"build-simplelineicons": "node bin/generate-icon bower_components/simple-line-icons/css/simple-line-icons.css --prefix=.icon- --componentName=SimpleLineIcons --fontFamily=simple-line-icons --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/SimpleLineIcons.json > SimpleLineIcons.js && cp bower_components/simple-line-icons/fonts/Simple-Line-Icons.ttf Fonts/SimpleLineIcons.ttf",
|
||
|
"build-web": "rm -rf ./dist && babel ./{,lib}/*.js --out-dir ./dist && cp -R ./glyphmaps ./dist/glyphmaps",
|
||
|
"build-zocial": "node bin/generate-icon bower_components/css-social-buttons/css/zocial.css --prefix=.zocial. --componentName=Zocial --fontFamily=zocial --template=templates/separated-icon-set.tpl --glyphmap=glyphmaps/Zocial.json > Zocial.js && cp bower_components/css-social-buttons/css/zocial.ttf Fonts/Zocial.ttf",
|
||
|
"prepublish": "npm run build-web",
|
||
|
"test": "eslint index.js {bin,lib}/*.js"
|
||
|
},
|
||
|
"version": "4.4.2"
|
||
|
}
|