├── .gitignore ├── src ├── react-native-remote-svg.d.ts └── index.tsx ├── avataaars.png ├── package.json ├── LICENSE ├── dist └── index.js ├── README.md ├── tsconfig.json └── yarn.lock /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules/ -------------------------------------------------------------------------------- /src/react-native-remote-svg.d.ts: -------------------------------------------------------------------------------- 1 | declare module "react-native-remote-svg"; 2 | -------------------------------------------------------------------------------- /avataaars.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tom555my/react-native-avataaars/HEAD/avataaars.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-avataaars", 3 | "keywords": [ 4 | "react", 5 | "native", 6 | "react-native", 7 | "avataaars", 8 | "react-native-avataaars", 9 | "avatar" 10 | ], 11 | "homepage": "https://github.com/tom555my/react-native-avataaars", 12 | "bugs": "https://github.com/tom555my/react-native-avataaars/issues", 13 | "version": "1.0.1", 14 | "description": "React Native component for Avataaars", 15 | "main": "dist/index.js", 16 | "repository": { 17 | "url": "https://github.com/tom555my/react-native-avataaars", 18 | "type": "git" 19 | }, 20 | "author": "Tommy Chung ", 21 | "license": "MIT", 22 | "devDependencies": { 23 | "@types/react": "^16.7.18", 24 | "@types/react-dom": "^16.0.11", 25 | "@types/react-native": "^0.57.26", 26 | "typescript": "^3.2.2" 27 | }, 28 | "dependencies": { 29 | "avataaars": "^1.2.1", 30 | "react-native-remote-svg": "^1.4.0" 31 | } 32 | } 33 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) [2019] [Kwok Cheong, CHUNG] 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- 1 | import * as React from "react"; 2 | import { PixelRatio } from "react-native"; 3 | import ReactDOMServer from "react-dom/server"; 4 | import Image from "react-native-remote-svg"; 5 | import { default as AvatarReact, Piece as PieceReact } from "avataaars"; 6 | 7 | export interface Props { 8 | avatarStyle: string; 9 | size: number; 10 | topType?: string; 11 | accessoriesType?: string; 12 | hairColor?: string; 13 | facialHairType?: string; 14 | facialHairColor?: string; 15 | clotheType?: string; 16 | clotheColor?: string; 17 | graphicType?: string; 18 | eyeType?: string; 19 | eyebrowType?: string; 20 | mouthType?: string; 21 | skinColor?: string; 22 | pieceType?: string; 23 | pieceSize?: string; 24 | } 25 | 26 | export class Avatar extends React.Component { 27 | render() { 28 | const { size } = this.props; 29 | return ( 30 | 44 | )}` 45 | }} 46 | style={{ 47 | width: size, 48 | height: size 49 | }} 50 | /> 51 | ); 52 | } 53 | } 54 | 55 | export class Piece extends React.Component { 56 | render() { 57 | const { pieceSize } = this.props; 58 | return ( 59 | 63 | )}` 64 | }} 65 | style={{ 66 | width: Number(pieceSize), 67 | height: Number(pieceSize) 68 | }} 69 | /> 70 | ); 71 | } 72 | } 73 | -------------------------------------------------------------------------------- /dist/index.js: -------------------------------------------------------------------------------- 1 | var __extends = (this && this.__extends) || (function () { 2 | var extendStatics = function (d, b) { 3 | extendStatics = Object.setPrototypeOf || 4 | ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 5 | function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; }; 6 | return extendStatics(d, b); 7 | }; 8 | return function (d, b) { 9 | extendStatics(d, b); 10 | function __() { this.constructor = d; } 11 | d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 12 | }; 13 | })(); 14 | var __assign = (this && this.__assign) || function () { 15 | __assign = Object.assign || function(t) { 16 | for (var s, i = 1, n = arguments.length; i < n; i++) { 17 | s = arguments[i]; 18 | for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) 19 | t[p] = s[p]; 20 | } 21 | return t; 22 | }; 23 | return __assign.apply(this, arguments); 24 | }; 25 | import * as React from "react"; 26 | import { PixelRatio } from "react-native"; 27 | import ReactDOMServer from "react-dom/server"; 28 | import Image from "react-native-remote-svg"; 29 | import { default as AvatarReact, Piece as PieceReact } from "avataaars"; 30 | var Avatar = (function (_super) { 31 | __extends(Avatar, _super); 32 | function Avatar() { 33 | return _super !== null && _super.apply(this, arguments) || this; 34 | } 35 | Avatar.prototype.render = function () { 36 | var size = this.props.size; 37 | return (React.createElement(Image, { source: { 38 | uri: "data:image/svg+xml;utf8," + ReactDOMServer.renderToString(React.createElement(AvatarReact, __assign({ style: { 39 | width: PixelRatio.getPixelSizeForLayoutSize(size), 40 | height: PixelRatio.getPixelSizeForLayoutSize(size) 41 | } }, this.props))) 42 | }, style: { 43 | width: size, 44 | height: size 45 | } })); 46 | }; 47 | return Avatar; 48 | }(React.Component)); 49 | export { Avatar }; 50 | var Piece = (function (_super) { 51 | __extends(Piece, _super); 52 | function Piece() { 53 | return _super !== null && _super.apply(this, arguments) || this; 54 | } 55 | Piece.prototype.render = function () { 56 | var pieceSize = this.props.pieceSize; 57 | return (React.createElement(Image, { source: { 58 | uri: "data:image/svg+xml;utf8," + ReactDOMServer.renderToString(React.createElement(PieceReact, __assign({}, this.props))) 59 | }, style: { 60 | width: Number(pieceSize), 61 | height: Number(pieceSize) 62 | } })); 63 | }; 64 | return Piece; 65 | }(React.Component)); 66 | export { Piece }; 67 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # React Native component for Avataaars 2 | 3 | A thin wrapper on top of [React component for Avataaars](https://github.com/fangpenlin/avataaars), developed by [Fang-Pen Lin](https://twitter.com/fangpenlin), which is the React component for [Avataaars](https://avataaars.com/). This package allow you to use [React component for Avataaars](https://github.com/fangpenlin/avataaars) in React Native! 4 | 5 |

6 | avataars 7 |

8 | 9 | ## Features 10 | 11 | 1. Just like [React component for Avataaars](https://github.com/fangpenlin/avataaars) but can be used in React Native Project 12 | 13 | ## Usage 14 | 15 | ```bash 16 | yarn add react-native-avataaars 17 | ``` 18 | 19 | or 20 | 21 | ```bash 22 | npm install react-native-avataaars --save 23 | ``` 24 | 25 | ```jsx 26 | ... 27 | import { Avatar } from "react-native-avataaars"; 28 | ... 29 | 30 | const YourComponent = props => ( 31 | 44 | ) 45 | ``` 46 | 47 | You may also use the Piece Element. 48 | 49 | ```jsx 50 | ... 51 | import { Piece } from "react-native-avataaars"; 52 | ... 53 | 54 | const YourComponent = props => ( 55 | 56 | 57 | 58 | 63 | 68 | 74 | 79 | 85 | 86 | 87 | 88 | ) 89 | ``` 90 | 91 | ## Credit 92 | 93 | Credit to [Fang-Pen Lin](https://twitter.com/fangpenlin) making such amazing package and shout out to [Shiva Nandan](https://github.com/seekshiva), creator of [react-native-remote-svg](https://github.com/seekshiva/react-native-remote-svg). You two make this package possible! 94 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | /* Basic Options */ 4 | "target": "es5", 5 | /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */ 6 | "module": "es2015", 7 | /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */ 8 | "lib": ["es2017"], 9 | /* Specify library files to be included in the compilation. */ 10 | // "allowJs": true, /* Allow javascript files to be compiled. */ 11 | // "checkJs": true, /* Report errors in .js files. */ 12 | "jsx": "react", 13 | /* Specify JSX code generation: 'preserve', 'react-native', or 'react'. */ 14 | // "declaration": true, /* Generates corresponding '.d.ts' file. */ 15 | // "declarationMap": true, /* Generates a sourcemap for each corresponding '.d.ts' file. */ 16 | // "sourceMap": true, /* Generates corresponding '.map' file. */ 17 | // "outFile": "./", /* Concatenate and emit output to single file. */ 18 | "outDir": "./dist", 19 | /* Redirect output structure to the directory. */ 20 | "rootDir": "./src", 21 | /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */ 22 | // "composite": true, /* Enable project compilation */ 23 | "removeComments": true, 24 | /* Do not emit comments to output. */ 25 | // "noEmit": true, 26 | /* Do not emit outputs. */ 27 | // "importHelpers": true, /* Import emit helpers from 'tslib'. */ 28 | // "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */ 29 | // "isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */ 30 | 31 | /* Strict Type-Checking Options */ 32 | "strict": true, 33 | /* Enable all strict type-checking options. */ 34 | // "noImplicitAny": true, /* Raise error on expressions and declarations with an implied 'any' type. */ 35 | // "strictNullChecks": true, /* Enable strict null checks. */ 36 | // "strictFunctionTypes": true, /* Enable strict checking of function types. */ 37 | // "strictBindCallApply": true, /* Enable strict 'bind', 'call', and 'apply' methods on functions. */ 38 | // "strictPropertyInitialization": true, /* Enable strict checking of property initialization in classes. */ 39 | // "noImplicitThis": true, /* Raise error on 'this' expressions with an implied 'any' type. */ 40 | // "alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */ 41 | 42 | /* Additional Checks */ 43 | // "noUnusedLocals": true, /* Report errors on unused locals. */ 44 | // "noUnusedParameters": true, /* Report errors on unused parameters. */ 45 | // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ 46 | // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ 47 | 48 | /* Module Resolution Options */ 49 | "moduleResolution": "node", 50 | /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */ 51 | // "baseUrl": "./", /* Base directory to resolve non-absolute module names. */ 52 | // "paths": {}, /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */ 53 | // "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */ 54 | // "typeRoots": [], /* List of folders to include type definitions from. */ 55 | // "types": [], /* Type declaration files to be included in compilation. */ 56 | "allowSyntheticDefaultImports": true, 57 | /* Allow default imports from modules with no default export. This does not affect code emit, just typechecking. */ 58 | "esModuleInterop": true /* Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'. */ 59 | // "preserveSymlinks": true, /* Do not resolve the real path of symlinks. */ 60 | 61 | /* Source Map Options */ 62 | // "sourceRoot": "", /* Specify the location where debugger should locate TypeScript files instead of source locations. */ 63 | // "mapRoot": "", /* Specify the location where debugger should locate map files instead of generated locations. */ 64 | // "inlineSourceMap": true, /* Emit a single file with source maps instead of having a separate file. */ 65 | // "inlineSources": true, /* Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set. */ 66 | 67 | /* Experimental Options */ 68 | // "experimentalDecorators": true, /* Enables experimental support for ES7 decorators. */ 69 | // "emitDecoratorMetadata": true, /* Enables experimental support for emitting type metadata for decorators. */ 70 | }, 71 | "exclude": [ 72 | "node_modules" 73 | ] 74 | } -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@types/prop-types@*": 6 | version "15.5.8" 7 | resolved "https://registry.yarnpkg.com/@types/prop-types/-/prop-types-15.5.8.tgz#8ae4e0ea205fe95c3901a5a1df7f66495e3a56ce" 8 | integrity sha512-3AQoUxQcQtLHsK25wtTWIoIpgYjH3vSDroZOUr7PpCHw/jLY1RB9z9E8dBT/OSmwStVgkRNvdh+ZHNiomRieaw== 9 | 10 | "@types/react-dom@^16.0.11": 11 | version "16.0.11" 12 | resolved "https://registry.yarnpkg.com/@types/react-dom/-/react-dom-16.0.11.tgz#bd10ccb0d9260343f4b9a49d4f7a8330a5c1f081" 13 | integrity sha512-x6zUx9/42B5Kl2Vl9HlopV8JF64wLpX3c+Pst9kc1HgzrsH+mkehe/zmHMQTplIrR48H2gpU7ZqurQolYu8XBA== 14 | dependencies: 15 | "@types/react" "*" 16 | 17 | "@types/react-native@^0.57.26": 18 | version "0.57.26" 19 | resolved "https://registry.yarnpkg.com/@types/react-native/-/react-native-0.57.26.tgz#d0a737d8a2b201d0aac84284c6a001793debc166" 20 | integrity sha512-MX+JCT2xwpkanLNjYb5V/TKJE0pj5HHEpgseiCNsxm9txjUdg5X59LZM3CHY1hn53qSssAEQYZYfXHjzRmkFQQ== 21 | dependencies: 22 | "@types/prop-types" "*" 23 | "@types/react" "*" 24 | 25 | "@types/react@*", "@types/react@^16.7.18": 26 | version "16.7.18" 27 | resolved "https://registry.yarnpkg.com/@types/react/-/react-16.7.18.tgz#f4ce0d539a893dd61e36cd11ae3a5e54f5a48337" 28 | integrity sha512-Tx4uu3ppK53/iHk6VpamMP3f3ahfDLEVt3ZQc8TFm30a1H3v9lMsCntBREswZIW/SKrvJjkb3Hq8UwO6GREBng== 29 | dependencies: 30 | "@types/prop-types" "*" 31 | csstype "^2.2.0" 32 | 33 | ansi-regex@^2.0.0: 34 | version "2.1.1" 35 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 36 | integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= 37 | 38 | ansi-styles@^2.2.1: 39 | version "2.2.1" 40 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 41 | integrity sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4= 42 | 43 | ansi-styles@^3.2.1: 44 | version "3.2.1" 45 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" 46 | integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== 47 | dependencies: 48 | color-convert "^1.9.0" 49 | 50 | avataaars@^1.2.1: 51 | version "1.2.1" 52 | resolved "https://registry.yarnpkg.com/avataaars/-/avataaars-1.2.1.tgz#8e2e968dbd7f558876f1f18f56973e7aa47afbec" 53 | integrity sha512-4MmcXx3EKGwkKqEtVRiKxM08MMib2KYC1o5DcotpLUVuoe5EkWNuhJVB2JAH753II4VzMK7fO2EA5rf5QirPQg== 54 | dependencies: 55 | lodash "^4.17.4" 56 | prop-types "^15.6.0" 57 | 58 | babel-code-frame@^6.26.0: 59 | version "6.26.0" 60 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 61 | integrity sha1-Y/1D99weO7fONZR9uP42mj9Yx0s= 62 | dependencies: 63 | chalk "^1.1.3" 64 | esutils "^2.0.2" 65 | js-tokens "^3.0.2" 66 | 67 | babel-messages@^6.23.0: 68 | version "6.23.0" 69 | resolved "https://registry.yarnpkg.com/babel-messages/-/babel-messages-6.23.0.tgz#f3cdf4703858035b2a2951c6ec5edf6c62f2630e" 70 | integrity sha1-8830cDhYA1sqKVHG7F7fbGLyYw4= 71 | dependencies: 72 | babel-runtime "^6.22.0" 73 | 74 | babel-runtime@^6.22.0, babel-runtime@^6.26.0: 75 | version "6.26.0" 76 | resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" 77 | integrity sha1-llxwWGaOgrVde/4E/yM3vItWR/4= 78 | dependencies: 79 | core-js "^2.4.0" 80 | regenerator-runtime "^0.11.0" 81 | 82 | babel-traverse@^6.26.0: 83 | version "6.26.0" 84 | resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.26.0.tgz#46a9cbd7edcc62c8e5c064e2d2d8d0f4035766ee" 85 | integrity sha1-RqnL1+3MYsjlwGTi0tjQ9ANXZu4= 86 | dependencies: 87 | babel-code-frame "^6.26.0" 88 | babel-messages "^6.23.0" 89 | babel-runtime "^6.26.0" 90 | babel-types "^6.26.0" 91 | babylon "^6.18.0" 92 | debug "^2.6.8" 93 | globals "^9.18.0" 94 | invariant "^2.2.2" 95 | lodash "^4.17.4" 96 | 97 | babel-types@^6.26.0: 98 | version "6.26.0" 99 | resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.26.0.tgz#a3b073f94ab49eb6fa55cd65227a334380632497" 100 | integrity sha1-o7Bz+Uq0nrb6Vc1lInozQ4BjJJc= 101 | dependencies: 102 | babel-runtime "^6.26.0" 103 | esutils "^2.0.2" 104 | lodash "^4.17.4" 105 | to-fast-properties "^1.0.3" 106 | 107 | babylon@^6.18.0: 108 | version "6.18.0" 109 | resolved "https://registry.yarnpkg.com/babylon/-/babylon-6.18.0.tgz#af2f3b88fa6f5c1e4c634d1a0f8eac4f55b395e3" 110 | integrity sha512-q/UEjfGJ2Cm3oKV71DJz9d25TPnq5rhBVL2Q4fA5wcC3jcrdn7+SssEybFIxwAvvP+YCsCYNKughoF33GxgycQ== 111 | 112 | chalk@^1.1.3: 113 | version "1.1.3" 114 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 115 | integrity sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg= 116 | dependencies: 117 | ansi-styles "^2.2.1" 118 | escape-string-regexp "^1.0.2" 119 | has-ansi "^2.0.0" 120 | strip-ansi "^3.0.0" 121 | supports-color "^2.0.0" 122 | 123 | chalk@^2.4.0: 124 | version "2.4.2" 125 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" 126 | integrity sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ== 127 | dependencies: 128 | ansi-styles "^3.2.1" 129 | escape-string-regexp "^1.0.5" 130 | supports-color "^5.3.0" 131 | 132 | color-convert@^1.9.0: 133 | version "1.9.3" 134 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.3.tgz#bb71850690e1f136567de629d2d5471deda4c1e8" 135 | integrity sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg== 136 | dependencies: 137 | color-name "1.1.3" 138 | 139 | color-name@1.1.3: 140 | version "1.1.3" 141 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" 142 | integrity sha1-p9BVi9icQveV3UIyj3QIMcpTvCU= 143 | 144 | core-js@^2.4.0: 145 | version "2.6.1" 146 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.1.tgz#87416ae817de957a3f249b3b5ca475d4aaed6042" 147 | integrity sha512-L72mmmEayPJBejKIWe2pYtGis5r0tQ5NaJekdhyXgeMQTpJoBsH0NL4ElY2LfSoV15xeQWKQ+XTTOZdyero5Xg== 148 | 149 | csstype@^2.2.0: 150 | version "2.6.0" 151 | resolved "https://registry.yarnpkg.com/csstype/-/csstype-2.6.0.tgz#6cf7b2fa7fc32aab3d746802c244d4eda71371a2" 152 | integrity sha512-by8hi8BlLbowQq0qtkx54d9aN73R9oUW20HISpka5kmgsR9F7nnxgfsemuR2sdCKZh+CDNf5egW9UZMm4mgJRg== 153 | 154 | debug@^2.6.8: 155 | version "2.6.9" 156 | resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" 157 | integrity sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA== 158 | dependencies: 159 | ms "2.0.0" 160 | 161 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 162 | version "1.0.5" 163 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 164 | integrity sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ= 165 | 166 | esutils@^2.0.2: 167 | version "2.0.2" 168 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 169 | integrity sha1-Cr9PHKpbyx96nYrMbepPqqBLrJs= 170 | 171 | find-root@^1.1.0: 172 | version "1.1.0" 173 | resolved "https://registry.yarnpkg.com/find-root/-/find-root-1.1.0.tgz#abcfc8ba76f708c42a97b3d685b7e9450bfb9ce4" 174 | integrity sha512-NKfW6bec6GfKc0SGx1e07QZY9PE99u0Bft/0rzSD5k3sO/vwkVUpDUKVm5Gpp5Ue3YfShPFTX2070tDs5kB9Ng== 175 | 176 | globals@^9.18.0: 177 | version "9.18.0" 178 | resolved "https://registry.yarnpkg.com/globals/-/globals-9.18.0.tgz#aa3896b3e69b487f17e31ed2143d69a8e30c2d8a" 179 | integrity sha512-S0nG3CLEQiY/ILxqtztTWH/3iRRdyBLw6KMDxnKMchrtbj2OFmehVh0WUCfW3DUrIgx/qFrJPICrq4Z4sTR9UQ== 180 | 181 | has-ansi@^2.0.0: 182 | version "2.0.0" 183 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 184 | integrity sha1-NPUEnOHs3ysGSa8+8k5F7TVBbZE= 185 | dependencies: 186 | ansi-regex "^2.0.0" 187 | 188 | has-flag@^3.0.0: 189 | version "3.0.0" 190 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" 191 | integrity sha1-tdRU3CGZriJWmfNGfloH87lVuv0= 192 | 193 | invariant@^2.2.2: 194 | version "2.2.4" 195 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.4.tgz#610f3c92c9359ce1db616e538008d23ff35158e6" 196 | integrity sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA== 197 | dependencies: 198 | loose-envify "^1.0.0" 199 | 200 | jju@^1.3.0: 201 | version "1.4.0" 202 | resolved "https://registry.yarnpkg.com/jju/-/jju-1.4.0.tgz#a3abe2718af241a2b2904f84a625970f389ae32a" 203 | integrity sha1-o6vicYryQaKykE+EpiWXDzia4yo= 204 | 205 | "js-tokens@^3.0.0 || ^4.0.0": 206 | version "4.0.0" 207 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-4.0.0.tgz#19203fb59991df98e3a287050d4647cdeaf32499" 208 | integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ== 209 | 210 | js-tokens@^3.0.2: 211 | version "3.0.2" 212 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 213 | integrity sha1-mGbfOVECEw449/mWvOtlRDIJwls= 214 | 215 | lodash@^4.17.4: 216 | version "4.17.11" 217 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.11.tgz#b39ea6229ef607ecd89e2c8df12536891cac9b8d" 218 | integrity sha512-cQKh8igo5QUhZ7lg38DYWAxMvjSAKG0A8wGSVimP07SIUEK2UO+arSRKbRZWtelMtN5V0Hkwh5ryOto/SshYIg== 219 | 220 | loose-envify@^1.0.0, loose-envify@^1.3.1: 221 | version "1.4.0" 222 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" 223 | integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== 224 | dependencies: 225 | js-tokens "^3.0.0 || ^4.0.0" 226 | 227 | ms@2.0.0: 228 | version "2.0.0" 229 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 230 | integrity sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g= 231 | 232 | object-assign@^4.1.1: 233 | version "4.1.1" 234 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 235 | integrity sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM= 236 | 237 | prop-types@^15.6.0: 238 | version "15.6.2" 239 | resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.2.tgz#05d5ca77b4453e985d60fc7ff8c859094a497102" 240 | integrity sha512-3pboPvLiWD7dkI3qf3KbUe6hKFKa52w+AE0VCqECtf+QHAKgOL37tTaNCnuX1nAAQ4ZhyP+kYVKf8rLmJ/feDQ== 241 | dependencies: 242 | loose-envify "^1.3.1" 243 | object-assign "^4.1.1" 244 | 245 | react-native-remote-svg@^1.4.0: 246 | version "1.4.0" 247 | resolved "https://registry.yarnpkg.com/react-native-remote-svg/-/react-native-remote-svg-1.4.0.tgz#ec2489d6eaeb5930c91ac880ed98368b6f88b054" 248 | integrity sha512-cmmYJHVR4KDYVUpngdxgxWHUK09UTBtMmFs0N8jt1Wdhrq0ptQJJjgYeuSFYntJjl8gxXzmZm8e82P20ohKcaA== 249 | 250 | react-native-typescript-transformer@^1.2.11: 251 | version "1.2.11" 252 | resolved "https://registry.yarnpkg.com/react-native-typescript-transformer/-/react-native-typescript-transformer-1.2.11.tgz#679398c27262cf941e5a5f3ea45cf7eea715d557" 253 | integrity sha512-Kz/t1CQI4L2MrZQHI4fh5gkrPbNBaxim74QF0d02vg+4vlxHnn4iye8vI7WM9cWZdNUnN5IafrNn3ah5dWtElQ== 254 | dependencies: 255 | babel-traverse "^6.26.0" 256 | chalk "^2.4.0" 257 | find-root "^1.1.0" 258 | jju "^1.3.0" 259 | semver "^5.4.1" 260 | source-map "^0.5.6" 261 | 262 | regenerator-runtime@^0.11.0: 263 | version "0.11.1" 264 | resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" 265 | integrity sha512-MguG95oij0fC3QV3URf4V2SDYGJhJnJGqvIIgdECeODCT98wSWDAJ94SSuVpYQUoTcGUIL6L4yNB7j1DFFHSBg== 266 | 267 | semver@^5.4.1: 268 | version "5.6.0" 269 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.6.0.tgz#7e74256fbaa49c75aa7c7a205cc22799cac80004" 270 | integrity sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg== 271 | 272 | source-map@^0.5.6: 273 | version "0.5.7" 274 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 275 | integrity sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w= 276 | 277 | strip-ansi@^3.0.0: 278 | version "3.0.1" 279 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 280 | integrity sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8= 281 | dependencies: 282 | ansi-regex "^2.0.0" 283 | 284 | supports-color@^2.0.0: 285 | version "2.0.0" 286 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 287 | integrity sha1-U10EXOa2Nj+kARcIRimZXp3zJMc= 288 | 289 | supports-color@^5.3.0: 290 | version "5.5.0" 291 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" 292 | integrity sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow== 293 | dependencies: 294 | has-flag "^3.0.0" 295 | 296 | to-fast-properties@^1.0.3: 297 | version "1.0.3" 298 | resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" 299 | integrity sha1-uDVx+k2MJbguIxsG46MFXeTKGkc= 300 | 301 | typescript@^3.2.2: 302 | version "3.2.2" 303 | resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.2.2.tgz#fe8101c46aa123f8353523ebdcf5730c2ae493e5" 304 | integrity sha512-VCj5UiSyHBjwfYacmDuc/NOk4QQixbE+Wn7MFJuS0nRuPQbof132Pw4u53dm264O8LPc2MVsc7RJNml5szurkg== 305 | --------------------------------------------------------------------------------