├── .eslintrc.json ├── .gitignore ├── .npmignore ├── .travis.yml ├── Example ├── .babelrc ├── .buckconfig ├── .flowconfig ├── .gitattributes ├── .gitignore ├── .watchmanconfig ├── android │ ├── app │ │ ├── BUCK │ │ ├── build.gradle │ │ ├── proguard-rules.pro │ │ └── src │ │ │ └── main │ │ │ ├── AndroidManifest.xml │ │ │ ├── java │ │ │ └── com │ │ │ │ └── example │ │ │ │ ├── MainActivity.java │ │ │ │ └── MainApplication.java │ │ │ └── res │ │ │ ├── mipmap-hdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-mdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xhdpi │ │ │ └── ic_launcher.png │ │ │ ├── mipmap-xxhdpi │ │ │ └── ic_launcher.png │ │ │ └── values │ │ │ ├── strings.xml │ │ │ └── styles.xml │ ├── build.gradle │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── keystores │ │ ├── BUCK │ │ └── debug.keystore.properties │ └── settings.gradle ├── index.android.js ├── index.ios.js ├── ios │ ├── Example.xcodeproj │ │ ├── project.pbxproj │ │ └── xcshareddata │ │ │ └── xcschemes │ │ │ └── Example.xcscheme │ ├── Example │ │ ├── AppDelegate.h │ │ ├── AppDelegate.m │ │ ├── Base.lproj │ │ │ └── LaunchScreen.xib │ │ ├── Images.xcassets │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── Info.plist │ │ └── main.m │ └── ExampleTests │ │ ├── ExampleTests.m │ │ └── Info.plist ├── package.json └── yarn.lock ├── LICENSE ├── README.md ├── package.json ├── src ├── Image.js ├── ImageCrop.js └── index.js └── yarn.lock /.eslintrc.json: -------------------------------------------------------------------------------- 1 | { 2 | "env": { 3 | "es6": true, 4 | "node": true 5 | }, 6 | "extends": "eslint:recommended", 7 | "parserOptions": { 8 | "ecmaFeatures": { 9 | "experimentalObjectRestSpread": true, 10 | "jsx": true 11 | }, 12 | "sourceType": "module" 13 | }, 14 | "plugins": [ 15 | "react" 16 | ], 17 | "rules": { 18 | "comma-dangle": 0, // disallow trailing commas in object literals 19 | "no-cond-assign": 1, // disallow assignment in conditional expressions 20 | "no-console": 0, // disallow use of console (off by default in the node environment) 21 | "no-constant-condition": 0, // disallow use of constant expressions in conditions 22 | "no-control-regex": 1, // disallow control characters in regular expressions 23 | "no-debugger": 1, // disallow use of debugger 24 | "no-dupe-keys": 2, // disallow duplicate keys when creating object literals 25 | "no-empty": 0, // disallow empty statements 26 | "no-empty-character-class": 1, // disallow the use of empty character classes in regular expressions 27 | "no-ex-assign": 1, // disallow assigning to the exception in a catch block 28 | "no-extra-boolean-cast": 1, // disallow double-negation boolean casts in a boolean context 29 | "no-extra-parens": 0, // disallow unnecessary parentheses (off by default) 30 | "no-extra-semi": 1, // disallow unnecessary semicolons 31 | "no-func-assign": 0, // disallow overwriting functions written as function declarations 32 | "no-inner-declarations": 0, // disallow function or variable declarations in nested blocks 33 | "no-invalid-regexp": 1, // disallow invalid regular expression strings in the RegExp constructor 34 | "no-negated-in-lhs": 1, // disallow negation of the left operand of an in expression 35 | "no-obj-calls": 1, // disallow the use of object properties of the global object (Math and JSON) as functions 36 | "no-regex-spaces": 1, // disallow multiple spaces in a regular expression literal 37 | "no-reserved-keys": 0, // disallow reserved words being used as object literal keys (off by default) 38 | "no-sparse-arrays": 1, // disallow sparse arrays 39 | "no-unreachable": 2, // disallow unreachable statements after a return, throw, continue, or break statement 40 | "use-isnan": 1, // disallow comparisons with the value NaN 41 | "valid-jsdoc": 0, // Ensure JSDoc comments are valid (off by default) 42 | "valid-typeof": 1, // Ensure that the results of typeof are compared against a valid string 43 | 44 | // Best Practices 45 | // These are rules designed to prevent you from making mistakes. They either prescribe a better way of doing something or help you avoid footguns. 46 | 47 | "block-scoped-var": 0, // treat var statements as if they were block scoped (off by default) 48 | "complexity": 0, // specify the maximum cyclomatic complexity allowed in a program (off by default) 49 | "consistent-return": 0, // require return statements to either always or never specify values 50 | "curly": 1, // specify curly brace conventions for all control statements 51 | "default-case": 0, // require default case in switch statements (off by default) 52 | "dot-notation": 0, // encourages use of dot notation whenever possible 53 | "eqeqeq": 1, // require the use of === and !== 54 | "guard-for-in": 0, // make sure for-in loops have an if statement (off by default) 55 | "no-alert": 0, // disallow the use of alert, confirm, and prompt 56 | "no-caller": 1, // disallow use of arguments.caller or arguments.callee 57 | "no-div-regex": 1, // disallow division operators explicitly at beginning of regular expression (off by default) 58 | "no-else-return": 0, // disallow else after a return in an if (off by default) 59 | "no-eq-null": 0, // disallow comparisons to null without a type-checking operator (off by default) 60 | "no-eval": 1, // disallow use of eval() 61 | "no-extend-native": 1, // disallow adding to native types 62 | "no-extra-bind": 1, // disallow unnecessary function binding 63 | "no-fallthrough": 1, // disallow fallthrough of case statements 64 | "no-floating-decimal": 1, // disallow the use of leading or trailing decimal points in numeric literals (off by default) 65 | "no-implied-eval": 1, // disallow use of eval()-like methods 66 | "no-labels": 1, // disallow use of labeled statements 67 | "no-iterator": 1, // disallow usage of __iterator__ property 68 | "no-lone-blocks": 1, // disallow unnecessary nested blocks 69 | "no-loop-func": 0, // disallow creation of functions within loops 70 | "no-multi-str": 0, // disallow use of multiline strings 71 | "no-native-reassign": 0, // disallow reassignments of native objects 72 | "no-new": 1, // disallow use of new operator when not part of the assignment or comparison 73 | "no-new-func": 1, // disallow use of new operator for Function object 74 | "no-new-wrappers": 1, // disallows creating new instances of String,Number, and Boolean 75 | "no-octal": 1, // disallow use of octal literals 76 | "no-octal-escape": 1, // disallow use of octal escape sequences in string literals, such as var foo = "Copyright \251"; 77 | "no-proto": 1, // disallow usage of __proto__ property 78 | "no-redeclare": 0, // disallow declaring the same variable more then once 79 | "no-return-assign": 1, // disallow use of assignment in return statement 80 | "no-script-url": 1, // disallow use of javascript: urls. 81 | "no-self-compare": 1, // disallow comparisons where both sides are exactly the same (off by default) 82 | "no-sequences": 1, // disallow use of comma operator 83 | "no-unused-expressions": 0, // disallow usage of expressions in statement position 84 | "no-void": 1, // disallow use of void operator (off by default) 85 | "no-warning-comments": 1, // disallow usage of configurable warning terms in comments": 1, // e.g. TODO or FIXME (off by default) 86 | "no-with": 1, // disallow use of the with statement 87 | "radix": 1, // require use of the second argument for parseInt() (off by default) 88 | "semi-spacing": 1, // require a space after a semi-colon 89 | "vars-on-top": 0, // requires to declare all vars on top of their containing scope (off by default) 90 | "wrap-iife": 0, // require immediate function invocation to be wrapped in parentheses (off by default) 91 | "yoda": 1, // require or disallow Yoda conditions 92 | 93 | // Strict Mode 94 | // These rules relate to using strict mode. 95 | 96 | // "strict": [2, "global"], // require or disallow the "use strict" pragma in the global scope (off by default in the node environment) 97 | 98 | // Variables 99 | // These rules have to do with variable declarations. 100 | 101 | "no-catch-shadow": 1, // disallow the catch clause parameter name being the same as a variable in the outer scope (off by default in the node environment) 102 | "no-delete-var": 1, // disallow deletion of variables 103 | "no-label-var": 1, // disallow labels that share a name with a variable 104 | "no-shadow": 1, // disallow declaration of variables already declared in the outer scope 105 | "no-shadow-restricted-names": 1, // disallow shadowing of names such as arguments 106 | "no-undef": 2, // disallow use of undeclared variables unless mentioned in a /*global */ block. 107 | "no-undefined": 0, // disallow use of undefined variable (off by default) 108 | "no-undef-init": 1, // disallow use of undefined when initializing variables 109 | "no-unused-vars": [1, {"vars": "all", "args": "none"}], // disallow declaration of variables that are not used in the code 110 | "no-use-before-define": 0, // disallow use of variables before they are defined 111 | 112 | // Node.js 113 | // These rules are specific to JavaScript running on Node.js. 114 | 115 | "handle-callback-err": 1, // enforces error handling in callbacks (off by default) (on by default in the node environment) 116 | "no-mixed-requires": 1, // disallow mixing regular variable and require declarations (off by default) (on by default in the node environment) 117 | "no-new-require": 1, // disallow use of new operator with the require function (off by default) (on by default in the node environment) 118 | "no-path-concat": 1, // disallow string concatenation with __dirname and __filename (off by default) (on by default in the node environment) 119 | "no-process-exit": 0, // disallow process.exit() (on by default in the node environment) 120 | "no-restricted-modules": 1, // restrict usage of specified node modules (off by default) 121 | "no-sync": 0, // disallow use of synchronous methods (off by default) 122 | 123 | // Stylistic Issues 124 | // These rules are purely matters of style and are quite subjective. 125 | 126 | "key-spacing": 0, 127 | "comma-spacing": 0, 128 | "no-multi-spaces": 0, 129 | "brace-style": 0, // enforce one true brace style (off by default) 130 | "camelcase": 0, // require camel case names 131 | "consistent-this": 1, // enforces consistent naming when capturing the current execution context (off by default) 132 | "eol-last": 1, // enforce newline at the end of file, with no multiple empty lines 133 | "func-names": 0, // require function expressions to have a name (off by default) 134 | "func-style": 0, // enforces use of function declarations or expressions (off by default) 135 | "new-cap": 0, // require a capital letter for constructors 136 | "new-parens": 1, // disallow the omission of parentheses when invoking a constructor with no arguments 137 | "no-nested-ternary": 0, // disallow nested ternary expressions (off by default) 138 | "no-array-constructor": 1, // disallow use of the Array constructor 139 | "no-lonely-if": 0, // disallow if as the only statement in an else block (off by default) 140 | "no-new-object": 1, // disallow use of the Object constructor 141 | "no-spaced-func": 1, // disallow space between function identifier and application 142 | "no-ternary": 0, // disallow the use of ternary operators (off by default) 143 | "no-trailing-spaces": 1, // disallow trailing whitespace at the end of lines 144 | "no-underscore-dangle": 0, // disallow dangling underscores in identifiers 145 | "no-mixed-spaces-and-tabs": 1, // disallow mixed spaces and tabs for indentation 146 | "quotes": [1, "single", "avoid-escape"], // specify whether double or single quotes should be used 147 | "quote-props": 0, // require quotes around object literal property names (off by default) 148 | "semi": 0, // require or disallow use of semicolons instead of ASI 149 | "sort-vars": 0, // sort variables within the same declaration block (off by default) 150 | "keyword-spacing": [1, { "before": true, "after": true }], // require a space after certain keywords (off by default) 151 | "space-in-brackets": 0, // require or disallow spaces inside brackets (off by default) 152 | "space-in-parens": 0, // require or disallow spaces inside parentheses (off by default) 153 | "space-infix-ops": 1, // require spaces around operators 154 | "space-unary-ops": [1, { "words": true, "nonwords": false }], // require or disallow spaces before/after unary operators (words on by default, nonwords off by default) 155 | "max-nested-callbacks": 0, // specify the maximum depth callbacks can be nested (off by default) 156 | "one-var": 0, // allow just one var statement per function (off by default) 157 | "wrap-regex": 0, // require regex literals to be wrapped in parentheses (off by default) 158 | 159 | // Legacy 160 | // The following rules are included for compatibility with JSHint and JSLint. While the names of the rules may not match up with the JSHint/JSLint counterpart, the functionality is the same. 161 | 162 | "max-depth": 0, // specify the maximum depth that blocks can be nested (off by default) 163 | "max-len": 0, // specify the maximum length of a line in your program (off by default) 164 | "max-params": 0, // limits the number of parameters that can be used in the function declaration. (off by default) 165 | "max-statements": 0, // specify the maximum number of statement allowed in a function (off by default) 166 | "no-bitwise": 1, // disallow use of bitwise operators (off by default) 167 | "no-plusplus": 0, // disallow use of unary operators, ++ and -- (off by default) 168 | 169 | "react/display-name": 0, 170 | "react/jsx-boolean-value": 0, 171 | "jsx-quotes": [1, "prefer-double"], 172 | "react/jsx-sort-props": 0, 173 | "react/jsx-uses-react": 1, 174 | "react/jsx-uses-vars": 1, 175 | "react/no-multi-comp": 0, 176 | "react/no-unknown-property": 0, 177 | "react/prop-types": 0, 178 | "react/react-in-jsx-scope": 0, 179 | "react/self-closing-comp": 1, 180 | "react/wrap-multilines": 0, 181 | "react/jsx-no-undef": 2 182 | } 183 | } -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | lib/ 2 | node_modules/ 3 | .DS_Store -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules/ 2 | .DS_Store -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | 2 | language: node_js 3 | cache: 4 | directories: 5 | - ~/.npm 6 | notifications: 7 | email: false 8 | node_js: 9 | - '9' 10 | - '8' 11 | install: 12 | - npm install 13 | before_script: 14 | - npm prune 15 | after_success: 16 | - npm run semantic-release 17 | branches: 18 | except: 19 | - /^v\d+\.\d+\.\d+$/ -------------------------------------------------------------------------------- /Example/.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["react-native"] 3 | } -------------------------------------------------------------------------------- /Example/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /Example/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | .*/Libraries/react-native/ReactNative.js 16 | 17 | [include] 18 | 19 | [libs] 20 | node_modules/react-native/Libraries/react-native/react-native-interface.js 21 | node_modules/react-native/flow 22 | flow/ 23 | 24 | [options] 25 | module.system=haste 26 | 27 | experimental.strict_type_args=true 28 | 29 | munge_underscores=true 30 | 31 | module.name_mapper='^image![a-zA-Z0-9$_-]+$' -> 'GlobalImageStub' 32 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 33 | 34 | suppress_type=$FlowIssue 35 | suppress_type=$FlowFixMe 36 | suppress_type=$FixMe 37 | 38 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-5]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 39 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-5]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 40 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 41 | 42 | unsafe.enable_getters_and_setters=true 43 | 44 | [version] 45 | ^0.35.0 46 | -------------------------------------------------------------------------------- /Example/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /Example/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | 38 | # BUCK 39 | buck-out/ 40 | \.buckd/ 41 | android/app/libs 42 | *.keystore 43 | -------------------------------------------------------------------------------- /Example/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /Example/android/app/BUCK: -------------------------------------------------------------------------------- 1 | import re 2 | 3 | # To learn about Buck see [Docs](https://buckbuild.com/). 4 | # To run your application with Buck: 5 | # - install Buck 6 | # - `npm start` - to start the packager 7 | # - `cd android` 8 | # - `keytool -genkey -v -keystore keystores/debug.keystore -storepass android -alias androiddebugkey -keypass android -dname "CN=Android Debug,O=Android,C=US"` 9 | # - `./gradlew :app:copyDownloadableDepsToLibs` - make all Gradle compile dependencies available to Buck 10 | # - `buck install -r android/app` - compile, install and run application 11 | # 12 | 13 | lib_deps = [] 14 | for jarfile in glob(['libs/*.jar']): 15 | name = 'jars__' + re.sub(r'^.*/([^/]+)\.jar$', r'\1', jarfile) 16 | lib_deps.append(':' + name) 17 | prebuilt_jar( 18 | name = name, 19 | binary_jar = jarfile, 20 | ) 21 | 22 | for aarfile in glob(['libs/*.aar']): 23 | name = 'aars__' + re.sub(r'^.*/([^/]+)\.aar$', r'\1', aarfile) 24 | lib_deps.append(':' + name) 25 | android_prebuilt_aar( 26 | name = name, 27 | aar = aarfile, 28 | ) 29 | 30 | android_library( 31 | name = 'all-libs', 32 | exported_deps = lib_deps 33 | ) 34 | 35 | android_library( 36 | name = 'app-code', 37 | srcs = glob([ 38 | 'src/main/java/**/*.java', 39 | ]), 40 | deps = [ 41 | ':all-libs', 42 | ':build_config', 43 | ':res', 44 | ], 45 | ) 46 | 47 | android_build_config( 48 | name = 'build_config', 49 | package = 'com.example', 50 | ) 51 | 52 | android_resource( 53 | name = 'res', 54 | res = 'src/main/res', 55 | package = 'com.example', 56 | ) 57 | 58 | android_binary( 59 | name = 'app', 60 | package_type = 'debug', 61 | manifest = 'src/main/AndroidManifest.xml', 62 | keystore = '//android/keystores:debug', 63 | deps = [ 64 | ':app-code', 65 | ], 66 | ) 67 | -------------------------------------------------------------------------------- /Example/android/app/build.gradle: -------------------------------------------------------------------------------- 1 | apply plugin: "com.android.application" 2 | 3 | import com.android.build.OutputFile 4 | 5 | /** 6 | * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets 7 | * and bundleReleaseJsAndAssets). 8 | * These basically call `react-native bundle` with the correct arguments during the Android build 9 | * cycle. By default, bundleDebugJsAndAssets is skipped, as in debug/dev mode we prefer to load the 10 | * bundle directly from the development server. Below you can see all the possible configurations 11 | * and their defaults. If you decide to add a configuration block, make sure to add it before the 12 | * `apply from: "../../node_modules/react-native/react.gradle"` line. 13 | * 14 | * project.ext.react = [ 15 | * // the name of the generated asset file containing your JS bundle 16 | * bundleAssetName: "index.android.bundle", 17 | * 18 | * // the entry file for bundle generation 19 | * entryFile: "index.android.js", 20 | * 21 | * // whether to bundle JS and assets in debug mode 22 | * bundleInDebug: false, 23 | * 24 | * // whether to bundle JS and assets in release mode 25 | * bundleInRelease: true, 26 | * 27 | * // whether to bundle JS and assets in another build variant (if configured). 28 | * // See http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Build-Variants 29 | * // The configuration property can be in the following formats 30 | * // 'bundleIn${productFlavor}${buildType}' 31 | * // 'bundleIn${buildType}' 32 | * // bundleInFreeDebug: true, 33 | * // bundleInPaidRelease: true, 34 | * // bundleInBeta: true, 35 | * 36 | * // the root of your project, i.e. where "package.json" lives 37 | * root: "../../", 38 | * 39 | * // where to put the JS bundle asset in debug mode 40 | * jsBundleDirDebug: "$buildDir/intermediates/assets/debug", 41 | * 42 | * // where to put the JS bundle asset in release mode 43 | * jsBundleDirRelease: "$buildDir/intermediates/assets/release", 44 | * 45 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 46 | * // require('./image.png')), in debug mode 47 | * resourcesDirDebug: "$buildDir/intermediates/res/merged/debug", 48 | * 49 | * // where to put drawable resources / React Native assets, e.g. the ones you use via 50 | * // require('./image.png')), in release mode 51 | * resourcesDirRelease: "$buildDir/intermediates/res/merged/release", 52 | * 53 | * // by default the gradle tasks are skipped if none of the JS files or assets change; this means 54 | * // that we don't look at files in android/ or ios/ to determine whether the tasks are up to 55 | * // date; if you have any other folders that you want to ignore for performance reasons (gradle 56 | * // indexes the entire tree), add them here. Alternatively, if you have JS files in android/ 57 | * // for example, you might want to remove it from here. 58 | * inputExcludes: ["android/**", "ios/**"], 59 | * 60 | * // override which node gets called and with what additional arguments 61 | * nodeExecutableAndArgs: ["node"] 62 | * 63 | * // supply additional arguments to the packager 64 | * extraPackagerArgs: [] 65 | * ] 66 | */ 67 | 68 | apply from: "../../node_modules/react-native/react.gradle" 69 | 70 | /** 71 | * Set this to true to create two separate APKs instead of one: 72 | * - An APK that only works on ARM devices 73 | * - An APK that only works on x86 devices 74 | * The advantage is the size of the APK is reduced by about 4MB. 75 | * Upload all the APKs to the Play Store and people will download 76 | * the correct one based on the CPU architecture of their device. 77 | */ 78 | def enableSeparateBuildPerCPUArchitecture = false 79 | 80 | /** 81 | * Run Proguard to shrink the Java bytecode in release builds. 82 | */ 83 | def enableProguardInReleaseBuilds = false 84 | 85 | android { 86 | compileSdkVersion 23 87 | buildToolsVersion "23.0.1" 88 | 89 | defaultConfig { 90 | applicationId "com.example" 91 | minSdkVersion 16 92 | targetSdkVersion 22 93 | versionCode 1 94 | versionName "1.0" 95 | ndk { 96 | abiFilters "armeabi-v7a", "x86" 97 | } 98 | } 99 | splits { 100 | abi { 101 | reset() 102 | enable enableSeparateBuildPerCPUArchitecture 103 | universalApk false // If true, also generate a universal APK 104 | include "armeabi-v7a", "x86" 105 | } 106 | } 107 | buildTypes { 108 | release { 109 | minifyEnabled enableProguardInReleaseBuilds 110 | proguardFiles getDefaultProguardFile("proguard-android.txt"), "proguard-rules.pro" 111 | } 112 | } 113 | // applicationVariants are e.g. debug, release 114 | applicationVariants.all { variant -> 115 | variant.outputs.each { output -> 116 | // For each separate APK per architecture, set a unique version code as described here: 117 | // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits 118 | def versionCodes = ["armeabi-v7a":1, "x86":2] 119 | def abi = output.getFilter(OutputFile.ABI) 120 | if (abi != null) { // null for the universal-debug, universal-release variants 121 | output.versionCodeOverride = 122 | versionCodes.get(abi) * 1048576 + defaultConfig.versionCode 123 | } 124 | } 125 | } 126 | } 127 | 128 | dependencies { 129 | compile project(':gl-react-native') 130 | compile fileTree(dir: "libs", include: ["*.jar"]) 131 | compile "com.android.support:appcompat-v7:23.0.1" 132 | compile "com.facebook.react:react-native:+" // From node_modules 133 | } 134 | 135 | // Run this once to be able to run the application with BUCK 136 | // puts all compile dependencies into folder libs for BUCK to use 137 | task copyDownloadableDepsToLibs(type: Copy) { 138 | from configurations.compile 139 | into 'libs' 140 | } 141 | -------------------------------------------------------------------------------- /Example/android/app/proguard-rules.pro: -------------------------------------------------------------------------------- 1 | # Add project specific ProGuard rules here. 2 | # By default, the flags in this file are appended to flags specified 3 | # in /usr/local/Cellar/android-sdk/24.3.3/tools/proguard/proguard-android.txt 4 | # You can edit the include path and order by changing the proguardFiles 5 | # directive in build.gradle. 6 | # 7 | # For more details, see 8 | # http://developer.android.com/guide/developing/tools/proguard.html 9 | 10 | # Add any project specific keep options here: 11 | 12 | # If your project uses WebView with JS, uncomment the following 13 | # and specify the fully qualified class name to the JavaScript interface 14 | # class: 15 | #-keepclassmembers class fqcn.of.javascript.interface.for.webview { 16 | # public *; 17 | #} 18 | 19 | # Disabling obfuscation is useful if you collect stack traces from production crashes 20 | # (unless you are using a system that supports de-obfuscate the stack traces). 21 | -dontobfuscate 22 | 23 | # React Native 24 | 25 | # Keep our interfaces so they can be used by other ProGuard rules. 26 | # See http://sourceforge.net/p/proguard/bugs/466/ 27 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.DoNotStrip 28 | -keep,allowobfuscation @interface com.facebook.proguard.annotations.KeepGettersAndSetters 29 | -keep,allowobfuscation @interface com.facebook.common.internal.DoNotStrip 30 | 31 | # Do not strip any method/class that is annotated with @DoNotStrip 32 | -keep @com.facebook.proguard.annotations.DoNotStrip class * 33 | -keep @com.facebook.common.internal.DoNotStrip class * 34 | -keepclassmembers class * { 35 | @com.facebook.proguard.annotations.DoNotStrip *; 36 | @com.facebook.common.internal.DoNotStrip *; 37 | } 38 | 39 | -keepclassmembers @com.facebook.proguard.annotations.KeepGettersAndSetters class * { 40 | void set*(***); 41 | *** get*(); 42 | } 43 | 44 | -keep class * extends com.facebook.react.bridge.JavaScriptModule { *; } 45 | -keep class * extends com.facebook.react.bridge.NativeModule { *; } 46 | -keepclassmembers,includedescriptorclasses class * { native ; } 47 | -keepclassmembers class * { @com.facebook.react.uimanager.UIProp ; } 48 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactProp ; } 49 | -keepclassmembers class * { @com.facebook.react.uimanager.annotations.ReactPropGroup ; } 50 | 51 | -dontwarn com.facebook.react.** 52 | 53 | # okhttp 54 | 55 | -keepattributes Signature 56 | -keepattributes *Annotation* 57 | -keep class okhttp3.** { *; } 58 | -keep interface okhttp3.** { *; } 59 | -dontwarn okhttp3.** 60 | 61 | # okio 62 | 63 | -keep class sun.misc.Unsafe { *; } 64 | -dontwarn java.nio.file.* 65 | -dontwarn org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement 66 | -dontwarn okio.** 67 | -------------------------------------------------------------------------------- /Example/android/app/src/main/AndroidManifest.xml: -------------------------------------------------------------------------------- 1 | 5 | 6 | 7 | 8 | 9 | 12 | 13 | 19 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | -------------------------------------------------------------------------------- /Example/android/app/src/main/java/com/example/MainActivity.java: -------------------------------------------------------------------------------- 1 | package com.example; 2 | 3 | import com.facebook.react.ReactActivity; 4 | 5 | public class MainActivity extends ReactActivity { 6 | 7 | /** 8 | * Returns the name of the main component registered from JavaScript. 9 | * This is used to schedule rendering of the component. 10 | */ 11 | @Override 12 | protected String getMainComponentName() { 13 | return "Example"; 14 | } 15 | } 16 | -------------------------------------------------------------------------------- /Example/android/app/src/main/java/com/example/MainApplication.java: -------------------------------------------------------------------------------- 1 | package com.example; 2 | 3 | import android.app.Application; 4 | import android.util.Log; 5 | 6 | import com.facebook.react.ReactApplication; 7 | import com.projectseptember.RNGL.RNGLPackage; 8 | import com.facebook.react.ReactInstanceManager; 9 | import com.facebook.react.ReactNativeHost; 10 | import com.facebook.react.ReactPackage; 11 | import com.facebook.react.shell.MainReactPackage; 12 | import com.facebook.soloader.SoLoader; 13 | 14 | import java.util.Arrays; 15 | import java.util.List; 16 | 17 | public class MainApplication extends Application implements ReactApplication { 18 | 19 | private final ReactNativeHost mReactNativeHost = new ReactNativeHost(this) { 20 | @Override 21 | protected boolean getUseDeveloperSupport() { 22 | return BuildConfig.DEBUG; 23 | } 24 | 25 | @Override 26 | protected List getPackages() { 27 | return Arrays.asList( 28 | new MainReactPackage(), 29 | new RNGLPackage() 30 | ); 31 | } 32 | }; 33 | 34 | @Override 35 | public ReactNativeHost getReactNativeHost() { 36 | return mReactNativeHost; 37 | } 38 | 39 | @Override 40 | public void onCreate() { 41 | super.onCreate(); 42 | SoLoader.init(this, /* native exopackage */ false); 43 | } 44 | } 45 | -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/st0ffern/react-native-image-cropper/569937bfb6b45e9a86c3b331790ad910119ddc82/Example/android/app/src/main/res/mipmap-hdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/st0ffern/react-native-image-cropper/569937bfb6b45e9a86c3b331790ad910119ddc82/Example/android/app/src/main/res/mipmap-mdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/st0ffern/react-native-image-cropper/569937bfb6b45e9a86c3b331790ad910119ddc82/Example/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/st0ffern/react-native-image-cropper/569937bfb6b45e9a86c3b331790ad910119ddc82/Example/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png -------------------------------------------------------------------------------- /Example/android/app/src/main/res/values/strings.xml: -------------------------------------------------------------------------------- 1 | 2 | Example 3 | 4 | -------------------------------------------------------------------------------- /Example/android/app/src/main/res/values/styles.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/android/build.gradle: -------------------------------------------------------------------------------- 1 | // Top-level build file where you can add configuration options common to all sub-projects/modules. 2 | 3 | buildscript { 4 | repositories { 5 | jcenter() 6 | } 7 | dependencies { 8 | classpath 'com.android.tools.build:gradle:1.3.1' 9 | 10 | // NOTE: Do not place your application dependencies here; they belong 11 | // in the individual module build.gradle files 12 | } 13 | } 14 | 15 | allprojects { 16 | repositories { 17 | mavenLocal() 18 | jcenter() 19 | maven { 20 | // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm 21 | url "$rootDir/../node_modules/react-native/android" 22 | } 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /Example/android/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Specifies the JVM arguments used for the daemon process. 11 | # The setting is particularly useful for tweaking memory settings. 12 | # Default value: -Xmx10248m -XX:MaxPermSize=256m 13 | # org.gradle.jvmargs=-Xmx2048m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 14 | 15 | # When configured, Gradle will run in incubating parallel mode. 16 | # This option should only be used with decoupled projects. More details, visit 17 | # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects 18 | # org.gradle.parallel=true 19 | 20 | android.useDeprecatedNdk=true 21 | -------------------------------------------------------------------------------- /Example/android/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/st0ffern/react-native-image-cropper/569937bfb6b45e9a86c3b331790ad910119ddc82/Example/android/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /Example/android/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | distributionBase=GRADLE_USER_HOME 2 | distributionPath=wrapper/dists 3 | zipStoreBase=GRADLE_USER_HOME 4 | zipStorePath=wrapper/dists 5 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.4-all.zip 6 | -------------------------------------------------------------------------------- /Example/android/gradlew: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | 3 | ############################################################################## 4 | ## 5 | ## Gradle start up script for UN*X 6 | ## 7 | ############################################################################## 8 | 9 | # Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 10 | DEFAULT_JVM_OPTS="" 11 | 12 | APP_NAME="Gradle" 13 | APP_BASE_NAME=`basename "$0"` 14 | 15 | # Use the maximum available, or set MAX_FD != -1 to use that value. 16 | MAX_FD="maximum" 17 | 18 | warn ( ) { 19 | echo "$*" 20 | } 21 | 22 | die ( ) { 23 | echo 24 | echo "$*" 25 | echo 26 | exit 1 27 | } 28 | 29 | # OS specific support (must be 'true' or 'false'). 30 | cygwin=false 31 | msys=false 32 | darwin=false 33 | case "`uname`" in 34 | CYGWIN* ) 35 | cygwin=true 36 | ;; 37 | Darwin* ) 38 | darwin=true 39 | ;; 40 | MINGW* ) 41 | msys=true 42 | ;; 43 | esac 44 | 45 | # For Cygwin, ensure paths are in UNIX format before anything is touched. 46 | if $cygwin ; then 47 | [ -n "$JAVA_HOME" ] && JAVA_HOME=`cygpath --unix "$JAVA_HOME"` 48 | fi 49 | 50 | # Attempt to set APP_HOME 51 | # Resolve links: $0 may be a link 52 | PRG="$0" 53 | # Need this for relative symlinks. 54 | while [ -h "$PRG" ] ; do 55 | ls=`ls -ld "$PRG"` 56 | link=`expr "$ls" : '.*-> \(.*\)$'` 57 | if expr "$link" : '/.*' > /dev/null; then 58 | PRG="$link" 59 | else 60 | PRG=`dirname "$PRG"`"/$link" 61 | fi 62 | done 63 | SAVED="`pwd`" 64 | cd "`dirname \"$PRG\"`/" >&- 65 | APP_HOME="`pwd -P`" 66 | cd "$SAVED" >&- 67 | 68 | CLASSPATH=$APP_HOME/gradle/wrapper/gradle-wrapper.jar 69 | 70 | # Determine the Java command to use to start the JVM. 71 | if [ -n "$JAVA_HOME" ] ; then 72 | if [ -x "$JAVA_HOME/jre/sh/java" ] ; then 73 | # IBM's JDK on AIX uses strange locations for the executables 74 | JAVACMD="$JAVA_HOME/jre/sh/java" 75 | else 76 | JAVACMD="$JAVA_HOME/bin/java" 77 | fi 78 | if [ ! -x "$JAVACMD" ] ; then 79 | die "ERROR: JAVA_HOME is set to an invalid directory: $JAVA_HOME 80 | 81 | Please set the JAVA_HOME variable in your environment to match the 82 | location of your Java installation." 83 | fi 84 | else 85 | JAVACMD="java" 86 | which java >/dev/null 2>&1 || die "ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 87 | 88 | Please set the JAVA_HOME variable in your environment to match the 89 | location of your Java installation." 90 | fi 91 | 92 | # Increase the maximum file descriptors if we can. 93 | if [ "$cygwin" = "false" -a "$darwin" = "false" ] ; then 94 | MAX_FD_LIMIT=`ulimit -H -n` 95 | if [ $? -eq 0 ] ; then 96 | if [ "$MAX_FD" = "maximum" -o "$MAX_FD" = "max" ] ; then 97 | MAX_FD="$MAX_FD_LIMIT" 98 | fi 99 | ulimit -n $MAX_FD 100 | if [ $? -ne 0 ] ; then 101 | warn "Could not set maximum file descriptor limit: $MAX_FD" 102 | fi 103 | else 104 | warn "Could not query maximum file descriptor limit: $MAX_FD_LIMIT" 105 | fi 106 | fi 107 | 108 | # For Darwin, add options to specify how the application appears in the dock 109 | if $darwin; then 110 | GRADLE_OPTS="$GRADLE_OPTS \"-Xdock:name=$APP_NAME\" \"-Xdock:icon=$APP_HOME/media/gradle.icns\"" 111 | fi 112 | 113 | # For Cygwin, switch paths to Windows format before running java 114 | if $cygwin ; then 115 | APP_HOME=`cygpath --path --mixed "$APP_HOME"` 116 | CLASSPATH=`cygpath --path --mixed "$CLASSPATH"` 117 | 118 | # We build the pattern for arguments to be converted via cygpath 119 | ROOTDIRSRAW=`find -L / -maxdepth 1 -mindepth 1 -type d 2>/dev/null` 120 | SEP="" 121 | for dir in $ROOTDIRSRAW ; do 122 | ROOTDIRS="$ROOTDIRS$SEP$dir" 123 | SEP="|" 124 | done 125 | OURCYGPATTERN="(^($ROOTDIRS))" 126 | # Add a user-defined pattern to the cygpath arguments 127 | if [ "$GRADLE_CYGPATTERN" != "" ] ; then 128 | OURCYGPATTERN="$OURCYGPATTERN|($GRADLE_CYGPATTERN)" 129 | fi 130 | # Now convert the arguments - kludge to limit ourselves to /bin/sh 131 | i=0 132 | for arg in "$@" ; do 133 | CHECK=`echo "$arg"|egrep -c "$OURCYGPATTERN" -` 134 | CHECK2=`echo "$arg"|egrep -c "^-"` ### Determine if an option 135 | 136 | if [ $CHECK -ne 0 ] && [ $CHECK2 -eq 0 ] ; then ### Added a condition 137 | eval `echo args$i`=`cygpath --path --ignore --mixed "$arg"` 138 | else 139 | eval `echo args$i`="\"$arg\"" 140 | fi 141 | i=$((i+1)) 142 | done 143 | case $i in 144 | (0) set -- ;; 145 | (1) set -- "$args0" ;; 146 | (2) set -- "$args0" "$args1" ;; 147 | (3) set -- "$args0" "$args1" "$args2" ;; 148 | (4) set -- "$args0" "$args1" "$args2" "$args3" ;; 149 | (5) set -- "$args0" "$args1" "$args2" "$args3" "$args4" ;; 150 | (6) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" ;; 151 | (7) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" ;; 152 | (8) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" ;; 153 | (9) set -- "$args0" "$args1" "$args2" "$args3" "$args4" "$args5" "$args6" "$args7" "$args8" ;; 154 | esac 155 | fi 156 | 157 | # Split up the JVM_OPTS And GRADLE_OPTS values into an array, following the shell quoting and substitution rules 158 | function splitJvmOpts() { 159 | JVM_OPTS=("$@") 160 | } 161 | eval splitJvmOpts $DEFAULT_JVM_OPTS $JAVA_OPTS $GRADLE_OPTS 162 | JVM_OPTS[${#JVM_OPTS[*]}]="-Dorg.gradle.appname=$APP_BASE_NAME" 163 | 164 | exec "$JAVACMD" "${JVM_OPTS[@]}" -classpath "$CLASSPATH" org.gradle.wrapper.GradleWrapperMain "$@" 165 | -------------------------------------------------------------------------------- /Example/android/gradlew.bat: -------------------------------------------------------------------------------- 1 | @if "%DEBUG%" == "" @echo off 2 | @rem ########################################################################## 3 | @rem 4 | @rem Gradle startup script for Windows 5 | @rem 6 | @rem ########################################################################## 7 | 8 | @rem Set local scope for the variables with windows NT shell 9 | if "%OS%"=="Windows_NT" setlocal 10 | 11 | @rem Add default JVM options here. You can also use JAVA_OPTS and GRADLE_OPTS to pass JVM options to this script. 12 | set DEFAULT_JVM_OPTS= 13 | 14 | set DIRNAME=%~dp0 15 | if "%DIRNAME%" == "" set DIRNAME=. 16 | set APP_BASE_NAME=%~n0 17 | set APP_HOME=%DIRNAME% 18 | 19 | @rem Find java.exe 20 | if defined JAVA_HOME goto findJavaFromJavaHome 21 | 22 | set JAVA_EXE=java.exe 23 | %JAVA_EXE% -version >NUL 2>&1 24 | if "%ERRORLEVEL%" == "0" goto init 25 | 26 | echo. 27 | echo ERROR: JAVA_HOME is not set and no 'java' command could be found in your PATH. 28 | echo. 29 | echo Please set the JAVA_HOME variable in your environment to match the 30 | echo location of your Java installation. 31 | 32 | goto fail 33 | 34 | :findJavaFromJavaHome 35 | set JAVA_HOME=%JAVA_HOME:"=% 36 | set JAVA_EXE=%JAVA_HOME%/bin/java.exe 37 | 38 | if exist "%JAVA_EXE%" goto init 39 | 40 | echo. 41 | echo ERROR: JAVA_HOME is set to an invalid directory: %JAVA_HOME% 42 | echo. 43 | echo Please set the JAVA_HOME variable in your environment to match the 44 | echo location of your Java installation. 45 | 46 | goto fail 47 | 48 | :init 49 | @rem Get command-line arguments, handling Windowz variants 50 | 51 | if not "%OS%" == "Windows_NT" goto win9xME_args 52 | if "%@eval[2+2]" == "4" goto 4NT_args 53 | 54 | :win9xME_args 55 | @rem Slurp the command line arguments. 56 | set CMD_LINE_ARGS= 57 | set _SKIP=2 58 | 59 | :win9xME_args_slurp 60 | if "x%~1" == "x" goto execute 61 | 62 | set CMD_LINE_ARGS=%* 63 | goto execute 64 | 65 | :4NT_args 66 | @rem Get arguments from the 4NT Shell from JP Software 67 | set CMD_LINE_ARGS=%$ 68 | 69 | :execute 70 | @rem Setup the command line 71 | 72 | set CLASSPATH=%APP_HOME%\gradle\wrapper\gradle-wrapper.jar 73 | 74 | @rem Execute Gradle 75 | "%JAVA_EXE%" %DEFAULT_JVM_OPTS% %JAVA_OPTS% %GRADLE_OPTS% "-Dorg.gradle.appname=%APP_BASE_NAME%" -classpath "%CLASSPATH%" org.gradle.wrapper.GradleWrapperMain %CMD_LINE_ARGS% 76 | 77 | :end 78 | @rem End local scope for the variables with windows NT shell 79 | if "%ERRORLEVEL%"=="0" goto mainEnd 80 | 81 | :fail 82 | rem Set variable GRADLE_EXIT_CONSOLE if you need the _script_ return code instead of 83 | rem the _cmd.exe /c_ return code! 84 | if not "" == "%GRADLE_EXIT_CONSOLE%" exit 1 85 | exit /b 1 86 | 87 | :mainEnd 88 | if "%OS%"=="Windows_NT" endlocal 89 | 90 | :omega 91 | -------------------------------------------------------------------------------- /Example/android/keystores/BUCK: -------------------------------------------------------------------------------- 1 | keystore( 2 | name = 'debug', 3 | store = 'debug.keystore', 4 | properties = 'debug.keystore.properties', 5 | visibility = [ 6 | 'PUBLIC', 7 | ], 8 | ) 9 | -------------------------------------------------------------------------------- /Example/android/keystores/debug.keystore.properties: -------------------------------------------------------------------------------- 1 | key.store=debug.keystore 2 | key.alias=androiddebugkey 3 | key.store.password=android 4 | key.alias.password=android 5 | -------------------------------------------------------------------------------- /Example/android/settings.gradle: -------------------------------------------------------------------------------- 1 | rootProject.name = 'Example' 2 | include ':gl-react-native' 3 | project(':gl-react-native').projectDir = new File(rootProject.projectDir, '../node_modules/gl-react-native/android') 4 | 5 | include ':app' 6 | -------------------------------------------------------------------------------- /Example/index.android.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | Text, 4 | View, 5 | Image, 6 | Slider, 7 | ScrollView, 8 | AppRegistry, 9 | TouchableOpacity, 10 | } from 'react-native' 11 | 12 | import {ImageCrop} from 'react-native-image-cropper' 13 | 14 | class ExampleC extends Component { 15 | constructor(props) { 16 | super(props); 17 | this.state = { 18 | image: 'http://i.imgur.com/tCatS2c.jpg', 19 | height: 200, 20 | width: 300, 21 | zoom: 50, 22 | showNew: true, 23 | newImage: 'http://i.imgur.com/tCatS2c.jpg', 24 | }; 25 | } 26 | 27 | render() { 28 | return ( 29 | 30 | 31 | 42 | 43 | this.setState({zoom: value})} 46 | maximumValue={100} 47 | minimumValue={0} 48 | step={0.1} 49 | /> 50 | 51 | 52 | CAPTURE 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | ); 62 | } 63 | capture(){ 64 | this.refs.cropper.crop() 65 | .then(res =>{ 66 | this.setState({ 67 | showNew: true, 68 | newImage: res, 69 | }); 70 | }) 71 | } 72 | } 73 | 74 | AppRegistry.registerComponent('Example', () => ExampleC) 75 | -------------------------------------------------------------------------------- /Example/index.ios.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import { 3 | Text, 4 | View, 5 | Image, 6 | Slider, 7 | ScrollView, 8 | AppRegistry, 9 | TouchableOpacity, 10 | } from 'react-native' 11 | 12 | import {ImageCrop} from '../src/' 13 | 14 | class Example extends Component { 15 | constructor(props) { 16 | super(props); 17 | this.state = { 18 | image: 'http://i.imgur.com/tCatS2c.jpg', 19 | height: 200, 20 | width: 300, 21 | zoom: 50, 22 | showNew: true, 23 | newImage: 'http://i.imgur.com/tCatS2c.jpg', 24 | }; 25 | } 26 | 27 | render() { 28 | return ( 29 | 30 | 31 | 42 | 43 | this.setState({zoom: value})} 46 | maximumValue={100} 47 | minimumValue={0} 48 | step={0.1} 49 | /> 50 | 51 | 52 | CAPTURE 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | ); 62 | } 63 | capture(){ 64 | this.refs.cropper.crop() 65 | .then(res =>{ 66 | this.setState({ 67 | showNew: true, 68 | newImage: res, 69 | }); 70 | }) 71 | } 72 | } 73 | 74 | AppRegistry.registerComponent('Example', () => Example) 75 | -------------------------------------------------------------------------------- /Example/ios/Example.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | /* Begin PBXBuildFile section */ 9 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 10 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 11 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 12 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 13 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 14 | 00E356F31AD99517003FC87E /* ExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* ExampleTests.m */; }; 15 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 16 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 17 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 18 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 19 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 20 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 21 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 22 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 25 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 26 | 19454BDE743249A4AC7D9892 /* libRNGL.a in Frameworks */ = {isa = PBXBuildFile; fileRef = BDB3326ED1BB44F5A8295BE3 /* libRNGL.a */; }; 27 | /* End PBXBuildFile section */ 28 | 29 | /* Begin PBXContainerItemProxy section */ 30 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 31 | isa = PBXContainerItemProxy; 32 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 33 | proxyType = 2; 34 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 35 | remoteInfo = RCTActionSheet; 36 | }; 37 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 38 | isa = PBXContainerItemProxy; 39 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 40 | proxyType = 2; 41 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 42 | remoteInfo = RCTGeolocation; 43 | }; 44 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 45 | isa = PBXContainerItemProxy; 46 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 47 | proxyType = 2; 48 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 49 | remoteInfo = RCTImage; 50 | }; 51 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 52 | isa = PBXContainerItemProxy; 53 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 54 | proxyType = 2; 55 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 56 | remoteInfo = RCTNetwork; 57 | }; 58 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 59 | isa = PBXContainerItemProxy; 60 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 61 | proxyType = 2; 62 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 63 | remoteInfo = RCTVibration; 64 | }; 65 | 00E356F41AD99517003FC87E /* PBXContainerItemProxy */ = { 66 | isa = PBXContainerItemProxy; 67 | containerPortal = 83CBB9F71A601CBA00E9B192 /* Project object */; 68 | proxyType = 1; 69 | remoteGlobalIDString = 13B07F861A680F5B00A75B9A; 70 | remoteInfo = Example; 71 | }; 72 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 73 | isa = PBXContainerItemProxy; 74 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 75 | proxyType = 2; 76 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 77 | remoteInfo = RCTSettings; 78 | }; 79 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 80 | isa = PBXContainerItemProxy; 81 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 82 | proxyType = 2; 83 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 84 | remoteInfo = RCTWebSocket; 85 | }; 86 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 87 | isa = PBXContainerItemProxy; 88 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 89 | proxyType = 2; 90 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 91 | remoteInfo = React; 92 | }; 93 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 94 | isa = PBXContainerItemProxy; 95 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 96 | proxyType = 2; 97 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 98 | remoteInfo = RCTAnimation; 99 | }; 100 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 101 | isa = PBXContainerItemProxy; 102 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 103 | proxyType = 2; 104 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 105 | remoteInfo = "RCTAnimation-tvOS"; 106 | }; 107 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 108 | isa = PBXContainerItemProxy; 109 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 110 | proxyType = 2; 111 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 112 | remoteInfo = RCTLinking; 113 | }; 114 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 115 | isa = PBXContainerItemProxy; 116 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 117 | proxyType = 2; 118 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 119 | remoteInfo = RCTText; 120 | }; 121 | /* End PBXContainerItemProxy section */ 122 | 123 | /* Begin PBXFileReference section */ 124 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 125 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 126 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 127 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 128 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 129 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 130 | 00E356EE1AD99517003FC87E /* ExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 131 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 132 | 00E356F21AD99517003FC87E /* ExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ExampleTests.m; sourceTree = ""; }; 133 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 134 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 135 | 13B07F961A680F5B00A75B9A /* Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Example.app; sourceTree = BUILT_PRODUCTS_DIR; }; 136 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = Example/AppDelegate.h; sourceTree = ""; }; 137 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = Example/AppDelegate.m; sourceTree = ""; }; 138 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 139 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = Example/Images.xcassets; sourceTree = ""; }; 140 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Example/Info.plist; sourceTree = ""; }; 141 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = Example/main.m; sourceTree = ""; }; 142 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 143 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 144 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 145 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 146 | D96C76B482734557AED665F3 /* RNGL.xcodeproj */ = {isa = PBXFileReference; name = "RNGL.xcodeproj"; path = "../node_modules/gl-react-native/ios/RNGL.xcodeproj"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = wrapper.pb-project; explicitFileType = undefined; includeInIndex = 0; }; 147 | BDB3326ED1BB44F5A8295BE3 /* libRNGL.a */ = {isa = PBXFileReference; name = "libRNGL.a"; path = "libRNGL.a"; sourceTree = ""; fileEncoding = undefined; lastKnownFileType = archive.ar; explicitFileType = undefined; includeInIndex = 0; }; 148 | /* End PBXFileReference section */ 149 | 150 | /* Begin PBXFrameworksBuildPhase section */ 151 | 00E356EB1AD99517003FC87E /* Frameworks */ = { 152 | isa = PBXFrameworksBuildPhase; 153 | buildActionMask = 2147483647; 154 | files = ( 155 | 140ED2AC1D01E1AD002B40FF /* libReact.a in Frameworks */, 156 | ); 157 | runOnlyForDeploymentPostprocessing = 0; 158 | }; 159 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 160 | isa = PBXFrameworksBuildPhase; 161 | buildActionMask = 2147483647; 162 | files = ( 163 | 5E9157361DD0AC6A00FF2AA8 /* libRCTAnimation.a in Frameworks */, 164 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 165 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 166 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 167 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 168 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 169 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 170 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 171 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 172 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 173 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 174 | 19454BDE743249A4AC7D9892 /* libRNGL.a in Frameworks */, 175 | ); 176 | runOnlyForDeploymentPostprocessing = 0; 177 | }; 178 | /* End PBXFrameworksBuildPhase section */ 179 | 180 | /* Begin PBXGroup section */ 181 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 182 | isa = PBXGroup; 183 | children = ( 184 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 185 | ); 186 | name = Products; 187 | sourceTree = ""; 188 | }; 189 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 190 | isa = PBXGroup; 191 | children = ( 192 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 193 | ); 194 | name = Products; 195 | sourceTree = ""; 196 | }; 197 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 198 | isa = PBXGroup; 199 | children = ( 200 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 201 | ); 202 | name = Products; 203 | sourceTree = ""; 204 | }; 205 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 206 | isa = PBXGroup; 207 | children = ( 208 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 209 | ); 210 | name = Products; 211 | sourceTree = ""; 212 | }; 213 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 214 | isa = PBXGroup; 215 | children = ( 216 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 217 | ); 218 | name = Products; 219 | sourceTree = ""; 220 | }; 221 | 00E356EF1AD99517003FC87E /* ExampleTests */ = { 222 | isa = PBXGroup; 223 | children = ( 224 | 00E356F21AD99517003FC87E /* ExampleTests.m */, 225 | 00E356F01AD99517003FC87E /* Supporting Files */, 226 | ); 227 | path = ExampleTests; 228 | sourceTree = ""; 229 | }; 230 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 231 | isa = PBXGroup; 232 | children = ( 233 | 00E356F11AD99517003FC87E /* Info.plist */, 234 | ); 235 | name = "Supporting Files"; 236 | sourceTree = ""; 237 | }; 238 | 139105B71AF99BAD00B5F7CC /* Products */ = { 239 | isa = PBXGroup; 240 | children = ( 241 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 242 | ); 243 | name = Products; 244 | sourceTree = ""; 245 | }; 246 | 139FDEE71B06529A00C62182 /* Products */ = { 247 | isa = PBXGroup; 248 | children = ( 249 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 250 | ); 251 | name = Products; 252 | sourceTree = ""; 253 | }; 254 | 13B07FAE1A68108700A75B9A /* Example */ = { 255 | isa = PBXGroup; 256 | children = ( 257 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 258 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 259 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 260 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 261 | 13B07FB61A68108700A75B9A /* Info.plist */, 262 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 263 | 13B07FB71A68108700A75B9A /* main.m */, 264 | ); 265 | name = Example; 266 | sourceTree = ""; 267 | }; 268 | 146834001AC3E56700842450 /* Products */ = { 269 | isa = PBXGroup; 270 | children = ( 271 | 146834041AC3E56700842450 /* libReact.a */, 272 | ); 273 | name = Products; 274 | sourceTree = ""; 275 | }; 276 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 277 | isa = PBXGroup; 278 | children = ( 279 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 280 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */, 281 | ); 282 | name = Products; 283 | sourceTree = ""; 284 | }; 285 | 78C398B11ACF4ADC00677621 /* Products */ = { 286 | isa = PBXGroup; 287 | children = ( 288 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 289 | ); 290 | name = Products; 291 | sourceTree = ""; 292 | }; 293 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 294 | isa = PBXGroup; 295 | children = ( 296 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 297 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 298 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 299 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 300 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 301 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 302 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 303 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 304 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 305 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 306 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 307 | D96C76B482734557AED665F3 /* RNGL.xcodeproj */, 308 | ); 309 | name = Libraries; 310 | sourceTree = ""; 311 | }; 312 | 832341B11AAA6A8300B99B32 /* Products */ = { 313 | isa = PBXGroup; 314 | children = ( 315 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 316 | ); 317 | name = Products; 318 | sourceTree = ""; 319 | }; 320 | 83CBB9F61A601CBA00E9B192 = { 321 | isa = PBXGroup; 322 | children = ( 323 | 13B07FAE1A68108700A75B9A /* Example */, 324 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 325 | 00E356EF1AD99517003FC87E /* ExampleTests */, 326 | 83CBBA001A601CBA00E9B192 /* Products */, 327 | ); 328 | indentWidth = 2; 329 | sourceTree = ""; 330 | tabWidth = 2; 331 | }; 332 | 83CBBA001A601CBA00E9B192 /* Products */ = { 333 | isa = PBXGroup; 334 | children = ( 335 | 13B07F961A680F5B00A75B9A /* Example.app */, 336 | 00E356EE1AD99517003FC87E /* ExampleTests.xctest */, 337 | ); 338 | name = Products; 339 | sourceTree = ""; 340 | }; 341 | /* End PBXGroup section */ 342 | 343 | /* Begin PBXNativeTarget section */ 344 | 00E356ED1AD99517003FC87E /* ExampleTests */ = { 345 | isa = PBXNativeTarget; 346 | buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */; 347 | buildPhases = ( 348 | 00E356EA1AD99517003FC87E /* Sources */, 349 | 00E356EB1AD99517003FC87E /* Frameworks */, 350 | 00E356EC1AD99517003FC87E /* Resources */, 351 | ); 352 | buildRules = ( 353 | ); 354 | dependencies = ( 355 | 00E356F51AD99517003FC87E /* PBXTargetDependency */, 356 | ); 357 | name = ExampleTests; 358 | productName = ExampleTests; 359 | productReference = 00E356EE1AD99517003FC87E /* ExampleTests.xctest */; 360 | productType = "com.apple.product-type.bundle.unit-test"; 361 | }; 362 | 13B07F861A680F5B00A75B9A /* Example */ = { 363 | isa = PBXNativeTarget; 364 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */; 365 | buildPhases = ( 366 | 13B07F871A680F5B00A75B9A /* Sources */, 367 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 368 | 13B07F8E1A680F5B00A75B9A /* Resources */, 369 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 370 | ); 371 | buildRules = ( 372 | ); 373 | dependencies = ( 374 | ); 375 | name = Example; 376 | productName = "Hello World"; 377 | productReference = 13B07F961A680F5B00A75B9A /* Example.app */; 378 | productType = "com.apple.product-type.application"; 379 | }; 380 | /* End PBXNativeTarget section */ 381 | 382 | /* Begin PBXProject section */ 383 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 384 | isa = PBXProject; 385 | attributes = { 386 | LastUpgradeCheck = 610; 387 | ORGANIZATIONNAME = Facebook; 388 | TargetAttributes = { 389 | 00E356ED1AD99517003FC87E = { 390 | CreatedOnToolsVersion = 6.2; 391 | TestTargetID = 13B07F861A680F5B00A75B9A; 392 | }; 393 | }; 394 | }; 395 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */; 396 | compatibilityVersion = "Xcode 3.2"; 397 | developmentRegion = English; 398 | hasScannedForEncodings = 0; 399 | knownRegions = ( 400 | en, 401 | Base, 402 | ); 403 | mainGroup = 83CBB9F61A601CBA00E9B192; 404 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 405 | projectDirPath = ""; 406 | projectReferences = ( 407 | { 408 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 409 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 410 | }, 411 | { 412 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 413 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 414 | }, 415 | { 416 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 417 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 418 | }, 419 | { 420 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 421 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 422 | }, 423 | { 424 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 425 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 426 | }, 427 | { 428 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 429 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 430 | }, 431 | { 432 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 433 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 434 | }, 435 | { 436 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 437 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 438 | }, 439 | { 440 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 441 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 442 | }, 443 | { 444 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 445 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 446 | }, 447 | { 448 | ProductGroup = 146834001AC3E56700842450 /* Products */; 449 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 450 | }, 451 | ); 452 | projectRoot = ""; 453 | targets = ( 454 | 13B07F861A680F5B00A75B9A /* Example */, 455 | 00E356ED1AD99517003FC87E /* ExampleTests */, 456 | ); 457 | }; 458 | /* End PBXProject section */ 459 | 460 | /* Begin PBXReferenceProxy section */ 461 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 462 | isa = PBXReferenceProxy; 463 | fileType = archive.ar; 464 | path = libRCTActionSheet.a; 465 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 466 | sourceTree = BUILT_PRODUCTS_DIR; 467 | }; 468 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 469 | isa = PBXReferenceProxy; 470 | fileType = archive.ar; 471 | path = libRCTGeolocation.a; 472 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 473 | sourceTree = BUILT_PRODUCTS_DIR; 474 | }; 475 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 476 | isa = PBXReferenceProxy; 477 | fileType = archive.ar; 478 | path = libRCTImage.a; 479 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 480 | sourceTree = BUILT_PRODUCTS_DIR; 481 | }; 482 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 483 | isa = PBXReferenceProxy; 484 | fileType = archive.ar; 485 | path = libRCTNetwork.a; 486 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 487 | sourceTree = BUILT_PRODUCTS_DIR; 488 | }; 489 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 490 | isa = PBXReferenceProxy; 491 | fileType = archive.ar; 492 | path = libRCTVibration.a; 493 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 494 | sourceTree = BUILT_PRODUCTS_DIR; 495 | }; 496 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 497 | isa = PBXReferenceProxy; 498 | fileType = archive.ar; 499 | path = libRCTSettings.a; 500 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 501 | sourceTree = BUILT_PRODUCTS_DIR; 502 | }; 503 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 504 | isa = PBXReferenceProxy; 505 | fileType = archive.ar; 506 | path = libRCTWebSocket.a; 507 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 508 | sourceTree = BUILT_PRODUCTS_DIR; 509 | }; 510 | 146834041AC3E56700842450 /* libReact.a */ = { 511 | isa = PBXReferenceProxy; 512 | fileType = archive.ar; 513 | path = libReact.a; 514 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 515 | sourceTree = BUILT_PRODUCTS_DIR; 516 | }; 517 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 518 | isa = PBXReferenceProxy; 519 | fileType = archive.ar; 520 | path = libRCTAnimation.a; 521 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 522 | sourceTree = BUILT_PRODUCTS_DIR; 523 | }; 524 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation-tvOS.a */ = { 525 | isa = PBXReferenceProxy; 526 | fileType = archive.ar; 527 | path = "libRCTAnimation-tvOS.a"; 528 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 529 | sourceTree = BUILT_PRODUCTS_DIR; 530 | }; 531 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 532 | isa = PBXReferenceProxy; 533 | fileType = archive.ar; 534 | path = libRCTLinking.a; 535 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 536 | sourceTree = BUILT_PRODUCTS_DIR; 537 | }; 538 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 539 | isa = PBXReferenceProxy; 540 | fileType = archive.ar; 541 | path = libRCTText.a; 542 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 543 | sourceTree = BUILT_PRODUCTS_DIR; 544 | }; 545 | /* End PBXReferenceProxy section */ 546 | 547 | /* Begin PBXResourcesBuildPhase section */ 548 | 00E356EC1AD99517003FC87E /* Resources */ = { 549 | isa = PBXResourcesBuildPhase; 550 | buildActionMask = 2147483647; 551 | files = ( 552 | ); 553 | runOnlyForDeploymentPostprocessing = 0; 554 | }; 555 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 556 | isa = PBXResourcesBuildPhase; 557 | buildActionMask = 2147483647; 558 | files = ( 559 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 560 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 561 | ); 562 | runOnlyForDeploymentPostprocessing = 0; 563 | }; 564 | /* End PBXResourcesBuildPhase section */ 565 | 566 | /* Begin PBXShellScriptBuildPhase section */ 567 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 568 | isa = PBXShellScriptBuildPhase; 569 | buildActionMask = 2147483647; 570 | files = ( 571 | ); 572 | inputPaths = ( 573 | ); 574 | name = "Bundle React Native code and images"; 575 | outputPaths = ( 576 | ); 577 | runOnlyForDeploymentPostprocessing = 0; 578 | shellPath = /bin/sh; 579 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/packager/react-native-xcode.sh"; 580 | }; 581 | /* End PBXShellScriptBuildPhase section */ 582 | 583 | /* Begin PBXSourcesBuildPhase section */ 584 | 00E356EA1AD99517003FC87E /* Sources */ = { 585 | isa = PBXSourcesBuildPhase; 586 | buildActionMask = 2147483647; 587 | files = ( 588 | 00E356F31AD99517003FC87E /* ExampleTests.m in Sources */, 589 | ); 590 | runOnlyForDeploymentPostprocessing = 0; 591 | }; 592 | 13B07F871A680F5B00A75B9A /* Sources */ = { 593 | isa = PBXSourcesBuildPhase; 594 | buildActionMask = 2147483647; 595 | files = ( 596 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 597 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 598 | ); 599 | runOnlyForDeploymentPostprocessing = 0; 600 | }; 601 | /* End PBXSourcesBuildPhase section */ 602 | 603 | /* Begin PBXTargetDependency section */ 604 | 00E356F51AD99517003FC87E /* PBXTargetDependency */ = { 605 | isa = PBXTargetDependency; 606 | target = 13B07F861A680F5B00A75B9A /* Example */; 607 | targetProxy = 00E356F41AD99517003FC87E /* PBXContainerItemProxy */; 608 | }; 609 | /* End PBXTargetDependency section */ 610 | 611 | /* Begin PBXVariantGroup section */ 612 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 613 | isa = PBXVariantGroup; 614 | children = ( 615 | 13B07FB21A68108700A75B9A /* Base */, 616 | ); 617 | name = LaunchScreen.xib; 618 | path = Example; 619 | sourceTree = ""; 620 | }; 621 | /* End PBXVariantGroup section */ 622 | 623 | /* Begin XCBuildConfiguration section */ 624 | 00E356F61AD99517003FC87E /* Debug */ = { 625 | isa = XCBuildConfiguration; 626 | buildSettings = { 627 | BUNDLE_LOADER = "$(TEST_HOST)"; 628 | GCC_PREPROCESSOR_DEFINITIONS = ( 629 | "DEBUG=1", 630 | "$(inherited)", 631 | ); 632 | INFOPLIST_FILE = ExampleTests/Info.plist; 633 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 634 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 635 | PRODUCT_NAME = "$(TARGET_NAME)"; 636 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example"; 637 | LIBRARY_SEARCH_PATHS = ( 638 | "$(inherited)", 639 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 640 | ); 641 | }; 642 | name = Debug; 643 | }; 644 | 00E356F71AD99517003FC87E /* Release */ = { 645 | isa = XCBuildConfiguration; 646 | buildSettings = { 647 | BUNDLE_LOADER = "$(TEST_HOST)"; 648 | COPY_PHASE_STRIP = NO; 649 | INFOPLIST_FILE = ExampleTests/Info.plist; 650 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 651 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 652 | PRODUCT_NAME = "$(TARGET_NAME)"; 653 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Example.app/Example"; 654 | LIBRARY_SEARCH_PATHS = ( 655 | "$(inherited)", 656 | "\"$(SRCROOT)/$(TARGET_NAME)\"", 657 | ); 658 | }; 659 | name = Release; 660 | }; 661 | 13B07F941A680F5B00A75B9A /* Debug */ = { 662 | isa = XCBuildConfiguration; 663 | buildSettings = { 664 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 665 | CURRENT_PROJECT_VERSION = 1; 666 | DEAD_CODE_STRIPPING = NO; 667 | INFOPLIST_FILE = Example/Info.plist; 668 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 669 | OTHER_LDFLAGS = ( 670 | "$(inherited)", 671 | "-ObjC", 672 | "-lc++", 673 | ); 674 | PRODUCT_NAME = Example; 675 | VERSIONING_SYSTEM = "apple-generic"; 676 | }; 677 | name = Debug; 678 | }; 679 | 13B07F951A680F5B00A75B9A /* Release */ = { 680 | isa = XCBuildConfiguration; 681 | buildSettings = { 682 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 683 | CURRENT_PROJECT_VERSION = 1; 684 | INFOPLIST_FILE = Example/Info.plist; 685 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 686 | OTHER_LDFLAGS = ( 687 | "$(inherited)", 688 | "-ObjC", 689 | "-lc++", 690 | ); 691 | PRODUCT_NAME = Example; 692 | VERSIONING_SYSTEM = "apple-generic"; 693 | }; 694 | name = Release; 695 | }; 696 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 697 | isa = XCBuildConfiguration; 698 | buildSettings = { 699 | ALWAYS_SEARCH_USER_PATHS = NO; 700 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 701 | CLANG_CXX_LIBRARY = "libc++"; 702 | CLANG_ENABLE_MODULES = YES; 703 | CLANG_ENABLE_OBJC_ARC = YES; 704 | CLANG_WARN_BOOL_CONVERSION = YES; 705 | CLANG_WARN_CONSTANT_CONVERSION = YES; 706 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 707 | CLANG_WARN_EMPTY_BODY = YES; 708 | CLANG_WARN_ENUM_CONVERSION = YES; 709 | CLANG_WARN_INT_CONVERSION = YES; 710 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 711 | CLANG_WARN_UNREACHABLE_CODE = YES; 712 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 713 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 714 | COPY_PHASE_STRIP = NO; 715 | ENABLE_STRICT_OBJC_MSGSEND = YES; 716 | GCC_C_LANGUAGE_STANDARD = gnu99; 717 | GCC_DYNAMIC_NO_PIC = NO; 718 | GCC_OPTIMIZATION_LEVEL = 0; 719 | GCC_PREPROCESSOR_DEFINITIONS = ( 720 | "DEBUG=1", 721 | "$(inherited)", 722 | ); 723 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 724 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 725 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 726 | GCC_WARN_UNDECLARED_SELECTOR = YES; 727 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 728 | GCC_WARN_UNUSED_FUNCTION = YES; 729 | GCC_WARN_UNUSED_VARIABLE = YES; 730 | HEADER_SEARCH_PATHS = ( 731 | "$(inherited)", 732 | "$(SRCROOT)/../node_modules/react-native/React/**", 733 | "$(SRCROOT)/../node_modules/react-native/ReactCommon/**", 734 | "$(SRCROOT)\..\node_modules\gl-react-native\ios", 735 | ); 736 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 737 | MTL_ENABLE_DEBUG_INFO = YES; 738 | ONLY_ACTIVE_ARCH = YES; 739 | SDKROOT = iphoneos; 740 | }; 741 | name = Debug; 742 | }; 743 | 83CBBA211A601CBA00E9B192 /* Release */ = { 744 | isa = XCBuildConfiguration; 745 | buildSettings = { 746 | ALWAYS_SEARCH_USER_PATHS = NO; 747 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 748 | CLANG_CXX_LIBRARY = "libc++"; 749 | CLANG_ENABLE_MODULES = YES; 750 | CLANG_ENABLE_OBJC_ARC = YES; 751 | CLANG_WARN_BOOL_CONVERSION = YES; 752 | CLANG_WARN_CONSTANT_CONVERSION = YES; 753 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 754 | CLANG_WARN_EMPTY_BODY = YES; 755 | CLANG_WARN_ENUM_CONVERSION = YES; 756 | CLANG_WARN_INT_CONVERSION = YES; 757 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 758 | CLANG_WARN_UNREACHABLE_CODE = YES; 759 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 760 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 761 | COPY_PHASE_STRIP = YES; 762 | ENABLE_NS_ASSERTIONS = NO; 763 | ENABLE_STRICT_OBJC_MSGSEND = YES; 764 | GCC_C_LANGUAGE_STANDARD = gnu99; 765 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 766 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 767 | GCC_WARN_UNDECLARED_SELECTOR = YES; 768 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 769 | GCC_WARN_UNUSED_FUNCTION = YES; 770 | GCC_WARN_UNUSED_VARIABLE = YES; 771 | HEADER_SEARCH_PATHS = ( 772 | "$(inherited)", 773 | "$(SRCROOT)/../node_modules/react-native/React/**", 774 | "$(SRCROOT)/../node_modules/react-native/ReactCommon/**", 775 | "$(SRCROOT)\..\node_modules\gl-react-native\ios", 776 | ); 777 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 778 | MTL_ENABLE_DEBUG_INFO = NO; 779 | SDKROOT = iphoneos; 780 | VALIDATE_PRODUCT = YES; 781 | }; 782 | name = Release; 783 | }; 784 | /* End XCBuildConfiguration section */ 785 | 786 | /* Begin XCConfigurationList section */ 787 | 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "ExampleTests" */ = { 788 | isa = XCConfigurationList; 789 | buildConfigurations = ( 790 | 00E356F61AD99517003FC87E /* Debug */, 791 | 00E356F71AD99517003FC87E /* Release */, 792 | ); 793 | defaultConfigurationIsVisible = 0; 794 | defaultConfigurationName = Release; 795 | }; 796 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "Example" */ = { 797 | isa = XCConfigurationList; 798 | buildConfigurations = ( 799 | 13B07F941A680F5B00A75B9A /* Debug */, 800 | 13B07F951A680F5B00A75B9A /* Release */, 801 | ); 802 | defaultConfigurationIsVisible = 0; 803 | defaultConfigurationName = Release; 804 | }; 805 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "Example" */ = { 806 | isa = XCConfigurationList; 807 | buildConfigurations = ( 808 | 83CBBA201A601CBA00E9B192 /* Debug */, 809 | 83CBBA211A601CBA00E9B192 /* Release */, 810 | ); 811 | defaultConfigurationIsVisible = 0; 812 | defaultConfigurationName = Release; 813 | }; 814 | /* End XCConfigurationList section */ 815 | }; 816 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 817 | } 818 | -------------------------------------------------------------------------------- /Example/ios/Example.xcodeproj/xcshareddata/xcschemes/Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 77 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 96 | 102 | 103 | 104 | 105 | 107 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /Example/ios/Example/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | @interface AppDelegate : UIResponder 13 | 14 | @property (nonatomic, strong) UIWindow *window; 15 | 16 | @end 17 | -------------------------------------------------------------------------------- /Example/ios/Example/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import "AppDelegate.h" 11 | 12 | #import "RCTBundleURLProvider.h" 13 | #import "RCTRootView.h" 14 | 15 | @implementation AppDelegate 16 | 17 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 18 | { 19 | NSURL *jsCodeLocation; 20 | 21 | jsCodeLocation = [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index.ios" fallbackResource:nil]; 22 | 23 | RCTRootView *rootView = [[RCTRootView alloc] initWithBundleURL:jsCodeLocation 24 | moduleName:@"Example" 25 | initialProperties:nil 26 | launchOptions:launchOptions]; 27 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 28 | 29 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 30 | UIViewController *rootViewController = [UIViewController new]; 31 | rootViewController.view = rootView; 32 | self.window.rootViewController = rootViewController; 33 | [self.window makeKeyAndVisible]; 34 | return YES; 35 | } 36 | 37 | @end 38 | -------------------------------------------------------------------------------- /Example/ios/Example/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /Example/ios/Example/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Example/ios/Example/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /Example/ios/Example/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | 12 | #import "AppDelegate.h" 13 | 14 | int main(int argc, char * argv[]) { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Example/ios/ExampleTests/ExampleTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) 2015-present, Facebook, Inc. 3 | * All rights reserved. 4 | * 5 | * This source code is licensed under the BSD-style license found in the 6 | * LICENSE file in the root directory of this source tree. An additional grant 7 | * of patent rights can be found in the PATENTS file in the same directory. 8 | */ 9 | 10 | #import 11 | #import 12 | 13 | #import "RCTLog.h" 14 | #import "RCTRootView.h" 15 | 16 | #define TIMEOUT_SECONDS 600 17 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 18 | 19 | @interface ExampleTests : XCTestCase 20 | 21 | @end 22 | 23 | @implementation ExampleTests 24 | 25 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 26 | { 27 | if (test(view)) { 28 | return YES; 29 | } 30 | for (UIView *subview in [view subviews]) { 31 | if ([self findSubviewInView:subview matching:test]) { 32 | return YES; 33 | } 34 | } 35 | return NO; 36 | } 37 | 38 | - (void)testRendersWelcomeScreen 39 | { 40 | UIViewController *vc = [[[[UIApplication sharedApplication] delegate] window] rootViewController]; 41 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 42 | BOOL foundElement = NO; 43 | 44 | __block NSString *redboxError = nil; 45 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 46 | if (level >= RCTLogLevelError) { 47 | redboxError = message; 48 | } 49 | }); 50 | 51 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 52 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 53 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 54 | 55 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 56 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 57 | return YES; 58 | } 59 | return NO; 60 | }]; 61 | } 62 | 63 | RCTSetLogFunction(RCTDefaultLogFunction); 64 | 65 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 66 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 67 | } 68 | 69 | 70 | @end 71 | -------------------------------------------------------------------------------- /Example/ios/ExampleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Example", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest" 8 | }, 9 | "dependencies": { 10 | "gl-react": "^2.2.8", 11 | "gl-react-native": "^2.39.0", 12 | "react": "15.4.1", 13 | "react-native": "0.39.1", 14 | "react-native-image-cropper": "^0.2.0" 15 | }, 16 | "devDependencies": { 17 | "babel-jest": "17.0.2", 18 | "babel-preset-react-native": "1.9.0", 19 | "jest": "17.0.3", 20 | "react-test-renderer": "15.4.1" 21 | }, 22 | "jest": { 23 | "preset": "react-native" 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2016-present Kristoffer Klevenberg 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 6 | 7 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # react-native-image-cropper ![](https://img.shields.io/npm/v/react-native-image-cropper.svg) ![](https://img.shields.io/badge/gl--react->=2.1-05F561.svg) ![](https://img.shields.io/badge/gl--react--native->=2.28.0-05F561.svg) 2 | 3 | [![Greenkeeper badge](https://badges.greenkeeper.io/stoffern/react-native-image-cropper.svg)](https://greenkeeper.io/) 4 | 5 | This Image cropper is based on the gl-react-native [library](https://github.com/ProjectSeptemberInc/gl-react-native) 6 | 7 | ![Cropping View](https://media.giphy.com/media/l46CDga4bxZccVxWU/giphy.gif) 8 | 9 | ## Installation 10 | ``` 11 | npm i -S react-native-image-cropper 12 | ``` 13 | or 14 | ``` 15 | yarn add react-native-image-cropper 16 | ``` 17 | 18 | ## Requirements 19 | - `gl-react` You need to install gl-react. `npm i -S gl-react` 20 | - `gl-react-native` You need to install gl-react-native and link the repo in RN. `npm i -S gl-react-native & rnpm link` 21 | - `react-native` Android requires you to have RN 0.28 or higher! 22 | 23 | #### `{ImageCrop}` Props 24 | - `image` **(required)**: uri to image that should be cropped. 25 | - `cropHeight` **(required)**: height of the image in cropped size. 26 | - `cropWidth` **(required)**: width of the image in cropped size. 27 | - `zoom`: range 0 - 100 setting zoom value. where 100 = full zoom. (default: 0) 28 | - `maxZoom`: max zoom value, should be bigger than minZoom value (default: 100) 29 | - `minZoom`: min zoom value, should be smaller than maxZoom value (default: 0) 30 | - `panToMove`: Use pan to move image? (default: true) 31 | - `pinchToZoom` Use pinch to zoom image? (default: true) 32 | - `quality`: a value from 0 to 1 to describe the quality of the snapshot. 0 means 0% (most compressed) and 1 means 100% (best quality). (default: 1) 33 | - `type`: the file type default value is **"png"**, **"jpg"** is also supported. Refer to implementations to see more supported values. (default: jpg) 34 | - `format`: the format of the output. Supported values: **"base64"**, **"file"**. (default: base64) 35 | - `filePath`: if format is **"file"**, the path to write the image to (default: "") 36 | - `pixelRatio`: the pixel ratio to use for the rendering. By default the screen pixel scale will be used. 37 | 38 | #### `{ImageCrop}` Functions 39 | - `crop()`: returns a base64 encoded image. 40 | 41 | 42 | ## Example 43 | ```js 44 | ... 45 | import {ImageCrop} from 'react-native-image-cropper' 46 | 47 | 48 | ... 49 | render() { 50 | return ( 51 | 52 | 63 | Capture() 64 | 65 | 66 | ) 67 | } 68 | capture(){ 69 | this.refs.cropper.crop() 70 | .then(base64 => console.log(base64)) 71 | } 72 | ... 73 | 74 | ``` 75 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-image-cropper", 3 | "version": "0.0.0-semantically-release", 4 | "description": "Crop image in React Native using pan to move, pinch to zoom -> capture to file or base64", 5 | "main": "src/index.js", 6 | "directories": { 7 | "example": "example" 8 | }, 9 | "scripts": { 10 | "test": "eslint .", 11 | "semantic-release": "semantic-release pre && npm publish && semantic-release post" 12 | }, 13 | "repository": { 14 | "type": "git", 15 | "url": "https://github.com/stoffern/react-native-image-cropper.git" 16 | }, 17 | "keywords": [ 18 | "imagecropper", 19 | "image", 20 | "crop", 21 | "react-native", 22 | "gl-react-native", 23 | "image-croppper" 24 | ], 25 | "author": "Kristoffer Klevenberg", 26 | "license": "MIT", 27 | "bugs": { 28 | "url": "https://github.com/stoffern/react-native-image-cropper/issues" 29 | }, 30 | "homepage": "https://github.com/stoffern/react-native-image-cropper#readme", 31 | "dependencies": { 32 | "eslint": "^4.8.0", 33 | "eslint-plugin-react": "^7.4.0", 34 | "gl-react": "^2.3.1", 35 | "gl-react-native": "git://github.com/gre/gl-react-native-v2.git#10d3dce593080301dc12e467cd5e1c3d22995167", 36 | "prop-types": "^15.6.0", 37 | "rect-clamp": "^0.0.0", 38 | "rect-crop": "^0.0.0" 39 | }, 40 | "devDependencies": { 41 | "cz-conventional-changelog": "^2.0.0", 42 | "semantic-release": "^8.0.3" 43 | }, 44 | "config": { 45 | "commitizen": { 46 | "path": "./node_modules/cz-conventional-changelog" 47 | } 48 | } 49 | } 50 | -------------------------------------------------------------------------------- /src/Image.js: -------------------------------------------------------------------------------- 1 | import GL from "gl-react"; 2 | import React from "react"; 3 | import rectCrop from "rect-crop"; 4 | import rectClamp from "rect-clamp"; 5 | import PropTypes from 'prop-types'; 6 | 7 | const shaders = GL.Shaders.create({ 8 | image: { 9 | frag: ` 10 | precision highp float; 11 | varying vec2 uv; 12 | uniform sampler2D t; 13 | uniform vec4 crop; 14 | vec2 invert (vec2 p) {${""/* y is reversed in gl context */} 15 | return vec2(p.x, 1.0-p.y); 16 | } 17 | void main () { 18 | vec2 p = invert(invert(uv) * crop.zw + crop.xy); 19 | gl_FragColor = 20 | step(0.0, p.x) * 21 | step(0.0, p.y) * 22 | step(p.x, 1.0) * 23 | step(p.y, 1.0) * 24 | texture2D(t, p); 25 | }` 26 | } 27 | }); 28 | 29 | const Image = GL.createComponent( 30 | ({ 31 | width, 32 | height, 33 | source, 34 | imageSize, 35 | resizeMode = "cover", 36 | center, 37 | zoom, 38 | }) => { 39 | if (!imageSize) { 40 | if (source.width && source.height) { 41 | imageSize = { width: source.width, height: source.height }; 42 | } 43 | else { 44 | throw new Error("gl-rect-image: imageSize is required if you don't provide {width,height} in source"); 45 | } 46 | } 47 | let crop; 48 | switch (resizeMode) { 49 | case "cover": { 50 | if (!center) center = [ 0.5, 0.5 ]; 51 | if (!zoom) zoom = 1; 52 | let rect = rectCrop(zoom, center)({ width, height }, imageSize); 53 | rect = rectClamp(rect, [ 0, 0, imageSize.width, imageSize.height ]); 54 | crop = [ 55 | rect[0] / imageSize.width, 56 | rect[1] / imageSize.height, 57 | rect[2] / imageSize.width, 58 | rect[3] / imageSize.height 59 | ]; 60 | break; 61 | } 62 | case "contain": { 63 | if (center || zoom) { 64 | console.warn("gl-react-image: center and zoom props are only supported with resizeMode='cover'"); 65 | } 66 | const ratio = width / height; 67 | const imageRatio = imageSize.width / imageSize.height; 68 | crop = 69 | ratio > imageRatio 70 | ? [ (1 - ratio / imageRatio) / 2, 0, ratio / imageRatio, 1 ] 71 | : [ 0, (1 - imageRatio / ratio) / 2, 1, imageRatio / ratio ]; 72 | break; 73 | } 74 | case "stretch": 75 | if (center || zoom) { 76 | console.warn("gl-react-image: center and zoom props are only supported with resizeMode='cover'"); 77 | } 78 | crop = [ 0, 0, 1, 1 ]; 79 | break; 80 | 81 | default: 82 | throw new Error("gl-react-image: unknown resizeMode="+resizeMode); 83 | } 84 | 85 | return ; 92 | }, 93 | { 94 | displayName: "Image", 95 | propTypes: { 96 | source: PropTypes.any.isRequired, 97 | imageSize: PropTypes.shape({ 98 | width: PropTypes.number.isRequired, 99 | height: PropTypes.number.isRequired, 100 | }), 101 | resizeMode: PropTypes.string, 102 | } 103 | }); 104 | 105 | module.exports ={ 106 | Image, 107 | } -------------------------------------------------------------------------------- /src/ImageCrop.js: -------------------------------------------------------------------------------- 1 | import React, { Component } from 'react' 2 | import PropTypes from 'prop-types' 3 | import { 4 | View, 5 | Image, 6 | PixelRatio, 7 | PanResponder 8 | } from 'react-native' 9 | 10 | import {Surface} from 'gl-react-native' 11 | const {Image: GLImage} = require("./Image") 12 | 13 | const imageDimensionsAfterZoom = (viewport, dimensions, zoom) => { 14 | const ImageRatio = dimensions.width/dimensions.height 15 | const ViewportRatio = viewport.width/viewport.height 16 | if (ImageRatio > ViewportRatio){ 17 | return { 18 | height: Math.floor(viewport.height/zoom), 19 | width: Math.floor((viewport.height*ImageRatio)/zoom) 20 | } 21 | } 22 | else 23 | return { 24 | height: Math.floor((viewport.width/ImageRatio)/zoom), 25 | width: Math.floor(viewport.width/zoom) 26 | } 27 | } 28 | 29 | const movementFromZoom = (gestureState, viewport, dimensions, offsets, zoom) =>{ 30 | let newPosX, newPosY 31 | // X-axis 32 | let widthOffset = dimensions.width-viewport.width 33 | let pxVsMovX = (1/dimensions.width) 34 | let moveX = (gestureState.dx*pxVsMovX) * zoom 35 | newPosX = (parseFloat(offsets.x) - parseFloat(moveX)) 36 | 37 | // Y-axis 38 | let heightOffset = dimensions.height-viewport.height 39 | let pxVsMovY = (1/dimensions.height) 40 | let moveY = (gestureState.dy*pxVsMovY) * zoom 41 | newPosY = (parseFloat(offsets.y) - parseFloat(moveY)) 42 | return { 43 | x: newPosX, 44 | y: newPosY, 45 | } 46 | } 47 | 48 | 49 | class ImageCrop extends Component { 50 | constructor(props) { 51 | super(props) 52 | this.state = { 53 | zoom: 1, 54 | 55 | //pan settings 56 | centerX: 0.5, 57 | centerY: 0.5, 58 | 59 | //Image sizes 60 | imageHeight: 300, 61 | imageWidth: 300, 62 | imageDimHeight: 0, 63 | imageDimWidth: 0, 64 | currentCapture: '', 65 | } 66 | } 67 | componentWillMount(){ 68 | Image.getSize(this.props.image, (width, height) => { 69 | //update state 70 | this.setState({ 71 | imageHeight: height, 72 | imageWidth: width, 73 | }) 74 | }) 75 | 76 | // 77 | //get dimensions after crop 78 | // 79 | this._dimensionAfterZoom = imageDimensionsAfterZoom( 80 | {height: this.props.cropHeight, width: this.props.cropWidth}, 81 | {height: this.state.imageHeight, width: this.state.imageWidth}, 82 | this.state.zoom 83 | ) 84 | 85 | this.setState({ 86 | imageDimHeight: this._dimensionAfterZoom.height, 87 | imageDimWidth: this._dimensionAfterZoom.width 88 | }) 89 | 90 | this._panResponder = PanResponder.create({ 91 | onStartShouldSetPanResponder: (evt, gestureState) => true, 92 | onStartShouldSetPanResponderCapture: (evt, gestureState) => true, 93 | onMoveShouldSetPanResponder: (evt, gestureState) => true, 94 | onMoveShouldSetPanResponderCapture: (evt, gestureState) => true, 95 | onPanResponderTerminationRequest: (evt, gestureState) => false, 96 | onShouldBlockNativeResponder: (evt, gestureState) => true, 97 | 98 | onPanResponderGrant: (evt, gestureState) => { 99 | //move variables 100 | this.offsetX = this.state.centerX 101 | this.offsetY = this.state.centerY 102 | 103 | //zoom variables 104 | this.zoomLastDistance=0 105 | this.zoomCurrentDistance=0 106 | }, 107 | 108 | onPanResponderMove: (evt, gestureState) => { 109 | //We are moving the image 110 | if (evt.nativeEvent.changedTouches.length <= 1){ 111 | var trackX = (gestureState.dx/this.props.cropWidth)*this.state.zoom 112 | var trackY = (gestureState.dy/this.props.cropHeight)*this.state.zoom 113 | var newPosX = (Number(this.offsetX) - Number(trackX)) 114 | var newPosY = (Number(this.offsetY) - Number(trackY)) 115 | if (newPosX> 1) newPosX = Number(1) 116 | if (newPosY> 1) newPosY = Number(1) 117 | if (newPosX< 0) newPosX = Number(0) 118 | if (newPosY< 0) newPosY = Number(0) 119 | 120 | var movement = movementFromZoom( 121 | gestureState, 122 | {width: this.props.cropWidth, height: this.props.cropHeight}, 123 | {width: this.state.imageDimWidth, height: this.state.imageDimHeight}, 124 | {x: this.offsetX, y: this.offsetY}, 125 | this.state.zoom 126 | ) 127 | this.setState({centerX: movement.x}) 128 | this.setState({centerY: movement.y}) 129 | }else{ 130 | //We are zooming the image 131 | if (this.zoomLastDistance == 0){ 132 | let a = evt.nativeEvent.changedTouches[0].locationX - evt.nativeEvent.changedTouches[1].locationX 133 | let b = evt.nativeEvent.changedTouches[0].locationY - evt.nativeEvent.changedTouches[1].locationY 134 | let c = Math.sqrt( a*a + b*b ) 135 | this.zoomLastDistance = c.toFixed(1) 136 | }else{ 137 | let a = evt.nativeEvent.changedTouches[0].locationX - evt.nativeEvent.changedTouches[1].locationX 138 | let b = evt.nativeEvent.changedTouches[0].locationY - evt.nativeEvent.changedTouches[1].locationY 139 | let c = Math.sqrt( a*a + b*b ) 140 | this.zoomCurrentDistance = c.toFixed(1) 141 | 142 | //what is the zoom level 143 | var screenDiagonal = Math.sqrt(this.state.imageHeight*this.state.imageHeight + this.state.imageWidth*this.state.imageWidth) 144 | var distance = (this.zoomCurrentDistance-this.zoomLastDistance)/400 145 | var zoom = this.state.zoom-distance 146 | 147 | if (zoom<0)zoom=0.0000001 148 | if (zoom>1)zoom=1 149 | this.setState({ 150 | zoom: zoom, 151 | }) 152 | //Set last distance.. 153 | this.zoomLastDistance=this.zoomCurrentDistance 154 | } 155 | } 156 | } 157 | }) 158 | } 159 | componentWillReceiveProps(nextProps){ 160 | // Update image size on image props update 161 | Image.getSize(nextProps.image, (width, height) => { 162 | this.setState({ 163 | imageHeight: height, 164 | imageWidth: width, 165 | }) 166 | }) 167 | 168 | if (this.props.zoom != nextProps.zoom) { 169 | var zoom = (100 - nextProps.zoom)/100 170 | this.setState({ zoom: zoom }) 171 | } 172 | 173 | // 174 | //get dimensions after crop 175 | // 176 | this._dimensionAfterZoom = imageDimensionsAfterZoom( 177 | {height: this.props.cropHeight, width: this.props.cropWidth}, 178 | {height: this.state.imageHeight, width: this.state.imageWidth}, 179 | this.state.zoom 180 | ) 181 | 182 | this.setState({ 183 | imageDimHeight: this._dimensionAfterZoom.height, 184 | imageDimWidth: this._dimensionAfterZoom.width 185 | }) 186 | } 187 | render() { 188 | return ( 189 | 190 | 191 | 198 | 199 | 200 | ) 201 | } 202 | crop(){ 203 | return this.refs.cropit.captureFrame({quality: this.props.quality, type: this.props.type, format: this.props.format, filePath: this.props.filePath}) 204 | } 205 | } 206 | ImageCrop.defaultProps = { 207 | image: '', 208 | cropWidth: 300, 209 | cropHeight: 300, 210 | zoomFactor: 0, 211 | minZoom: 0, 212 | maxZoom: 100, 213 | quality: 1, 214 | pixelRatio: PixelRatio.get(), 215 | type: 'jpg', 216 | format: 'base64', 217 | filePath: '' 218 | } 219 | ImageCrop.propTypes = { 220 | image: PropTypes.string.isRequired, 221 | cropWidth: PropTypes.number.isRequired, 222 | cropHeight: PropTypes.number.isRequired, 223 | zoomFactor: PropTypes.number, 224 | maxZoom: PropTypes.number, 225 | minZoom: PropTypes.number, 226 | quality: PropTypes.number, 227 | pixelRatio: PropTypes.number, 228 | type: PropTypes.string, 229 | format: PropTypes.string, 230 | filePath: PropTypes.string 231 | } 232 | module.exports=ImageCrop 233 | -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- 1 | module.exports={ 2 | ImageCrop: require('./ImageCrop'), 3 | } -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- 1 | # THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. 2 | # yarn lockfile v1 3 | 4 | 5 | "@semantic-release/commit-analyzer@^3.0.1": 6 | version "3.0.7" 7 | resolved "https://registry.yarnpkg.com/@semantic-release/commit-analyzer/-/commit-analyzer-3.0.7.tgz#dc955444a6d3d2ae9b8e21f90c2c80c4e9142b2f" 8 | dependencies: 9 | "@semantic-release/error" "^2.0.0" 10 | conventional-changelog-angular "^1.4.0" 11 | conventional-commits-parser "^2.0.0" 12 | import-from "^2.1.0" 13 | lodash "^4.17.4" 14 | pify "^3.0.0" 15 | 16 | "@semantic-release/condition-travis@^6.0.0": 17 | version "6.2.1" 18 | resolved "https://registry.yarnpkg.com/@semantic-release/condition-travis/-/condition-travis-6.2.1.tgz#e3421e5bce47f27057d66abad79e432382427982" 19 | dependencies: 20 | "@semantic-release/error" "^2.0.0" 21 | github "^12.0.0" 22 | parse-github-repo-url "^1.4.1" 23 | semver "^5.0.3" 24 | travis-deploy-once "^3.0.0" 25 | 26 | "@semantic-release/error@^2.0.0": 27 | version "2.1.0" 28 | resolved "https://registry.yarnpkg.com/@semantic-release/error/-/error-2.1.0.tgz#44771f676f5b148da309111285a97901aa95a6e0" 29 | 30 | "@semantic-release/last-release-npm@^2.0.0": 31 | version "2.0.2" 32 | resolved "https://registry.yarnpkg.com/@semantic-release/last-release-npm/-/last-release-npm-2.0.2.tgz#c91b1ccb48b0d7095b107be6ebc2c0c08bd88c27" 33 | dependencies: 34 | "@semantic-release/error" "^2.0.0" 35 | npm-registry-client "^8.4.0" 36 | npmlog "^4.0.0" 37 | 38 | "@semantic-release/release-notes-generator@^4.0.0": 39 | version "4.0.5" 40 | resolved "https://registry.yarnpkg.com/@semantic-release/release-notes-generator/-/release-notes-generator-4.0.5.tgz#46cc2f16bdb60fe9674bbcd616bfe0f8bb35347c" 41 | dependencies: 42 | "@semantic-release/error" "^2.0.0" 43 | conventional-changelog-angular "^1.4.0" 44 | conventional-changelog-core "^1.9.0" 45 | get-stream "^3.0.0" 46 | import-from "^2.1.0" 47 | lodash "^4.17.4" 48 | pify "^3.0.0" 49 | 50 | "@sindresorhus/is@^0.6.0": 51 | version "0.6.0" 52 | resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-0.6.0.tgz#383f456b26bc96c7889f0332079f4358b16c58dc" 53 | 54 | JSONStream@^1.0.4: 55 | version "1.3.1" 56 | resolved "https://registry.yarnpkg.com/JSONStream/-/JSONStream-1.3.1.tgz#707f761e01dae9e16f1bcf93703b78c70966579a" 57 | dependencies: 58 | jsonparse "^1.2.0" 59 | through ">=2.2.7 <3" 60 | 61 | abbrev@1: 62 | version "1.1.1" 63 | resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.1.tgz#f8f2c887ad10bf67f634f005b6987fed3179aac8" 64 | 65 | acorn-jsx@^3.0.0: 66 | version "3.0.1" 67 | resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-3.0.1.tgz#afdf9488fb1ecefc8348f6fb22f464e32a58b36b" 68 | dependencies: 69 | acorn "^3.0.4" 70 | 71 | acorn@^3.0.4: 72 | version "3.3.0" 73 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-3.3.0.tgz#45e37fb39e8da3f25baee3ff5369e2bb5f22017a" 74 | 75 | acorn@^5.2.1: 76 | version "5.2.1" 77 | resolved "https://registry.yarnpkg.com/acorn/-/acorn-5.2.1.tgz#317ac7821826c22c702d66189ab8359675f135d7" 78 | 79 | agent-base@^4.1.0: 80 | version "4.1.2" 81 | resolved "https://registry.yarnpkg.com/agent-base/-/agent-base-4.1.2.tgz#80fa6cde440f4dcf9af2617cf246099b5d99f0c8" 82 | dependencies: 83 | es6-promisify "^5.0.0" 84 | 85 | ajv-keywords@^2.1.0: 86 | version "2.1.1" 87 | resolved "https://registry.yarnpkg.com/ajv-keywords/-/ajv-keywords-2.1.1.tgz#617997fc5f60576894c435f940d819e135b80762" 88 | 89 | ajv@^5.1.0, ajv@^5.2.3, ajv@^5.3.0: 90 | version "5.5.1" 91 | resolved "https://registry.yarnpkg.com/ajv/-/ajv-5.5.1.tgz#b38bb8876d9e86bee994956a04e721e88b248eb2" 92 | dependencies: 93 | co "^4.6.0" 94 | fast-deep-equal "^1.0.0" 95 | fast-json-stable-stringify "^2.0.0" 96 | json-schema-traverse "^0.3.0" 97 | 98 | align-text@^0.1.1, align-text@^0.1.3: 99 | version "0.1.4" 100 | resolved "https://registry.yarnpkg.com/align-text/-/align-text-0.1.4.tgz#0cd90a561093f35d0a99256c22b7069433fad117" 101 | dependencies: 102 | kind-of "^3.0.2" 103 | longest "^1.0.1" 104 | repeat-string "^1.5.2" 105 | 106 | amdefine@>=0.0.4: 107 | version "1.0.1" 108 | resolved "https://registry.yarnpkg.com/amdefine/-/amdefine-1.0.1.tgz#4a5282ac164729e93619bcfd3ad151f817ce91f5" 109 | 110 | ansi-escapes@^3.0.0: 111 | version "3.0.0" 112 | resolved "https://registry.yarnpkg.com/ansi-escapes/-/ansi-escapes-3.0.0.tgz#ec3e8b4e9f8064fc02c3ac9b65f1c275bda8ef92" 113 | 114 | ansi-regex@^2.0.0: 115 | version "2.1.1" 116 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" 117 | 118 | ansi-regex@^3.0.0: 119 | version "3.0.0" 120 | resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.0.tgz#ed0317c322064f79466c02966bddb605ab37d998" 121 | 122 | ansi-styles@^2.2.1: 123 | version "2.2.1" 124 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" 125 | 126 | ansi-styles@^3.1.0: 127 | version "3.2.0" 128 | resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.0.tgz#c159b8d5be0f9e5a6f346dab94f16ce022161b88" 129 | dependencies: 130 | color-convert "^1.9.0" 131 | 132 | aproba@^1.0.3: 133 | version "1.2.0" 134 | resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.2.0.tgz#6802e6264efd18c790a1b0d517f0f2627bf2c94a" 135 | 136 | are-we-there-yet@~1.1.2: 137 | version "1.1.4" 138 | resolved "https://registry.yarnpkg.com/are-we-there-yet/-/are-we-there-yet-1.1.4.tgz#bb5dca382bb94f05e15194373d16fd3ba1ca110d" 139 | dependencies: 140 | delegates "^1.0.0" 141 | readable-stream "^2.0.6" 142 | 143 | argparse@^1.0.7: 144 | version "1.0.9" 145 | resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.9.tgz#73d83bc263f86e97f8cc4f6bae1b0e90a7d22c86" 146 | dependencies: 147 | sprintf-js "~1.0.2" 148 | 149 | array-find-index@^1.0.1: 150 | version "1.0.2" 151 | resolved "https://registry.yarnpkg.com/array-find-index/-/array-find-index-1.0.2.tgz#df010aa1287e164bbda6f9723b0a96a1ec4187a1" 152 | 153 | array-ify@^1.0.0: 154 | version "1.0.0" 155 | resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" 156 | 157 | array-includes@^3.0.3: 158 | version "3.0.3" 159 | resolved "https://registry.yarnpkg.com/array-includes/-/array-includes-3.0.3.tgz#184b48f62d92d7452bb31b323165c7f8bd02266d" 160 | dependencies: 161 | define-properties "^1.1.2" 162 | es-abstract "^1.7.0" 163 | 164 | array-union@^1.0.1: 165 | version "1.0.2" 166 | resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" 167 | dependencies: 168 | array-uniq "^1.0.1" 169 | 170 | array-uniq@^1.0.1: 171 | version "1.0.3" 172 | resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" 173 | 174 | arrify@^1.0.0: 175 | version "1.0.1" 176 | resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" 177 | 178 | asap@~2.0.3: 179 | version "2.0.6" 180 | resolved "https://registry.yarnpkg.com/asap/-/asap-2.0.6.tgz#e50347611d7e690943208bbdafebcbc2fb866d46" 181 | 182 | asn1@~0.2.3: 183 | version "0.2.3" 184 | resolved "https://registry.yarnpkg.com/asn1/-/asn1-0.2.3.tgz#dac8787713c9966849fc8180777ebe9c1ddf3b86" 185 | 186 | assert-plus@1.0.0, assert-plus@^1.0.0: 187 | version "1.0.0" 188 | resolved "https://registry.yarnpkg.com/assert-plus/-/assert-plus-1.0.0.tgz#f12e0f3c5d77b0b1cdd9146942e4e96c1e4dd525" 189 | 190 | async@^1.4.0: 191 | version "1.5.2" 192 | resolved "https://registry.yarnpkg.com/async/-/async-1.5.2.tgz#ec6a61ae56480c0c3cb241c95618e20892f9672a" 193 | 194 | asynckit@^0.4.0: 195 | version "0.4.0" 196 | resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" 197 | 198 | aws-sign2@~0.7.0: 199 | version "0.7.0" 200 | resolved "https://registry.yarnpkg.com/aws-sign2/-/aws-sign2-0.7.0.tgz#b46e890934a9591f2d2f6f86d7e6a9f1b3fe76a8" 201 | 202 | aws4@^1.6.0: 203 | version "1.6.0" 204 | resolved "https://registry.yarnpkg.com/aws4/-/aws4-1.6.0.tgz#83ef5ca860b2b32e4a0deedee8c771b9db57471e" 205 | 206 | babel-code-frame@^6.22.0: 207 | version "6.26.0" 208 | resolved "https://registry.yarnpkg.com/babel-code-frame/-/babel-code-frame-6.26.0.tgz#63fd43f7dc1e3bb7ce35947db8fe369a3f58c74b" 209 | dependencies: 210 | chalk "^1.1.3" 211 | esutils "^2.0.2" 212 | js-tokens "^3.0.2" 213 | 214 | balanced-match@^1.0.0: 215 | version "1.0.0" 216 | resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.0.tgz#89b4d199ab2bee49de164ea02b89ce462d71b767" 217 | 218 | bcrypt-pbkdf@^1.0.0: 219 | version "1.0.1" 220 | resolved "https://registry.yarnpkg.com/bcrypt-pbkdf/-/bcrypt-pbkdf-1.0.1.tgz#63bc5dcb61331b92bc05fd528953c33462a06f8d" 221 | dependencies: 222 | tweetnacl "^0.14.3" 223 | 224 | boom@4.x.x: 225 | version "4.3.1" 226 | resolved "https://registry.yarnpkg.com/boom/-/boom-4.3.1.tgz#4f8a3005cb4a7e3889f749030fd25b96e01d2e31" 227 | dependencies: 228 | hoek "4.x.x" 229 | 230 | boom@5.x.x: 231 | version "5.2.0" 232 | resolved "https://registry.yarnpkg.com/boom/-/boom-5.2.0.tgz#5dd9da6ee3a5f302077436290cb717d3f4a54e02" 233 | dependencies: 234 | hoek "4.x.x" 235 | 236 | brace-expansion@^1.1.7: 237 | version "1.1.8" 238 | resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.8.tgz#c07b211c7c952ec1f8efd51a77ef0d1d3990a292" 239 | dependencies: 240 | balanced-match "^1.0.0" 241 | concat-map "0.0.1" 242 | 243 | builtin-modules@^1.0.0: 244 | version "1.1.1" 245 | resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f" 246 | 247 | builtins@^1.0.3: 248 | version "1.0.3" 249 | resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" 250 | 251 | cacheable-request@^2.1.1: 252 | version "2.1.3" 253 | resolved "https://registry.yarnpkg.com/cacheable-request/-/cacheable-request-2.1.3.tgz#b935607dd2ab2812898befb224f66aa86c533dbb" 254 | dependencies: 255 | clone-response "1.0.2" 256 | get-stream "3.0.0" 257 | http-cache-semantics "3.8.1" 258 | keyv "3.0.0" 259 | lowercase-keys "1.0.0" 260 | normalize-url "2.0.0" 261 | responselike "1.0.2" 262 | 263 | caller-path@^0.1.0: 264 | version "0.1.0" 265 | resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" 266 | dependencies: 267 | callsites "^0.2.0" 268 | 269 | callsites@^0.2.0: 270 | version "0.2.0" 271 | resolved "https://registry.yarnpkg.com/callsites/-/callsites-0.2.0.tgz#afab96262910a7f33c19a5775825c69f34e350ca" 272 | 273 | camelcase-keys@^2.0.0: 274 | version "2.1.0" 275 | resolved "https://registry.yarnpkg.com/camelcase-keys/-/camelcase-keys-2.1.0.tgz#308beeaffdf28119051efa1d932213c91b8f92e7" 276 | dependencies: 277 | camelcase "^2.0.0" 278 | map-obj "^1.0.0" 279 | 280 | camelcase@^1.0.2: 281 | version "1.2.1" 282 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-1.2.1.tgz#9bb5304d2e0b56698b2c758b08a3eaa9daa58a39" 283 | 284 | camelcase@^2.0.0: 285 | version "2.1.1" 286 | resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-2.1.1.tgz#7c1d16d679a1bbe59ca02cacecfb011e201f5a1f" 287 | 288 | caseless@~0.12.0: 289 | version "0.12.0" 290 | resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" 291 | 292 | center-align@^0.1.1: 293 | version "0.1.3" 294 | resolved "https://registry.yarnpkg.com/center-align/-/center-align-0.1.3.tgz#aa0d32629b6ee972200411cbd4461c907bc2b7ad" 295 | dependencies: 296 | align-text "^0.1.3" 297 | lazy-cache "^1.0.3" 298 | 299 | chalk@^1.1.3: 300 | version "1.1.3" 301 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" 302 | dependencies: 303 | ansi-styles "^2.2.1" 304 | escape-string-regexp "^1.0.2" 305 | has-ansi "^2.0.0" 306 | strip-ansi "^3.0.0" 307 | supports-color "^2.0.0" 308 | 309 | chalk@^2.0.0, chalk@^2.1.0: 310 | version "2.3.0" 311 | resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.3.0.tgz#b5ea48efc9c1793dccc9b4767c93914d3f2d52ba" 312 | dependencies: 313 | ansi-styles "^3.1.0" 314 | escape-string-regexp "^1.0.5" 315 | supports-color "^4.0.0" 316 | 317 | chardet@^0.4.0: 318 | version "0.4.2" 319 | resolved "https://registry.yarnpkg.com/chardet/-/chardet-0.4.2.tgz#b5473b33dc97c424e5d98dc87d55d4d8a29c8bf2" 320 | 321 | circular-json@^0.3.1: 322 | version "0.3.3" 323 | resolved "https://registry.yarnpkg.com/circular-json/-/circular-json-0.3.3.tgz#815c99ea84f6809529d2f45791bdf82711352d66" 324 | 325 | cli-cursor@^2.1.0: 326 | version "2.1.0" 327 | resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" 328 | dependencies: 329 | restore-cursor "^2.0.0" 330 | 331 | cli-width@^2.0.0: 332 | version "2.2.0" 333 | resolved "https://registry.yarnpkg.com/cli-width/-/cli-width-2.2.0.tgz#ff19ede8a9a5e579324147b0c11f0fbcbabed639" 334 | 335 | cliui@^2.1.0: 336 | version "2.1.0" 337 | resolved "https://registry.yarnpkg.com/cliui/-/cliui-2.1.0.tgz#4b475760ff80264c762c3a1719032e91c7fea0d1" 338 | dependencies: 339 | center-align "^0.1.1" 340 | right-align "^0.1.1" 341 | wordwrap "0.0.2" 342 | 343 | clone-response@1.0.2: 344 | version "1.0.2" 345 | resolved "https://registry.yarnpkg.com/clone-response/-/clone-response-1.0.2.tgz#d1dc973920314df67fbeb94223b4ee350239e96b" 346 | dependencies: 347 | mimic-response "^1.0.0" 348 | 349 | co@^4.6.0: 350 | version "4.6.0" 351 | resolved "https://registry.yarnpkg.com/co/-/co-4.6.0.tgz#6ea6bdf3d853ae54ccb8e47bfa0bf3f9031fb184" 352 | 353 | code-point-at@^1.0.0: 354 | version "1.1.0" 355 | resolved "https://registry.yarnpkg.com/code-point-at/-/code-point-at-1.1.0.tgz#0d070b4d043a5bea33a2f1a40e2edb3d9a4ccf77" 356 | 357 | color-convert@^1.9.0: 358 | version "1.9.1" 359 | resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.1.tgz#c1261107aeb2f294ebffec9ed9ecad529a6097ed" 360 | dependencies: 361 | color-name "^1.1.1" 362 | 363 | color-name@^1.1.1: 364 | version "1.1.3" 365 | resolved "https://registry.yarnpkg.com/color-name/-/color-name-1.1.3.tgz#a7d0558bd89c42f795dd42328f740831ca53bc25" 366 | 367 | combined-stream@^1.0.5, combined-stream@~1.0.5: 368 | version "1.0.5" 369 | resolved "https://registry.yarnpkg.com/combined-stream/-/combined-stream-1.0.5.tgz#938370a57b4a51dea2c77c15d5c5fdf895164009" 370 | dependencies: 371 | delayed-stream "~1.0.0" 372 | 373 | compare-func@^1.3.1: 374 | version "1.3.2" 375 | resolved "https://registry.yarnpkg.com/compare-func/-/compare-func-1.3.2.tgz#99dd0ba457e1f9bc722b12c08ec33eeab31fa648" 376 | dependencies: 377 | array-ify "^1.0.0" 378 | dot-prop "^3.0.0" 379 | 380 | concat-map@0.0.1: 381 | version "0.0.1" 382 | resolved "https://registry.yarnpkg.com/concat-map/-/concat-map-0.0.1.tgz#d8a96bd77fd68df7793a73036a3ba0d5405d477b" 383 | 384 | concat-stream@^1.5.2, concat-stream@^1.6.0: 385 | version "1.6.0" 386 | resolved "https://registry.yarnpkg.com/concat-stream/-/concat-stream-1.6.0.tgz#0aac662fd52be78964d5532f694784e70110acf7" 387 | dependencies: 388 | inherits "^2.0.3" 389 | readable-stream "^2.2.2" 390 | typedarray "^0.0.6" 391 | 392 | config-chain@~1.1.8: 393 | version "1.1.11" 394 | resolved "https://registry.yarnpkg.com/config-chain/-/config-chain-1.1.11.tgz#aba09747dfbe4c3e70e766a6e41586e1859fc6f2" 395 | dependencies: 396 | ini "^1.3.4" 397 | proto-list "~1.2.1" 398 | 399 | console-control-strings@^1.0.0, console-control-strings@~1.1.0: 400 | version "1.1.0" 401 | resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" 402 | 403 | conventional-changelog-angular@^1.4.0: 404 | version "1.5.3" 405 | resolved "https://registry.yarnpkg.com/conventional-changelog-angular/-/conventional-changelog-angular-1.5.3.tgz#ff0dd01d740e35bfdbc3f02dfea13cf0d96f0b82" 406 | dependencies: 407 | compare-func "^1.3.1" 408 | q "^1.4.1" 409 | 410 | conventional-changelog-core@^1.9.0: 411 | version "1.9.4" 412 | resolved "https://registry.yarnpkg.com/conventional-changelog-core/-/conventional-changelog-core-1.9.4.tgz#a541e5354f91072f8583b19e34abb9f6e461c367" 413 | dependencies: 414 | conventional-changelog-writer "^2.0.3" 415 | conventional-commits-parser "^2.1.0" 416 | dateformat "^1.0.12" 417 | get-pkg-repo "^1.0.0" 418 | git-raw-commits "^1.3.0" 419 | git-remote-origin-url "^2.0.0" 420 | git-semver-tags "^1.2.3" 421 | lodash "^4.0.0" 422 | normalize-package-data "^2.3.5" 423 | q "^1.4.1" 424 | read-pkg "^1.1.0" 425 | read-pkg-up "^1.0.1" 426 | through2 "^2.0.0" 427 | 428 | conventional-changelog-writer@^2.0.3: 429 | version "2.0.3" 430 | resolved "https://registry.yarnpkg.com/conventional-changelog-writer/-/conventional-changelog-writer-2.0.3.tgz#073b0c39f1cc8fc0fd9b1566e93833f51489c81c" 431 | dependencies: 432 | compare-func "^1.3.1" 433 | conventional-commits-filter "^1.1.1" 434 | dateformat "^1.0.11" 435 | handlebars "^4.0.2" 436 | json-stringify-safe "^5.0.1" 437 | lodash "^4.0.0" 438 | meow "^3.3.0" 439 | semver "^5.0.1" 440 | split "^1.0.0" 441 | through2 "^2.0.0" 442 | 443 | conventional-commit-types@^2.0.0: 444 | version "2.2.0" 445 | resolved "https://registry.yarnpkg.com/conventional-commit-types/-/conventional-commit-types-2.2.0.tgz#5db95739d6c212acbe7b6f656a11b940baa68946" 446 | 447 | conventional-commits-filter@^1.1.1: 448 | version "1.1.1" 449 | resolved "https://registry.yarnpkg.com/conventional-commits-filter/-/conventional-commits-filter-1.1.1.tgz#72172319c0c88328a015b30686b55527b3a5e54a" 450 | dependencies: 451 | is-subset "^0.1.1" 452 | modify-values "^1.0.0" 453 | 454 | conventional-commits-parser@^2.0.0, conventional-commits-parser@^2.1.0: 455 | version "2.1.0" 456 | resolved "https://registry.yarnpkg.com/conventional-commits-parser/-/conventional-commits-parser-2.1.0.tgz#9b4b7c91124bf2a1a9a2cc1c72760d382cbbb229" 457 | dependencies: 458 | JSONStream "^1.0.4" 459 | is-text-path "^1.0.0" 460 | lodash "^4.2.1" 461 | meow "^3.3.0" 462 | split2 "^2.0.0" 463 | through2 "^2.0.0" 464 | trim-off-newlines "^1.0.0" 465 | 466 | core-js@^1.0.0: 467 | version "1.2.7" 468 | resolved "https://registry.yarnpkg.com/core-js/-/core-js-1.2.7.tgz#652294c14651db28fa93bd2d5ff2983a4f08c636" 469 | 470 | core-util-is@1.0.2, core-util-is@^1.0.1, core-util-is@~1.0.0: 471 | version "1.0.2" 472 | resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" 473 | 474 | cross-spawn@^5.0.1, cross-spawn@^5.1.0: 475 | version "5.1.0" 476 | resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-5.1.0.tgz#e8bd0efee58fcff6f8f94510a0a554bbfa235449" 477 | dependencies: 478 | lru-cache "^4.0.1" 479 | shebang-command "^1.2.0" 480 | which "^1.2.9" 481 | 482 | cryptiles@3.x.x: 483 | version "3.1.2" 484 | resolved "https://registry.yarnpkg.com/cryptiles/-/cryptiles-3.1.2.tgz#a89fbb220f5ce25ec56e8c4aa8a4fd7b5b0d29fe" 485 | dependencies: 486 | boom "5.x.x" 487 | 488 | currently-unhandled@^0.4.1: 489 | version "0.4.1" 490 | resolved "https://registry.yarnpkg.com/currently-unhandled/-/currently-unhandled-0.4.1.tgz#988df33feab191ef799a61369dd76c17adf957ea" 491 | dependencies: 492 | array-find-index "^1.0.1" 493 | 494 | cz-conventional-changelog@^2.0.0: 495 | version "2.1.0" 496 | resolved "https://registry.yarnpkg.com/cz-conventional-changelog/-/cz-conventional-changelog-2.1.0.tgz#2f4bc7390e3244e4df293e6ba351e4c740a7c764" 497 | dependencies: 498 | conventional-commit-types "^2.0.0" 499 | lodash.map "^4.5.1" 500 | longest "^1.0.1" 501 | right-pad "^1.0.1" 502 | word-wrap "^1.0.3" 503 | 504 | dargs@^4.0.1: 505 | version "4.1.0" 506 | resolved "https://registry.yarnpkg.com/dargs/-/dargs-4.1.0.tgz#03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17" 507 | dependencies: 508 | number-is-nan "^1.0.0" 509 | 510 | dashdash@^1.12.0: 511 | version "1.14.1" 512 | resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0" 513 | dependencies: 514 | assert-plus "^1.0.0" 515 | 516 | dateformat@^1.0.11, dateformat@^1.0.12: 517 | version "1.0.12" 518 | resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-1.0.12.tgz#9f124b67594c937ff706932e4a642cca8dbbfee9" 519 | dependencies: 520 | get-stdin "^4.0.1" 521 | meow "^3.3.0" 522 | 523 | debug@^3.0.1, debug@^3.1.0: 524 | version "3.1.0" 525 | resolved "https://registry.yarnpkg.com/debug/-/debug-3.1.0.tgz#5bb5a0672628b64149566ba16819e61518c67261" 526 | dependencies: 527 | ms "2.0.0" 528 | 529 | decamelize@^1.0.0, decamelize@^1.1.2: 530 | version "1.2.0" 531 | resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" 532 | 533 | decode-uri-component@^0.2.0: 534 | version "0.2.0" 535 | resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" 536 | 537 | decompress-response@^3.3.0: 538 | version "3.3.0" 539 | resolved "https://registry.yarnpkg.com/decompress-response/-/decompress-response-3.3.0.tgz#80a4dd323748384bfa248083622aedec982adff3" 540 | dependencies: 541 | mimic-response "^1.0.0" 542 | 543 | deep-is@~0.1.3: 544 | version "0.1.3" 545 | resolved "https://registry.yarnpkg.com/deep-is/-/deep-is-0.1.3.tgz#b369d6fb5dbc13eecf524f91b070feedc357cf34" 546 | 547 | define-properties@^1.1.2: 548 | version "1.1.2" 549 | resolved "https://registry.yarnpkg.com/define-properties/-/define-properties-1.1.2.tgz#83a73f2fea569898fb737193c8f873caf6d45c94" 550 | dependencies: 551 | foreach "^2.0.5" 552 | object-keys "^1.0.8" 553 | 554 | del@^2.0.2: 555 | version "2.2.2" 556 | resolved "https://registry.yarnpkg.com/del/-/del-2.2.2.tgz#c12c981d067846c84bcaf862cff930d907ffd1a8" 557 | dependencies: 558 | globby "^5.0.0" 559 | is-path-cwd "^1.0.0" 560 | is-path-in-cwd "^1.0.0" 561 | object-assign "^4.0.1" 562 | pify "^2.0.0" 563 | pinkie-promise "^2.0.0" 564 | rimraf "^2.2.8" 565 | 566 | delayed-stream@~1.0.0: 567 | version "1.0.0" 568 | resolved "https://registry.yarnpkg.com/delayed-stream/-/delayed-stream-1.0.0.tgz#df3ae199acadfb7d440aaae0b29e2272b24ec619" 569 | 570 | delegates@^1.0.0: 571 | version "1.0.0" 572 | resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" 573 | 574 | doctrine@^2.0.0, doctrine@^2.0.2: 575 | version "2.0.2" 576 | resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-2.0.2.tgz#68f96ce8efc56cc42651f1faadb4f175273b0075" 577 | dependencies: 578 | esutils "^2.0.2" 579 | 580 | dot-prop@^3.0.0: 581 | version "3.0.0" 582 | resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-3.0.0.tgz#1b708af094a49c9a0e7dbcad790aba539dac1177" 583 | dependencies: 584 | is-obj "^1.0.0" 585 | 586 | dotenv@^4.0.0: 587 | version "4.0.0" 588 | resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-4.0.0.tgz#864ef1379aced55ce6f95debecdce179f7a0cd1d" 589 | 590 | duplexer3@^0.1.4: 591 | version "0.1.4" 592 | resolved "https://registry.yarnpkg.com/duplexer3/-/duplexer3-0.1.4.tgz#ee01dd1cac0ed3cbc7fdbea37dc0a8f1ce002ce2" 593 | 594 | ecc-jsbn@~0.1.1: 595 | version "0.1.1" 596 | resolved "https://registry.yarnpkg.com/ecc-jsbn/-/ecc-jsbn-0.1.1.tgz#0fc73a9ed5f0d53c38193398523ef7e543777505" 597 | dependencies: 598 | jsbn "~0.1.0" 599 | 600 | encoding@^0.1.11: 601 | version "0.1.12" 602 | resolved "https://registry.yarnpkg.com/encoding/-/encoding-0.1.12.tgz#538b66f3ee62cd1ab51ec323829d1f9480c74beb" 603 | dependencies: 604 | iconv-lite "~0.4.13" 605 | 606 | error-ex@^1.2.0: 607 | version "1.3.1" 608 | resolved "https://registry.yarnpkg.com/error-ex/-/error-ex-1.3.1.tgz#f855a86ce61adc4e8621c3cda21e7a7612c3a8dc" 609 | dependencies: 610 | is-arrayish "^0.2.1" 611 | 612 | es-abstract@^1.7.0: 613 | version "1.10.0" 614 | resolved "https://registry.yarnpkg.com/es-abstract/-/es-abstract-1.10.0.tgz#1ecb36c197842a00d8ee4c2dfd8646bb97d60864" 615 | dependencies: 616 | es-to-primitive "^1.1.1" 617 | function-bind "^1.1.1" 618 | has "^1.0.1" 619 | is-callable "^1.1.3" 620 | is-regex "^1.0.4" 621 | 622 | es-to-primitive@^1.1.1: 623 | version "1.1.1" 624 | resolved "https://registry.yarnpkg.com/es-to-primitive/-/es-to-primitive-1.1.1.tgz#45355248a88979034b6792e19bb81f2b7975dd0d" 625 | dependencies: 626 | is-callable "^1.1.1" 627 | is-date-object "^1.0.1" 628 | is-symbol "^1.0.1" 629 | 630 | es6-promise@^4.0.3: 631 | version "4.1.1" 632 | resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a" 633 | 634 | es6-promisify@^5.0.0: 635 | version "5.0.0" 636 | resolved "https://registry.yarnpkg.com/es6-promisify/-/es6-promisify-5.0.0.tgz#5109d62f3e56ea967c4b63505aef08291c8a5203" 637 | dependencies: 638 | es6-promise "^4.0.3" 639 | 640 | escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: 641 | version "1.0.5" 642 | resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" 643 | 644 | eslint-plugin-react@^7.4.0: 645 | version "7.5.1" 646 | resolved "https://registry.yarnpkg.com/eslint-plugin-react/-/eslint-plugin-react-7.5.1.tgz#52e56e8d80c810de158859ef07b880d2f56ee30b" 647 | dependencies: 648 | doctrine "^2.0.0" 649 | has "^1.0.1" 650 | jsx-ast-utils "^2.0.0" 651 | prop-types "^15.6.0" 652 | 653 | eslint-scope@^3.7.1: 654 | version "3.7.1" 655 | resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-3.7.1.tgz#3d63c3edfda02e06e01a452ad88caacc7cdcb6e8" 656 | dependencies: 657 | esrecurse "^4.1.0" 658 | estraverse "^4.1.1" 659 | 660 | eslint@^4.8.0: 661 | version "4.13.1" 662 | resolved "https://registry.yarnpkg.com/eslint/-/eslint-4.13.1.tgz#0055e0014464c7eb7878caf549ef2941992b444f" 663 | dependencies: 664 | ajv "^5.3.0" 665 | babel-code-frame "^6.22.0" 666 | chalk "^2.1.0" 667 | concat-stream "^1.6.0" 668 | cross-spawn "^5.1.0" 669 | debug "^3.0.1" 670 | doctrine "^2.0.2" 671 | eslint-scope "^3.7.1" 672 | espree "^3.5.2" 673 | esquery "^1.0.0" 674 | estraverse "^4.2.0" 675 | esutils "^2.0.2" 676 | file-entry-cache "^2.0.0" 677 | functional-red-black-tree "^1.0.1" 678 | glob "^7.1.2" 679 | globals "^11.0.1" 680 | ignore "^3.3.3" 681 | imurmurhash "^0.1.4" 682 | inquirer "^3.0.6" 683 | is-resolvable "^1.0.0" 684 | js-yaml "^3.9.1" 685 | json-stable-stringify-without-jsonify "^1.0.1" 686 | levn "^0.3.0" 687 | lodash "^4.17.4" 688 | minimatch "^3.0.2" 689 | mkdirp "^0.5.1" 690 | natural-compare "^1.4.0" 691 | optionator "^0.8.2" 692 | path-is-inside "^1.0.2" 693 | pluralize "^7.0.0" 694 | progress "^2.0.0" 695 | require-uncached "^1.0.3" 696 | semver "^5.3.0" 697 | strip-ansi "^4.0.0" 698 | strip-json-comments "~2.0.1" 699 | table "^4.0.1" 700 | text-table "~0.2.0" 701 | 702 | espree@^3.5.2: 703 | version "3.5.2" 704 | resolved "https://registry.yarnpkg.com/espree/-/espree-3.5.2.tgz#756ada8b979e9dcfcdb30aad8d1a9304a905e1ca" 705 | dependencies: 706 | acorn "^5.2.1" 707 | acorn-jsx "^3.0.0" 708 | 709 | esprima@^4.0.0: 710 | version "4.0.0" 711 | resolved "https://registry.yarnpkg.com/esprima/-/esprima-4.0.0.tgz#4499eddcd1110e0b218bacf2fa7f7f59f55ca804" 712 | 713 | esquery@^1.0.0: 714 | version "1.0.0" 715 | resolved "https://registry.yarnpkg.com/esquery/-/esquery-1.0.0.tgz#cfba8b57d7fba93f17298a8a006a04cda13d80fa" 716 | dependencies: 717 | estraverse "^4.0.0" 718 | 719 | esrecurse@^4.1.0: 720 | version "4.2.0" 721 | resolved "https://registry.yarnpkg.com/esrecurse/-/esrecurse-4.2.0.tgz#fa9568d98d3823f9a41d91e902dcab9ea6e5b163" 722 | dependencies: 723 | estraverse "^4.1.0" 724 | object-assign "^4.0.1" 725 | 726 | estraverse@^4.0.0, estraverse@^4.1.0, estraverse@^4.1.1, estraverse@^4.2.0: 727 | version "4.2.0" 728 | resolved "https://registry.yarnpkg.com/estraverse/-/estraverse-4.2.0.tgz#0dee3fed31fcd469618ce7342099fc1afa0bdb13" 729 | 730 | esutils@^2.0.2: 731 | version "2.0.2" 732 | resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.2.tgz#0abf4f1caa5bcb1f7a9d8acc6dea4faaa04bac9b" 733 | 734 | execa@^0.8.0: 735 | version "0.8.0" 736 | resolved "https://registry.yarnpkg.com/execa/-/execa-0.8.0.tgz#d8d76bbc1b55217ed190fd6dd49d3c774ecfc8da" 737 | dependencies: 738 | cross-spawn "^5.0.1" 739 | get-stream "^3.0.0" 740 | is-stream "^1.1.0" 741 | npm-run-path "^2.0.0" 742 | p-finally "^1.0.0" 743 | signal-exit "^3.0.0" 744 | strip-eof "^1.0.0" 745 | 746 | extend@~3.0.1: 747 | version "3.0.1" 748 | resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" 749 | 750 | external-editor@^2.0.4: 751 | version "2.1.0" 752 | resolved "https://registry.yarnpkg.com/external-editor/-/external-editor-2.1.0.tgz#3d026a21b7f95b5726387d4200ac160d372c3b48" 753 | dependencies: 754 | chardet "^0.4.0" 755 | iconv-lite "^0.4.17" 756 | tmp "^0.0.33" 757 | 758 | extsprintf@1.3.0: 759 | version "1.3.0" 760 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.3.0.tgz#96918440e3041a7a414f8c52e3c574eb3c3e1e05" 761 | 762 | extsprintf@^1.2.0: 763 | version "1.4.0" 764 | resolved "https://registry.yarnpkg.com/extsprintf/-/extsprintf-1.4.0.tgz#e2689f8f356fad62cca65a3a91c5df5f9551692f" 765 | 766 | fast-deep-equal@^1.0.0: 767 | version "1.0.0" 768 | resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-1.0.0.tgz#96256a3bc975595eb36d82e9929d060d893439ff" 769 | 770 | fast-json-stable-stringify@^2.0.0: 771 | version "2.0.0" 772 | resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.0.0.tgz#d5142c0caee6b1189f87d3a76111064f86c8bbf2" 773 | 774 | fast-levenshtein@~2.0.4: 775 | version "2.0.6" 776 | resolved "https://registry.yarnpkg.com/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz#3d8a5c66883a16a30ca8643e851f19baa7797917" 777 | 778 | fbjs@^0.8.16: 779 | version "0.8.16" 780 | resolved "https://registry.yarnpkg.com/fbjs/-/fbjs-0.8.16.tgz#5e67432f550dc41b572bf55847b8aca64e5337db" 781 | dependencies: 782 | core-js "^1.0.0" 783 | isomorphic-fetch "^2.1.1" 784 | loose-envify "^1.0.0" 785 | object-assign "^4.1.0" 786 | promise "^7.1.1" 787 | setimmediate "^1.0.5" 788 | ua-parser-js "^0.7.9" 789 | 790 | figures@^2.0.0: 791 | version "2.0.0" 792 | resolved "https://registry.yarnpkg.com/figures/-/figures-2.0.0.tgz#3ab1a2d2a62c8bfb431a0c94cb797a2fce27c962" 793 | dependencies: 794 | escape-string-regexp "^1.0.5" 795 | 796 | file-entry-cache@^2.0.0: 797 | version "2.0.0" 798 | resolved "https://registry.yarnpkg.com/file-entry-cache/-/file-entry-cache-2.0.0.tgz#c392990c3e684783d838b8c84a45d8a048458361" 799 | dependencies: 800 | flat-cache "^1.2.1" 801 | object-assign "^4.0.1" 802 | 803 | find-up@^1.0.0: 804 | version "1.1.2" 805 | resolved "https://registry.yarnpkg.com/find-up/-/find-up-1.1.2.tgz#6b2e9822b1a2ce0a60ab64d610eccad53cb24d0f" 806 | dependencies: 807 | path-exists "^2.0.0" 808 | pinkie-promise "^2.0.0" 809 | 810 | flat-cache@^1.2.1: 811 | version "1.3.0" 812 | resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-1.3.0.tgz#d3030b32b38154f4e3b7e9c709f490f7ef97c481" 813 | dependencies: 814 | circular-json "^0.3.1" 815 | del "^2.0.2" 816 | graceful-fs "^4.1.2" 817 | write "^0.2.1" 818 | 819 | follow-redirects@1.2.6: 820 | version "1.2.6" 821 | resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.2.6.tgz#4dcdc7e4ab3dd6765a97ff89c3b4c258117c79bf" 822 | dependencies: 823 | debug "^3.1.0" 824 | 825 | foreach@^2.0.5: 826 | version "2.0.5" 827 | resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" 828 | 829 | foreachasync@^3.0.0: 830 | version "3.0.0" 831 | resolved "https://registry.yarnpkg.com/foreachasync/-/foreachasync-3.0.0.tgz#5502987dc8714be3392097f32e0071c9dee07cf6" 832 | 833 | forever-agent@~0.6.1: 834 | version "0.6.1" 835 | resolved "https://registry.yarnpkg.com/forever-agent/-/forever-agent-0.6.1.tgz#fbc71f0c41adeb37f96c577ad1ed42d8fdacca91" 836 | 837 | form-data@~2.3.1: 838 | version "2.3.1" 839 | resolved "https://registry.yarnpkg.com/form-data/-/form-data-2.3.1.tgz#6fb94fbd71885306d73d15cc497fe4cc4ecd44bf" 840 | dependencies: 841 | asynckit "^0.4.0" 842 | combined-stream "^1.0.5" 843 | mime-types "^2.1.12" 844 | 845 | from2@^2.1.1: 846 | version "2.3.0" 847 | resolved "https://registry.yarnpkg.com/from2/-/from2-2.3.0.tgz#8bfb5502bde4a4d36cfdeea007fcca21d7e382af" 848 | dependencies: 849 | inherits "^2.0.1" 850 | readable-stream "^2.0.0" 851 | 852 | fs-extra@^4.0.2: 853 | version "4.0.3" 854 | resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.3.tgz#0d852122e5bc5beb453fb028e9c0c9bf36340c94" 855 | dependencies: 856 | graceful-fs "^4.1.2" 857 | jsonfile "^4.0.0" 858 | universalify "^0.1.0" 859 | 860 | fs.realpath@^1.0.0: 861 | version "1.0.0" 862 | resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f" 863 | 864 | function-bind@^1.0.2, function-bind@^1.1.1: 865 | version "1.1.1" 866 | resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.1.tgz#a56899d3ea3c9bab874bb9773b7c5ede92f4895d" 867 | 868 | functional-red-black-tree@^1.0.1: 869 | version "1.0.1" 870 | resolved "https://registry.yarnpkg.com/functional-red-black-tree/-/functional-red-black-tree-1.0.1.tgz#1b0ab3bd553b2a0d6399d29c0e3ea0b252078327" 871 | 872 | gauge@~2.7.3: 873 | version "2.7.4" 874 | resolved "https://registry.yarnpkg.com/gauge/-/gauge-2.7.4.tgz#2c03405c7538c39d7eb37b317022e325fb018bf7" 875 | dependencies: 876 | aproba "^1.0.3" 877 | console-control-strings "^1.0.0" 878 | has-unicode "^2.0.0" 879 | object-assign "^4.1.0" 880 | signal-exit "^3.0.0" 881 | string-width "^1.0.1" 882 | strip-ansi "^3.0.1" 883 | wide-align "^1.1.0" 884 | 885 | get-pkg-repo@^1.0.0: 886 | version "1.4.0" 887 | resolved "https://registry.yarnpkg.com/get-pkg-repo/-/get-pkg-repo-1.4.0.tgz#c73b489c06d80cc5536c2c853f9e05232056972d" 888 | dependencies: 889 | hosted-git-info "^2.1.4" 890 | meow "^3.3.0" 891 | normalize-package-data "^2.3.0" 892 | parse-github-repo-url "^1.3.0" 893 | through2 "^2.0.0" 894 | 895 | get-stdin@^4.0.1: 896 | version "4.0.1" 897 | resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-4.0.1.tgz#b968c6b0a04384324902e8bf1a5df32579a450fe" 898 | 899 | get-stream@3.0.0, get-stream@^3.0.0: 900 | version "3.0.0" 901 | resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" 902 | 903 | getpass@^0.1.1: 904 | version "0.1.7" 905 | resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" 906 | dependencies: 907 | assert-plus "^1.0.0" 908 | 909 | git-head@^1.2.1: 910 | version "1.20.1" 911 | resolved "https://registry.yarnpkg.com/git-head/-/git-head-1.20.1.tgz#036d16a4b374949e4e3daf15827903686d3ccd52" 912 | dependencies: 913 | git-refs "^1.1.3" 914 | 915 | git-raw-commits@^1.3.0: 916 | version "1.3.0" 917 | resolved "https://registry.yarnpkg.com/git-raw-commits/-/git-raw-commits-1.3.0.tgz#0bc8596e90d5ffe736f7f5546bd2d12f73abaac6" 918 | dependencies: 919 | dargs "^4.0.1" 920 | lodash.template "^4.0.2" 921 | meow "^3.3.0" 922 | split2 "^2.0.0" 923 | through2 "^2.0.0" 924 | 925 | git-refs@^1.1.3: 926 | version "1.1.3" 927 | resolved "https://registry.yarnpkg.com/git-refs/-/git-refs-1.1.3.tgz#83097cb3a92585c4a4926ec54e2182df9e20e89d" 928 | dependencies: 929 | path-object "^2.3.0" 930 | slash "^1.0.0" 931 | walk "^2.3.9" 932 | 933 | git-remote-origin-url@^2.0.0: 934 | version "2.0.0" 935 | resolved "https://registry.yarnpkg.com/git-remote-origin-url/-/git-remote-origin-url-2.0.0.tgz#5282659dae2107145a11126112ad3216ec5fa65f" 936 | dependencies: 937 | gitconfiglocal "^1.0.0" 938 | pify "^2.3.0" 939 | 940 | git-semver-tags@^1.2.3: 941 | version "1.2.3" 942 | resolved "https://registry.yarnpkg.com/git-semver-tags/-/git-semver-tags-1.2.3.tgz#188b453882bf9d7a23afd31baba537dab7388d5d" 943 | dependencies: 944 | meow "^3.3.0" 945 | semver "^5.0.1" 946 | 947 | gitconfiglocal@^1.0.0: 948 | version "1.0.0" 949 | resolved "https://registry.yarnpkg.com/gitconfiglocal/-/gitconfiglocal-1.0.0.tgz#41d045f3851a5ea88f03f24ca1c6178114464b9b" 950 | dependencies: 951 | ini "^1.3.2" 952 | 953 | github@^12.0.0: 954 | version "12.1.0" 955 | resolved "https://registry.yarnpkg.com/github/-/github-12.1.0.tgz#f2a2dcbd441178155942257491a4bc08bf661dd7" 956 | dependencies: 957 | dotenv "^4.0.0" 958 | follow-redirects "1.2.6" 959 | https-proxy-agent "^2.1.0" 960 | lodash "^4.17.4" 961 | mime "^2.0.3" 962 | netrc "^0.1.4" 963 | 964 | gl-react-native@^2.38.0: 965 | version "2.47.0" 966 | resolved "https://registry.yarnpkg.com/gl-react-native/-/gl-react-native-2.47.0.tgz#0d2418314973f6bd3bd7f83acf776caa61339baf" 967 | dependencies: 968 | invariant "2.2.0" 969 | 970 | gl-react@^2.2.8: 971 | version "2.3.1" 972 | resolved "https://registry.yarnpkg.com/gl-react/-/gl-react-2.3.1.tgz#4a153eba80ad926a5474e8b5615f12b0288b6dc9" 973 | dependencies: 974 | invariant "2.2.1" 975 | prop-types "^15.5.10" 976 | 977 | glob@^7.0.3, glob@^7.0.5, glob@^7.1.2: 978 | version "7.1.2" 979 | resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15" 980 | dependencies: 981 | fs.realpath "^1.0.0" 982 | inflight "^1.0.4" 983 | inherits "2" 984 | minimatch "^3.0.4" 985 | once "^1.3.0" 986 | path-is-absolute "^1.0.0" 987 | 988 | globals@^11.0.1: 989 | version "11.1.0" 990 | resolved "https://registry.yarnpkg.com/globals/-/globals-11.1.0.tgz#632644457f5f0e3ae711807183700ebf2e4633e4" 991 | 992 | globby@^5.0.0: 993 | version "5.0.0" 994 | resolved "https://registry.yarnpkg.com/globby/-/globby-5.0.0.tgz#ebd84667ca0dbb330b99bcfc68eac2bc54370e0d" 995 | dependencies: 996 | array-union "^1.0.1" 997 | arrify "^1.0.0" 998 | glob "^7.0.3" 999 | object-assign "^4.0.1" 1000 | pify "^2.0.0" 1001 | pinkie-promise "^2.0.0" 1002 | 1003 | got@^8.0.1: 1004 | version "8.0.1" 1005 | resolved "https://registry.yarnpkg.com/got/-/got-8.0.1.tgz#6d7f8bb3eb99e5af912efe26a104476441e08e7f" 1006 | dependencies: 1007 | "@sindresorhus/is" "^0.6.0" 1008 | cacheable-request "^2.1.1" 1009 | decompress-response "^3.3.0" 1010 | duplexer3 "^0.1.4" 1011 | get-stream "^3.0.0" 1012 | into-stream "^3.1.0" 1013 | is-retry-allowed "^1.1.0" 1014 | isurl "^1.0.0-alpha5" 1015 | lowercase-keys "^1.0.0" 1016 | mimic-response "^1.0.0" 1017 | p-cancelable "^0.3.0" 1018 | p-timeout "^2.0.1" 1019 | pify "^3.0.0" 1020 | safe-buffer "^5.1.1" 1021 | timed-out "^4.0.1" 1022 | url-parse-lax "^3.0.0" 1023 | url-to-options "^1.0.1" 1024 | 1025 | graceful-fs@^4.1.2, graceful-fs@^4.1.6: 1026 | version "4.1.11" 1027 | resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.1.11.tgz#0e8bdfe4d1ddb8854d64e04ea7c00e2a026e5658" 1028 | 1029 | handlebars@^4.0.2: 1030 | version "4.0.11" 1031 | resolved "https://registry.yarnpkg.com/handlebars/-/handlebars-4.0.11.tgz#630a35dfe0294bc281edae6ffc5d329fc7982dcc" 1032 | dependencies: 1033 | async "^1.4.0" 1034 | optimist "^0.6.1" 1035 | source-map "^0.4.4" 1036 | optionalDependencies: 1037 | uglify-js "^2.6" 1038 | 1039 | har-schema@^2.0.0: 1040 | version "2.0.0" 1041 | resolved "https://registry.yarnpkg.com/har-schema/-/har-schema-2.0.0.tgz#a94c2224ebcac04782a0d9035521f24735b7ec92" 1042 | 1043 | har-validator@~5.0.3: 1044 | version "5.0.3" 1045 | resolved "https://registry.yarnpkg.com/har-validator/-/har-validator-5.0.3.tgz#ba402c266194f15956ef15e0fcf242993f6a7dfd" 1046 | dependencies: 1047 | ajv "^5.1.0" 1048 | har-schema "^2.0.0" 1049 | 1050 | has-ansi@^2.0.0: 1051 | version "2.0.0" 1052 | resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" 1053 | dependencies: 1054 | ansi-regex "^2.0.0" 1055 | 1056 | has-flag@^2.0.0: 1057 | version "2.0.0" 1058 | resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-2.0.0.tgz#e8207af1cc7b30d446cc70b734b5e8be18f88d51" 1059 | 1060 | has-symbol-support-x@^1.4.1: 1061 | version "1.4.1" 1062 | resolved "https://registry.yarnpkg.com/has-symbol-support-x/-/has-symbol-support-x-1.4.1.tgz#66ec2e377e0c7d7ccedb07a3a84d77510ff1bc4c" 1063 | 1064 | has-to-string-tag-x@^1.2.0: 1065 | version "1.4.1" 1066 | resolved "https://registry.yarnpkg.com/has-to-string-tag-x/-/has-to-string-tag-x-1.4.1.tgz#a045ab383d7b4b2012a00148ab0aa5f290044d4d" 1067 | dependencies: 1068 | has-symbol-support-x "^1.4.1" 1069 | 1070 | has-unicode@^2.0.0: 1071 | version "2.0.1" 1072 | resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" 1073 | 1074 | has@^1.0.1: 1075 | version "1.0.1" 1076 | resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" 1077 | dependencies: 1078 | function-bind "^1.0.2" 1079 | 1080 | hawk@~6.0.2: 1081 | version "6.0.2" 1082 | resolved "https://registry.yarnpkg.com/hawk/-/hawk-6.0.2.tgz#af4d914eb065f9b5ce4d9d11c1cb2126eecc3038" 1083 | dependencies: 1084 | boom "4.x.x" 1085 | cryptiles "3.x.x" 1086 | hoek "4.x.x" 1087 | sntp "2.x.x" 1088 | 1089 | hoek@4.x.x: 1090 | version "4.2.0" 1091 | resolved "https://registry.yarnpkg.com/hoek/-/hoek-4.2.0.tgz#72d9d0754f7fe25ca2d01ad8f8f9a9449a89526d" 1092 | 1093 | hosted-git-info@^2.1.4, hosted-git-info@^2.4.2: 1094 | version "2.5.0" 1095 | resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.5.0.tgz#6d60e34b3abbc8313062c3b798ef8d901a07af3c" 1096 | 1097 | http-cache-semantics@3.8.1: 1098 | version "3.8.1" 1099 | resolved "https://registry.yarnpkg.com/http-cache-semantics/-/http-cache-semantics-3.8.1.tgz#39b0e16add9b605bf0a9ef3d9daaf4843b4cacd2" 1100 | 1101 | http-signature@~1.2.0: 1102 | version "1.2.0" 1103 | resolved "https://registry.yarnpkg.com/http-signature/-/http-signature-1.2.0.tgz#9aecd925114772f3d95b65a60abb8f7c18fbace1" 1104 | dependencies: 1105 | assert-plus "^1.0.0" 1106 | jsprim "^1.2.2" 1107 | sshpk "^1.7.0" 1108 | 1109 | https-proxy-agent@^2.1.0: 1110 | version "2.1.1" 1111 | resolved "https://registry.yarnpkg.com/https-proxy-agent/-/https-proxy-agent-2.1.1.tgz#a7ce4382a1ba8266ee848578778122d491260fd9" 1112 | dependencies: 1113 | agent-base "^4.1.0" 1114 | debug "^3.1.0" 1115 | 1116 | iconv-lite@^0.4.17, iconv-lite@~0.4.13: 1117 | version "0.4.19" 1118 | resolved "https://registry.yarnpkg.com/iconv-lite/-/iconv-lite-0.4.19.tgz#f7468f60135f5e5dad3399c0a81be9a1603a082b" 1119 | 1120 | ignore@^3.3.3: 1121 | version "3.3.7" 1122 | resolved "https://registry.yarnpkg.com/ignore/-/ignore-3.3.7.tgz#612289bfb3c220e186a58118618d5be8c1bab021" 1123 | 1124 | import-from@^2.1.0: 1125 | version "2.1.0" 1126 | resolved "https://registry.yarnpkg.com/import-from/-/import-from-2.1.0.tgz#335db7f2a7affd53aaa471d4b8021dee36b7f3b1" 1127 | dependencies: 1128 | resolve-from "^3.0.0" 1129 | 1130 | imurmurhash@^0.1.4: 1131 | version "0.1.4" 1132 | resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" 1133 | 1134 | indent-string@^2.1.0: 1135 | version "2.1.0" 1136 | resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-2.1.0.tgz#8e2d48348742121b4a8218b7a137e9a52049dc80" 1137 | dependencies: 1138 | repeating "^2.0.0" 1139 | 1140 | inflight@^1.0.4: 1141 | version "1.0.6" 1142 | resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" 1143 | dependencies: 1144 | once "^1.3.0" 1145 | wrappy "1" 1146 | 1147 | inherits@2, inherits@^2.0.1, inherits@^2.0.3, inherits@~2.0.0, inherits@~2.0.3: 1148 | version "2.0.3" 1149 | resolved "https://registry.yarnpkg.com/inherits/-/inherits-2.0.3.tgz#633c2c83e3da42a502f52466022480f4208261de" 1150 | 1151 | ini@^1.2.0, ini@^1.3.2, ini@^1.3.4: 1152 | version "1.3.5" 1153 | resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.5.tgz#eee25f56db1c9ec6085e0c22778083f596abf927" 1154 | 1155 | inquirer@^3.0.6: 1156 | version "3.3.0" 1157 | resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-3.3.0.tgz#9dd2f2ad765dcab1ff0443b491442a20ba227dc9" 1158 | dependencies: 1159 | ansi-escapes "^3.0.0" 1160 | chalk "^2.0.0" 1161 | cli-cursor "^2.1.0" 1162 | cli-width "^2.0.0" 1163 | external-editor "^2.0.4" 1164 | figures "^2.0.0" 1165 | lodash "^4.3.0" 1166 | mute-stream "0.0.7" 1167 | run-async "^2.2.0" 1168 | rx-lite "^4.0.8" 1169 | rx-lite-aggregates "^4.0.8" 1170 | string-width "^2.1.0" 1171 | strip-ansi "^4.0.0" 1172 | through "^2.3.6" 1173 | 1174 | into-stream@^3.1.0: 1175 | version "3.1.0" 1176 | resolved "https://registry.yarnpkg.com/into-stream/-/into-stream-3.1.0.tgz#96fb0a936c12babd6ff1752a17d05616abd094c6" 1177 | dependencies: 1178 | from2 "^2.1.1" 1179 | p-is-promise "^1.1.0" 1180 | 1181 | invariant@2.2.0: 1182 | version "2.2.0" 1183 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.0.tgz#c8d7e847366a49cc18b622f058a689d481e895f2" 1184 | dependencies: 1185 | loose-envify "^1.0.0" 1186 | 1187 | invariant@2.2.1: 1188 | version "2.2.1" 1189 | resolved "https://registry.yarnpkg.com/invariant/-/invariant-2.2.1.tgz#b097010547668c7e337028ebe816ebe36c8a8d54" 1190 | dependencies: 1191 | loose-envify "^1.0.0" 1192 | 1193 | is-arrayish@^0.2.1: 1194 | version "0.2.1" 1195 | resolved "https://registry.yarnpkg.com/is-arrayish/-/is-arrayish-0.2.1.tgz#77c99840527aa8ecb1a8ba697b80645a7a926a9d" 1196 | 1197 | is-buffer@^1.1.5: 1198 | version "1.1.6" 1199 | resolved "https://registry.yarnpkg.com/is-buffer/-/is-buffer-1.1.6.tgz#efaa2ea9daa0d7ab2ea13a97b2b8ad51fefbe8be" 1200 | 1201 | is-builtin-module@^1.0.0: 1202 | version "1.0.0" 1203 | resolved "https://registry.yarnpkg.com/is-builtin-module/-/is-builtin-module-1.0.0.tgz#540572d34f7ac3119f8f76c30cbc1b1e037affbe" 1204 | dependencies: 1205 | builtin-modules "^1.0.0" 1206 | 1207 | is-callable@^1.1.1, is-callable@^1.1.3: 1208 | version "1.1.3" 1209 | resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" 1210 | 1211 | is-date-object@^1.0.1: 1212 | version "1.0.1" 1213 | resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" 1214 | 1215 | is-finite@^1.0.0: 1216 | version "1.0.2" 1217 | resolved "https://registry.yarnpkg.com/is-finite/-/is-finite-1.0.2.tgz#cc6677695602be550ef11e8b4aa6305342b6d0aa" 1218 | dependencies: 1219 | number-is-nan "^1.0.0" 1220 | 1221 | is-fullwidth-code-point@^1.0.0: 1222 | version "1.0.0" 1223 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-1.0.0.tgz#ef9e31386f031a7f0d643af82fde50c457ef00cb" 1224 | dependencies: 1225 | number-is-nan "^1.0.0" 1226 | 1227 | is-fullwidth-code-point@^2.0.0: 1228 | version "2.0.0" 1229 | resolved "https://registry.yarnpkg.com/is-fullwidth-code-point/-/is-fullwidth-code-point-2.0.0.tgz#a3b30a5c4f199183167aaab93beefae3ddfb654f" 1230 | 1231 | is-obj@^1.0.0: 1232 | version "1.0.1" 1233 | resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" 1234 | 1235 | is-object@^1.0.1: 1236 | version "1.0.1" 1237 | resolved "https://registry.yarnpkg.com/is-object/-/is-object-1.0.1.tgz#8952688c5ec2ffd6b03ecc85e769e02903083470" 1238 | 1239 | is-path-cwd@^1.0.0: 1240 | version "1.0.0" 1241 | resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" 1242 | 1243 | is-path-in-cwd@^1.0.0: 1244 | version "1.0.0" 1245 | resolved "https://registry.yarnpkg.com/is-path-in-cwd/-/is-path-in-cwd-1.0.0.tgz#6477582b8214d602346094567003be8a9eac04dc" 1246 | dependencies: 1247 | is-path-inside "^1.0.0" 1248 | 1249 | is-path-inside@^1.0.0: 1250 | version "1.0.1" 1251 | resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-1.0.1.tgz#8ef5b7de50437a3fdca6b4e865ef7aa55cb48036" 1252 | dependencies: 1253 | path-is-inside "^1.0.1" 1254 | 1255 | is-plain-obj@^1.0.0: 1256 | version "1.1.0" 1257 | resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" 1258 | 1259 | is-promise@^2.1.0: 1260 | version "2.1.0" 1261 | resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.1.0.tgz#79a2a9ece7f096e80f36d2b2f3bc16c1ff4bf3fa" 1262 | 1263 | is-regex@^1.0.4: 1264 | version "1.0.4" 1265 | resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.0.4.tgz#5517489b547091b0930e095654ced25ee97e9491" 1266 | dependencies: 1267 | has "^1.0.1" 1268 | 1269 | is-resolvable@^1.0.0: 1270 | version "1.0.1" 1271 | resolved "https://registry.yarnpkg.com/is-resolvable/-/is-resolvable-1.0.1.tgz#acca1cd36dbe44b974b924321555a70ba03b1cf4" 1272 | 1273 | is-retry-allowed@^1.1.0: 1274 | version "1.1.0" 1275 | resolved "https://registry.yarnpkg.com/is-retry-allowed/-/is-retry-allowed-1.1.0.tgz#11a060568b67339444033d0125a61a20d564fb34" 1276 | 1277 | is-stream@^1.0.1, is-stream@^1.1.0: 1278 | version "1.1.0" 1279 | resolved "https://registry.yarnpkg.com/is-stream/-/is-stream-1.1.0.tgz#12d4a3dd4e68e0b79ceb8dbc84173ae80d91ca44" 1280 | 1281 | is-subset@^0.1.1: 1282 | version "0.1.1" 1283 | resolved "https://registry.yarnpkg.com/is-subset/-/is-subset-0.1.1.tgz#8a59117d932de1de00f245fcdd39ce43f1e939a6" 1284 | 1285 | is-symbol@^1.0.1: 1286 | version "1.0.1" 1287 | resolved "https://registry.yarnpkg.com/is-symbol/-/is-symbol-1.0.1.tgz#3cc59f00025194b6ab2e38dbae6689256b660572" 1288 | 1289 | is-text-path@^1.0.0: 1290 | version "1.0.1" 1291 | resolved "https://registry.yarnpkg.com/is-text-path/-/is-text-path-1.0.1.tgz#4e1aa0fb51bfbcb3e92688001397202c1775b66e" 1292 | dependencies: 1293 | text-extensions "^1.0.0" 1294 | 1295 | is-typedarray@~1.0.0: 1296 | version "1.0.0" 1297 | resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" 1298 | 1299 | is-utf8@^0.2.0: 1300 | version "0.2.1" 1301 | resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72" 1302 | 1303 | isarray@~1.0.0: 1304 | version "1.0.0" 1305 | resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11" 1306 | 1307 | isexe@^2.0.0: 1308 | version "2.0.0" 1309 | resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10" 1310 | 1311 | isomorphic-fetch@^2.1.1: 1312 | version "2.2.1" 1313 | resolved "https://registry.yarnpkg.com/isomorphic-fetch/-/isomorphic-fetch-2.2.1.tgz#611ae1acf14f5e81f729507472819fe9733558a9" 1314 | dependencies: 1315 | node-fetch "^1.0.1" 1316 | whatwg-fetch ">=0.10.0" 1317 | 1318 | isstream@~0.1.2: 1319 | version "0.1.2" 1320 | resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" 1321 | 1322 | isurl@^1.0.0-alpha5: 1323 | version "1.0.0" 1324 | resolved "https://registry.yarnpkg.com/isurl/-/isurl-1.0.0.tgz#b27f4f49f3cdaa3ea44a0a5b7f3462e6edc39d67" 1325 | dependencies: 1326 | has-to-string-tag-x "^1.2.0" 1327 | is-object "^1.0.1" 1328 | 1329 | js-tokens@^3.0.0, js-tokens@^3.0.2: 1330 | version "3.0.2" 1331 | resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b" 1332 | 1333 | js-yaml@^3.9.1: 1334 | version "3.10.0" 1335 | resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.10.0.tgz#2e78441646bd4682e963f22b6e92823c309c62dc" 1336 | dependencies: 1337 | argparse "^1.0.7" 1338 | esprima "^4.0.0" 1339 | 1340 | jsbn@~0.1.0: 1341 | version "0.1.1" 1342 | resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" 1343 | 1344 | json-buffer@3.0.0: 1345 | version "3.0.0" 1346 | resolved "https://registry.yarnpkg.com/json-buffer/-/json-buffer-3.0.0.tgz#5b1f397afc75d677bde8bcfc0e47e1f9a3d9a898" 1347 | 1348 | json-schema-traverse@^0.3.0: 1349 | version "0.3.1" 1350 | resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.3.1.tgz#349a6d44c53a51de89b40805c5d5e59b417d3340" 1351 | 1352 | json-schema@0.2.3: 1353 | version "0.2.3" 1354 | resolved "https://registry.yarnpkg.com/json-schema/-/json-schema-0.2.3.tgz#b480c892e59a2f05954ce727bd3f2a4e882f9e13" 1355 | 1356 | json-stable-stringify-without-jsonify@^1.0.1: 1357 | version "1.0.1" 1358 | resolved "https://registry.yarnpkg.com/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz#9db7b59496ad3f3cfef30a75142d2d930ad72651" 1359 | 1360 | json-stringify-safe@^5.0.1, json-stringify-safe@~5.0.1: 1361 | version "5.0.1" 1362 | resolved "https://registry.yarnpkg.com/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz#1296a2d58fd45f19a0f6ce01d65701e2c735b6eb" 1363 | 1364 | jsonfile@^4.0.0: 1365 | version "4.0.0" 1366 | resolved "https://registry.yarnpkg.com/jsonfile/-/jsonfile-4.0.0.tgz#8771aae0799b64076b76640fca058f9c10e33ecb" 1367 | optionalDependencies: 1368 | graceful-fs "^4.1.6" 1369 | 1370 | jsonparse@^1.2.0: 1371 | version "1.3.1" 1372 | resolved "https://registry.yarnpkg.com/jsonparse/-/jsonparse-1.3.1.tgz#3f4dae4a91fac315f71062f8521cc239f1366280" 1373 | 1374 | jsprim@^1.2.2: 1375 | version "1.4.1" 1376 | resolved "https://registry.yarnpkg.com/jsprim/-/jsprim-1.4.1.tgz#313e66bc1e5cc06e438bc1b7499c2e5c56acb6a2" 1377 | dependencies: 1378 | assert-plus "1.0.0" 1379 | extsprintf "1.3.0" 1380 | json-schema "0.2.3" 1381 | verror "1.10.0" 1382 | 1383 | jsx-ast-utils@^2.0.0: 1384 | version "2.0.1" 1385 | resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-2.0.1.tgz#e801b1b39985e20fffc87b40e3748080e2dcac7f" 1386 | dependencies: 1387 | array-includes "^3.0.3" 1388 | 1389 | keyv@3.0.0: 1390 | version "3.0.0" 1391 | resolved "https://registry.yarnpkg.com/keyv/-/keyv-3.0.0.tgz#44923ba39e68b12a7cec7df6c3268c031f2ef373" 1392 | dependencies: 1393 | json-buffer "3.0.0" 1394 | 1395 | kind-of@^3.0.2: 1396 | version "3.2.2" 1397 | resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" 1398 | dependencies: 1399 | is-buffer "^1.1.5" 1400 | 1401 | lazy-cache@^1.0.3: 1402 | version "1.0.4" 1403 | resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" 1404 | 1405 | levn@^0.3.0, levn@~0.3.0: 1406 | version "0.3.0" 1407 | resolved "https://registry.yarnpkg.com/levn/-/levn-0.3.0.tgz#3b09924edf9f083c0490fdd4c0bc4421e04764ee" 1408 | dependencies: 1409 | prelude-ls "~1.1.2" 1410 | type-check "~0.3.2" 1411 | 1412 | load-json-file@^1.0.0: 1413 | version "1.1.0" 1414 | resolved "https://registry.yarnpkg.com/load-json-file/-/load-json-file-1.1.0.tgz#956905708d58b4bab4c2261b04f59f31c99374c0" 1415 | dependencies: 1416 | graceful-fs "^4.1.2" 1417 | parse-json "^2.2.0" 1418 | pify "^2.0.0" 1419 | pinkie-promise "^2.0.0" 1420 | strip-bom "^2.0.0" 1421 | 1422 | lodash._baseassign@^3.0.0: 1423 | version "3.2.0" 1424 | resolved "https://registry.yarnpkg.com/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz#8c38a099500f215ad09e59f1722fd0c52bfe0a4e" 1425 | dependencies: 1426 | lodash._basecopy "^3.0.0" 1427 | lodash.keys "^3.0.0" 1428 | 1429 | lodash._basecopy@^3.0.0: 1430 | version "3.0.1" 1431 | resolved "https://registry.yarnpkg.com/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz#8da0e6a876cf344c0ad8a54882111dd3c5c7ca36" 1432 | 1433 | lodash._bindcallback@^3.0.0: 1434 | version "3.0.1" 1435 | resolved "https://registry.yarnpkg.com/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz#e531c27644cf8b57a99e17ed95b35c748789392e" 1436 | 1437 | lodash._createassigner@^3.0.0: 1438 | version "3.1.1" 1439 | resolved "https://registry.yarnpkg.com/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz#838a5bae2fdaca63ac22dee8e19fa4e6d6970b11" 1440 | dependencies: 1441 | lodash._bindcallback "^3.0.0" 1442 | lodash._isiterateecall "^3.0.0" 1443 | lodash.restparam "^3.0.0" 1444 | 1445 | lodash._getnative@^3.0.0: 1446 | version "3.9.1" 1447 | resolved "https://registry.yarnpkg.com/lodash._getnative/-/lodash._getnative-3.9.1.tgz#570bc7dede46d61cdcde687d65d3eecbaa3aaff5" 1448 | 1449 | lodash._isiterateecall@^3.0.0: 1450 | version "3.0.9" 1451 | resolved "https://registry.yarnpkg.com/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz#5203ad7ba425fae842460e696db9cf3e6aac057c" 1452 | 1453 | lodash._reinterpolate@~3.0.0: 1454 | version "3.0.0" 1455 | resolved "https://registry.yarnpkg.com/lodash._reinterpolate/-/lodash._reinterpolate-3.0.0.tgz#0ccf2d89166af03b3663c796538b75ac6e114d9d" 1456 | 1457 | lodash.assign@^3.0.0: 1458 | version "3.2.0" 1459 | resolved "https://registry.yarnpkg.com/lodash.assign/-/lodash.assign-3.2.0.tgz#3ce9f0234b4b2223e296b8fa0ac1fee8ebca64fa" 1460 | dependencies: 1461 | lodash._baseassign "^3.0.0" 1462 | lodash._createassigner "^3.0.0" 1463 | lodash.keys "^3.0.0" 1464 | 1465 | lodash.isarguments@^3.0.0: 1466 | version "3.1.0" 1467 | resolved "https://registry.yarnpkg.com/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz#2f573d85c6a24289ff00663b491c1d338ff3458a" 1468 | 1469 | lodash.isarray@^3.0.0: 1470 | version "3.0.4" 1471 | resolved "https://registry.yarnpkg.com/lodash.isarray/-/lodash.isarray-3.0.4.tgz#79e4eb88c36a8122af86f844aa9bcd851b5fbb55" 1472 | 1473 | lodash.keys@^3.0.0: 1474 | version "3.1.2" 1475 | resolved "https://registry.yarnpkg.com/lodash.keys/-/lodash.keys-3.1.2.tgz#4dbc0472b156be50a0b286855d1bd0b0c656098a" 1476 | dependencies: 1477 | lodash._getnative "^3.0.0" 1478 | lodash.isarguments "^3.0.0" 1479 | lodash.isarray "^3.0.0" 1480 | 1481 | lodash.map@^4.5.1: 1482 | version "4.6.0" 1483 | resolved "https://registry.yarnpkg.com/lodash.map/-/lodash.map-4.6.0.tgz#771ec7839e3473d9c4cde28b19394c3562f4f6d3" 1484 | 1485 | lodash.restparam@^3.0.0: 1486 | version "3.6.1" 1487 | resolved "https://registry.yarnpkg.com/lodash.restparam/-/lodash.restparam-3.6.1.tgz#936a4e309ef330a7645ed4145986c85ae5b20805" 1488 | 1489 | lodash.template@^4.0.2: 1490 | version "4.4.0" 1491 | resolved "https://registry.yarnpkg.com/lodash.template/-/lodash.template-4.4.0.tgz#e73a0385c8355591746e020b99679c690e68fba0" 1492 | dependencies: 1493 | lodash._reinterpolate "~3.0.0" 1494 | lodash.templatesettings "^4.0.0" 1495 | 1496 | lodash.templatesettings@^4.0.0: 1497 | version "4.1.0" 1498 | resolved "https://registry.yarnpkg.com/lodash.templatesettings/-/lodash.templatesettings-4.1.0.tgz#2b4d4e95ba440d915ff08bc899e4553666713316" 1499 | dependencies: 1500 | lodash._reinterpolate "~3.0.0" 1501 | 1502 | lodash@^4.0.0, lodash@^4.17.4, lodash@^4.2.1, lodash@^4.3.0: 1503 | version "4.17.4" 1504 | resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae" 1505 | 1506 | longest@^1.0.1: 1507 | version "1.0.1" 1508 | resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097" 1509 | 1510 | loose-envify@^1.0.0, loose-envify@^1.3.1: 1511 | version "1.3.1" 1512 | resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.3.1.tgz#d1a8ad33fa9ce0e713d65fdd0ac8b748d478c848" 1513 | dependencies: 1514 | js-tokens "^3.0.0" 1515 | 1516 | loud-rejection@^1.0.0: 1517 | version "1.6.0" 1518 | resolved "https://registry.yarnpkg.com/loud-rejection/-/loud-rejection-1.6.0.tgz#5b46f80147edee578870f086d04821cf998e551f" 1519 | dependencies: 1520 | currently-unhandled "^0.4.1" 1521 | signal-exit "^3.0.0" 1522 | 1523 | lowercase-keys@1.0.0, lowercase-keys@^1.0.0: 1524 | version "1.0.0" 1525 | resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-1.0.0.tgz#4e3366b39e7f5457e35f1324bdf6f88d0bfc7306" 1526 | 1527 | lru-cache@^4.0.1: 1528 | version "4.1.1" 1529 | resolved "https://registry.yarnpkg.com/lru-cache/-/lru-cache-4.1.1.tgz#622e32e82488b49279114a4f9ecf45e7cd6bba55" 1530 | dependencies: 1531 | pseudomap "^1.0.2" 1532 | yallist "^2.1.2" 1533 | 1534 | map-obj@^1.0.0, map-obj@^1.0.1: 1535 | version "1.0.1" 1536 | resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" 1537 | 1538 | meow@^3.3.0: 1539 | version "3.7.0" 1540 | resolved "https://registry.yarnpkg.com/meow/-/meow-3.7.0.tgz#72cb668b425228290abbfa856892587308a801fb" 1541 | dependencies: 1542 | camelcase-keys "^2.0.0" 1543 | decamelize "^1.1.2" 1544 | loud-rejection "^1.0.0" 1545 | map-obj "^1.0.1" 1546 | minimist "^1.1.3" 1547 | normalize-package-data "^2.3.4" 1548 | object-assign "^4.0.1" 1549 | read-pkg-up "^1.0.1" 1550 | redent "^1.0.0" 1551 | trim-newlines "^1.0.0" 1552 | 1553 | mime-db@~1.30.0: 1554 | version "1.30.0" 1555 | resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.30.0.tgz#74c643da2dd9d6a45399963465b26d5ca7d71f01" 1556 | 1557 | mime-types@^2.1.12, mime-types@~2.1.17: 1558 | version "2.1.17" 1559 | resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.17.tgz#09d7a393f03e995a79f8af857b70a9e0ab16557a" 1560 | dependencies: 1561 | mime-db "~1.30.0" 1562 | 1563 | mime@^2.0.3: 1564 | version "2.0.3" 1565 | resolved "https://registry.yarnpkg.com/mime/-/mime-2.0.3.tgz#4353337854747c48ea498330dc034f9f4bbbcc0b" 1566 | 1567 | mimic-fn@^1.0.0: 1568 | version "1.1.0" 1569 | resolved "https://registry.yarnpkg.com/mimic-fn/-/mimic-fn-1.1.0.tgz#e667783d92e89dbd342818b5230b9d62a672ad18" 1570 | 1571 | mimic-response@^1.0.0: 1572 | version "1.0.0" 1573 | resolved "https://registry.yarnpkg.com/mimic-response/-/mimic-response-1.0.0.tgz#df3d3652a73fded6b9b0b24146e6fd052353458e" 1574 | 1575 | minimatch@^3.0.2, minimatch@^3.0.4: 1576 | version "3.0.4" 1577 | resolved "https://registry.yarnpkg.com/minimatch/-/minimatch-3.0.4.tgz#5166e286457f03306064be5497e8dbb0c3d32083" 1578 | dependencies: 1579 | brace-expansion "^1.1.7" 1580 | 1581 | minimist@0.0.8: 1582 | version "0.0.8" 1583 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.8.tgz#857fcabfc3397d2625b8228262e86aa7a011b05d" 1584 | 1585 | minimist@^1.1.3: 1586 | version "1.2.0" 1587 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-1.2.0.tgz#a35008b20f41383eec1fb914f4cd5df79a264284" 1588 | 1589 | minimist@~0.0.1: 1590 | version "0.0.10" 1591 | resolved "https://registry.yarnpkg.com/minimist/-/minimist-0.0.10.tgz#de3f98543dbf96082be48ad1a0c7cda836301dcf" 1592 | 1593 | mkdirp@^0.5.0, mkdirp@^0.5.1: 1594 | version "0.5.1" 1595 | resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" 1596 | dependencies: 1597 | minimist "0.0.8" 1598 | 1599 | modify-values@^1.0.0: 1600 | version "1.0.0" 1601 | resolved "https://registry.yarnpkg.com/modify-values/-/modify-values-1.0.0.tgz#e2b6cdeb9ce19f99317a53722f3dbf5df5eaaab2" 1602 | 1603 | ms@2.0.0: 1604 | version "2.0.0" 1605 | resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8" 1606 | 1607 | mute-stream@0.0.7: 1608 | version "0.0.7" 1609 | resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.7.tgz#3075ce93bc21b8fab43e1bc4da7e8115ed1e7bab" 1610 | 1611 | natural-compare@^1.4.0: 1612 | version "1.4.0" 1613 | resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" 1614 | 1615 | nerf-dart@^1.0.0: 1616 | version "1.0.0" 1617 | resolved "https://registry.yarnpkg.com/nerf-dart/-/nerf-dart-1.0.0.tgz#e6dab7febf5ad816ea81cf5c629c5a0ebde72c1a" 1618 | 1619 | netrc@^0.1.4: 1620 | version "0.1.4" 1621 | resolved "https://registry.yarnpkg.com/netrc/-/netrc-0.1.4.tgz#6be94fcaca8d77ade0a9670dc460914c94472444" 1622 | 1623 | node-fetch@^1.0.1: 1624 | version "1.7.3" 1625 | resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-1.7.3.tgz#980f6f72d85211a5347c6b2bc18c5b84c3eb47ef" 1626 | dependencies: 1627 | encoding "^0.1.11" 1628 | is-stream "^1.0.1" 1629 | 1630 | nopt@^4.0.0: 1631 | version "4.0.1" 1632 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-4.0.1.tgz#d0d4685afd5415193c8c7505602d0d17cd64474d" 1633 | dependencies: 1634 | abbrev "1" 1635 | osenv "^0.1.4" 1636 | 1637 | nopt@~3.0.1: 1638 | version "3.0.6" 1639 | resolved "https://registry.yarnpkg.com/nopt/-/nopt-3.0.6.tgz#c6465dbf08abcd4db359317f79ac68a646b28ff9" 1640 | dependencies: 1641 | abbrev "1" 1642 | 1643 | normalize-package-data@^2.3.0, normalize-package-data@^2.3.2, normalize-package-data@^2.3.4, normalize-package-data@^2.3.5, "normalize-package-data@~1.0.1 || ^2.0.0": 1644 | version "2.4.0" 1645 | resolved "https://registry.yarnpkg.com/normalize-package-data/-/normalize-package-data-2.4.0.tgz#12f95a307d58352075a04907b84ac8be98ac012f" 1646 | dependencies: 1647 | hosted-git-info "^2.1.4" 1648 | is-builtin-module "^1.0.0" 1649 | semver "2 || 3 || 4 || 5" 1650 | validate-npm-package-license "^3.0.1" 1651 | 1652 | normalize-url@2.0.0: 1653 | version "2.0.0" 1654 | resolved "https://registry.yarnpkg.com/normalize-url/-/normalize-url-2.0.0.tgz#e04d8a369f3a4cadc850a2854f8fb0f8a8120328" 1655 | dependencies: 1656 | prepend-http "^2.0.0" 1657 | query-string "^5.0.1" 1658 | sort-keys "^2.0.0" 1659 | 1660 | "npm-package-arg@^3.0.0 || ^4.0.0 || ^5.0.0": 1661 | version "5.1.2" 1662 | resolved "https://registry.yarnpkg.com/npm-package-arg/-/npm-package-arg-5.1.2.tgz#fb18d17bb61e60900d6312619919bd753755ab37" 1663 | dependencies: 1664 | hosted-git-info "^2.4.2" 1665 | osenv "^0.1.4" 1666 | semver "^5.1.0" 1667 | validate-npm-package-name "^3.0.0" 1668 | 1669 | npm-registry-client@^8.4.0: 1670 | version "8.5.0" 1671 | resolved "https://registry.yarnpkg.com/npm-registry-client/-/npm-registry-client-8.5.0.tgz#4878fb6fa1f18a5dc08ae83acf94d0d0112d7ed0" 1672 | dependencies: 1673 | concat-stream "^1.5.2" 1674 | graceful-fs "^4.1.6" 1675 | normalize-package-data "~1.0.1 || ^2.0.0" 1676 | npm-package-arg "^3.0.0 || ^4.0.0 || ^5.0.0" 1677 | once "^1.3.3" 1678 | request "^2.74.0" 1679 | retry "^0.10.0" 1680 | semver "2 >=2.2.1 || 3.x || 4 || 5" 1681 | slide "^1.1.3" 1682 | ssri "^4.1.2" 1683 | optionalDependencies: 1684 | npmlog "2 || ^3.1.0 || ^4.0.0" 1685 | 1686 | npm-run-path@^2.0.0: 1687 | version "2.0.2" 1688 | resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" 1689 | dependencies: 1690 | path-key "^2.0.0" 1691 | 1692 | npmconf@^2.1.2: 1693 | version "2.1.2" 1694 | resolved "https://registry.yarnpkg.com/npmconf/-/npmconf-2.1.2.tgz#66606a4a736f1e77a059aa071a79c94ab781853a" 1695 | dependencies: 1696 | config-chain "~1.1.8" 1697 | inherits "~2.0.0" 1698 | ini "^1.2.0" 1699 | mkdirp "^0.5.0" 1700 | nopt "~3.0.1" 1701 | once "~1.3.0" 1702 | osenv "^0.1.0" 1703 | semver "2 || 3 || 4" 1704 | uid-number "0.0.5" 1705 | 1706 | "npmlog@2 || ^3.1.0 || ^4.0.0", npmlog@^4.0.0: 1707 | version "4.1.2" 1708 | resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" 1709 | dependencies: 1710 | are-we-there-yet "~1.1.2" 1711 | console-control-strings "~1.1.0" 1712 | gauge "~2.7.3" 1713 | set-blocking "~2.0.0" 1714 | 1715 | number-is-nan@^1.0.0: 1716 | version "1.0.1" 1717 | resolved "https://registry.yarnpkg.com/number-is-nan/-/number-is-nan-1.0.1.tgz#097b602b53422a522c1afb8790318336941a011d" 1718 | 1719 | oauth-sign@~0.8.2: 1720 | version "0.8.2" 1721 | resolved "https://registry.yarnpkg.com/oauth-sign/-/oauth-sign-0.8.2.tgz#46a6ab7f0aead8deae9ec0565780b7d4efeb9d43" 1722 | 1723 | object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: 1724 | version "4.1.1" 1725 | resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" 1726 | 1727 | object-keys@^1.0.8: 1728 | version "1.0.11" 1729 | resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" 1730 | 1731 | once@^1.3.0, once@^1.3.3: 1732 | version "1.4.0" 1733 | resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1" 1734 | dependencies: 1735 | wrappy "1" 1736 | 1737 | once@~1.3.0: 1738 | version "1.3.3" 1739 | resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20" 1740 | dependencies: 1741 | wrappy "1" 1742 | 1743 | onetime@^2.0.0: 1744 | version "2.0.1" 1745 | resolved "https://registry.yarnpkg.com/onetime/-/onetime-2.0.1.tgz#067428230fd67443b2794b22bba528b6867962d4" 1746 | dependencies: 1747 | mimic-fn "^1.0.0" 1748 | 1749 | optimist@^0.6.1: 1750 | version "0.6.1" 1751 | resolved "https://registry.yarnpkg.com/optimist/-/optimist-0.6.1.tgz#da3ea74686fa21a19a111c326e90eb15a0196686" 1752 | dependencies: 1753 | minimist "~0.0.1" 1754 | wordwrap "~0.0.2" 1755 | 1756 | optionator@^0.8.2: 1757 | version "0.8.2" 1758 | resolved "https://registry.yarnpkg.com/optionator/-/optionator-0.8.2.tgz#364c5e409d3f4d6301d6c0b4c05bba50180aeb64" 1759 | dependencies: 1760 | deep-is "~0.1.3" 1761 | fast-levenshtein "~2.0.4" 1762 | levn "~0.3.0" 1763 | prelude-ls "~1.1.2" 1764 | type-check "~0.3.2" 1765 | wordwrap "~1.0.0" 1766 | 1767 | os-homedir@^1.0.0: 1768 | version "1.0.2" 1769 | resolved "https://registry.yarnpkg.com/os-homedir/-/os-homedir-1.0.2.tgz#ffbc4988336e0e833de0c168c7ef152121aa7fb3" 1770 | 1771 | os-tmpdir@^1.0.0, os-tmpdir@~1.0.2: 1772 | version "1.0.2" 1773 | resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" 1774 | 1775 | osenv@^0.1.0, osenv@^0.1.4: 1776 | version "0.1.4" 1777 | resolved "https://registry.yarnpkg.com/osenv/-/osenv-0.1.4.tgz#42fe6d5953df06c8064be6f176c3d05aaaa34644" 1778 | dependencies: 1779 | os-homedir "^1.0.0" 1780 | os-tmpdir "^1.0.0" 1781 | 1782 | p-cancelable@^0.3.0: 1783 | version "0.3.0" 1784 | resolved "https://registry.yarnpkg.com/p-cancelable/-/p-cancelable-0.3.0.tgz#b9e123800bcebb7ac13a479be195b507b98d30fa" 1785 | 1786 | p-finally@^1.0.0: 1787 | version "1.0.0" 1788 | resolved "https://registry.yarnpkg.com/p-finally/-/p-finally-1.0.0.tgz#3fbcfb15b899a44123b34b6dcc18b724336a2cae" 1789 | 1790 | p-is-promise@^1.1.0: 1791 | version "1.1.0" 1792 | resolved "https://registry.yarnpkg.com/p-is-promise/-/p-is-promise-1.1.0.tgz#9c9456989e9f6588017b0434d56097675c3da05e" 1793 | 1794 | p-reduce@^1.0.0: 1795 | version "1.0.0" 1796 | resolved "https://registry.yarnpkg.com/p-reduce/-/p-reduce-1.0.0.tgz#18c2b0dd936a4690a529f8231f58a0fdb6a47dfa" 1797 | 1798 | p-retry@^1.0.0: 1799 | version "1.0.0" 1800 | resolved "https://registry.yarnpkg.com/p-retry/-/p-retry-1.0.0.tgz#3927332a4b7d70269b535515117fc547da1a6968" 1801 | dependencies: 1802 | retry "^0.10.0" 1803 | 1804 | p-series@^1.0.0: 1805 | version "1.0.0" 1806 | resolved "https://registry.yarnpkg.com/p-series/-/p-series-1.0.0.tgz#7ec9e7b4406cc32066298a6f9860e55e91b36e07" 1807 | dependencies: 1808 | p-reduce "^1.0.0" 1809 | 1810 | p-timeout@^2.0.1: 1811 | version "2.0.1" 1812 | resolved "https://registry.yarnpkg.com/p-timeout/-/p-timeout-2.0.1.tgz#d8dd1979595d2dc0139e1fe46b8b646cb3cdf038" 1813 | dependencies: 1814 | p-finally "^1.0.0" 1815 | 1816 | parse-github-repo-url@^1.3.0, parse-github-repo-url@^1.4.1: 1817 | version "1.4.1" 1818 | resolved "https://registry.yarnpkg.com/parse-github-repo-url/-/parse-github-repo-url-1.4.1.tgz#9e7d8bb252a6cb6ba42595060b7bf6df3dbc1f50" 1819 | 1820 | parse-json@^2.2.0: 1821 | version "2.2.0" 1822 | resolved "https://registry.yarnpkg.com/parse-json/-/parse-json-2.2.0.tgz#f480f40434ef80741f8469099f8dea18f55a4dc9" 1823 | dependencies: 1824 | error-ex "^1.2.0" 1825 | 1826 | path-exists@^2.0.0: 1827 | version "2.1.0" 1828 | resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" 1829 | dependencies: 1830 | pinkie-promise "^2.0.0" 1831 | 1832 | path-is-absolute@^1.0.0: 1833 | version "1.0.1" 1834 | resolved "https://registry.yarnpkg.com/path-is-absolute/-/path-is-absolute-1.0.1.tgz#174b9268735534ffbc7ace6bf53a5a9e1b5c5f5f" 1835 | 1836 | path-is-inside@^1.0.1, path-is-inside@^1.0.2: 1837 | version "1.0.2" 1838 | resolved "https://registry.yarnpkg.com/path-is-inside/-/path-is-inside-1.0.2.tgz#365417dede44430d1c11af61027facf074bdfc53" 1839 | 1840 | path-key@^2.0.0: 1841 | version "2.0.1" 1842 | resolved "https://registry.yarnpkg.com/path-key/-/path-key-2.0.1.tgz#411cadb574c5a140d3a4b1910d40d80cc9f40b40" 1843 | 1844 | path-object@^2.3.0: 1845 | version "2.3.0" 1846 | resolved "https://registry.yarnpkg.com/path-object/-/path-object-2.3.0.tgz#03e46653e5c375c60af1cabdd94bc6448a5d9110" 1847 | dependencies: 1848 | core-util-is "^1.0.1" 1849 | lodash.assign "^3.0.0" 1850 | 1851 | path-type@^1.0.0: 1852 | version "1.1.0" 1853 | resolved "https://registry.yarnpkg.com/path-type/-/path-type-1.1.0.tgz#59c44f7ee491da704da415da5a4070ba4f8fe441" 1854 | dependencies: 1855 | graceful-fs "^4.1.2" 1856 | pify "^2.0.0" 1857 | pinkie-promise "^2.0.0" 1858 | 1859 | performance-now@^2.1.0: 1860 | version "2.1.0" 1861 | resolved "https://registry.yarnpkg.com/performance-now/-/performance-now-2.1.0.tgz#6309f4e0e5fa913ec1c69307ae364b4b377c9e7b" 1862 | 1863 | pify@^2.0.0, pify@^2.3.0: 1864 | version "2.3.0" 1865 | resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" 1866 | 1867 | pify@^3.0.0: 1868 | version "3.0.0" 1869 | resolved "https://registry.yarnpkg.com/pify/-/pify-3.0.0.tgz#e5a4acd2c101fdf3d9a4d07f0dbc4db49dd28176" 1870 | 1871 | pinkie-promise@^2.0.0: 1872 | version "2.0.1" 1873 | resolved "https://registry.yarnpkg.com/pinkie-promise/-/pinkie-promise-2.0.1.tgz#2135d6dfa7a358c069ac9b178776288228450ffa" 1874 | dependencies: 1875 | pinkie "^2.0.0" 1876 | 1877 | pinkie@^2.0.0: 1878 | version "2.0.4" 1879 | resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870" 1880 | 1881 | pluralize@^7.0.0: 1882 | version "7.0.0" 1883 | resolved "https://registry.yarnpkg.com/pluralize/-/pluralize-7.0.0.tgz#298b89df8b93b0221dbf421ad2b1b1ea23fc6777" 1884 | 1885 | prelude-ls@~1.1.2: 1886 | version "1.1.2" 1887 | resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.1.2.tgz#21932a549f5e52ffd9a827f570e04be62a97da54" 1888 | 1889 | prepend-http@^2.0.0: 1890 | version "2.0.0" 1891 | resolved "https://registry.yarnpkg.com/prepend-http/-/prepend-http-2.0.0.tgz#e92434bfa5ea8c19f41cdfd401d741a3c819d897" 1892 | 1893 | process-nextick-args@~1.0.6: 1894 | version "1.0.7" 1895 | resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-1.0.7.tgz#150e20b756590ad3f91093f25a4f2ad8bff30ba3" 1896 | 1897 | progress@^2.0.0: 1898 | version "2.0.0" 1899 | resolved "https://registry.yarnpkg.com/progress/-/progress-2.0.0.tgz#8a1be366bf8fc23db2bd23f10c6fe920b4389d1f" 1900 | 1901 | promise@^7.1.1: 1902 | version "7.3.1" 1903 | resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" 1904 | dependencies: 1905 | asap "~2.0.3" 1906 | 1907 | prop-types@^15.5.10, prop-types@^15.6.0: 1908 | version "15.6.0" 1909 | resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.6.0.tgz#ceaf083022fc46b4a35f69e13ef75aed0d639856" 1910 | dependencies: 1911 | fbjs "^0.8.16" 1912 | loose-envify "^1.3.1" 1913 | object-assign "^4.1.1" 1914 | 1915 | proto-list@~1.2.1: 1916 | version "1.2.4" 1917 | resolved "https://registry.yarnpkg.com/proto-list/-/proto-list-1.2.4.tgz#212d5bfe1318306a420f6402b8e26ff39647a849" 1918 | 1919 | pseudomap@^1.0.2: 1920 | version "1.0.2" 1921 | resolved "https://registry.yarnpkg.com/pseudomap/-/pseudomap-1.0.2.tgz#f052a28da70e618917ef0a8ac34c1ae5a68286b3" 1922 | 1923 | punycode@^1.4.1: 1924 | version "1.4.1" 1925 | resolved "https://registry.yarnpkg.com/punycode/-/punycode-1.4.1.tgz#c0d5a63b2718800ad8e1eb0fa5269c84dd41845e" 1926 | 1927 | q@^1.4.1: 1928 | version "1.5.1" 1929 | resolved "https://registry.yarnpkg.com/q/-/q-1.5.1.tgz#7e32f75b41381291d04611f1bf14109ac00651d7" 1930 | 1931 | qs@~6.5.1: 1932 | version "6.5.1" 1933 | resolved "https://registry.yarnpkg.com/qs/-/qs-6.5.1.tgz#349cdf6eef89ec45c12d7d5eb3fc0c870343a6d8" 1934 | 1935 | query-string@^5.0.1: 1936 | version "5.0.1" 1937 | resolved "https://registry.yarnpkg.com/query-string/-/query-string-5.0.1.tgz#6e2b86fe0e08aef682ecbe86e85834765402bd88" 1938 | dependencies: 1939 | decode-uri-component "^0.2.0" 1940 | object-assign "^4.1.0" 1941 | strict-uri-encode "^1.0.0" 1942 | 1943 | read-pkg-up@^1.0.1: 1944 | version "1.0.1" 1945 | resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02" 1946 | dependencies: 1947 | find-up "^1.0.0" 1948 | read-pkg "^1.0.0" 1949 | 1950 | read-pkg@^1.0.0, read-pkg@^1.1.0: 1951 | version "1.1.0" 1952 | resolved "https://registry.yarnpkg.com/read-pkg/-/read-pkg-1.1.0.tgz#f5ffaa5ecd29cb31c0474bca7d756b6bb29e3f28" 1953 | dependencies: 1954 | load-json-file "^1.0.0" 1955 | normalize-package-data "^2.3.2" 1956 | path-type "^1.0.0" 1957 | 1958 | readable-stream@^2.0.0, readable-stream@^2.0.6, readable-stream@^2.1.5, readable-stream@^2.2.2: 1959 | version "2.3.3" 1960 | resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-2.3.3.tgz#368f2512d79f9d46fdfc71349ae7878bbc1eb95c" 1961 | dependencies: 1962 | core-util-is "~1.0.0" 1963 | inherits "~2.0.3" 1964 | isarray "~1.0.0" 1965 | process-nextick-args "~1.0.6" 1966 | safe-buffer "~5.1.1" 1967 | string_decoder "~1.0.3" 1968 | util-deprecate "~1.0.1" 1969 | 1970 | rect-clamp@^0.0.0: 1971 | version "0.0.0" 1972 | resolved "https://registry.yarnpkg.com/rect-clamp/-/rect-clamp-0.0.0.tgz#652f91c5a5bfeac125c52b9ade82ebe05507641b" 1973 | 1974 | rect-crop@^0.0.0: 1975 | version "0.0.0" 1976 | resolved "https://registry.yarnpkg.com/rect-crop/-/rect-crop-0.0.0.tgz#f6ea75863021177566887d4ca60e466e8a1c3898" 1977 | 1978 | redent@^1.0.0: 1979 | version "1.0.0" 1980 | resolved "https://registry.yarnpkg.com/redent/-/redent-1.0.0.tgz#cf916ab1fd5f1f16dfb20822dd6ec7f730c2afde" 1981 | dependencies: 1982 | indent-string "^2.1.0" 1983 | strip-indent "^1.0.1" 1984 | 1985 | repeat-string@^1.5.2: 1986 | version "1.6.1" 1987 | resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" 1988 | 1989 | repeating@^2.0.0: 1990 | version "2.0.1" 1991 | resolved "https://registry.yarnpkg.com/repeating/-/repeating-2.0.1.tgz#5214c53a926d3552707527fbab415dbc08d06dda" 1992 | dependencies: 1993 | is-finite "^1.0.0" 1994 | 1995 | request@^2.74.0: 1996 | version "2.83.0" 1997 | resolved "https://registry.yarnpkg.com/request/-/request-2.83.0.tgz#ca0b65da02ed62935887808e6f510381034e3356" 1998 | dependencies: 1999 | aws-sign2 "~0.7.0" 2000 | aws4 "^1.6.0" 2001 | caseless "~0.12.0" 2002 | combined-stream "~1.0.5" 2003 | extend "~3.0.1" 2004 | forever-agent "~0.6.1" 2005 | form-data "~2.3.1" 2006 | har-validator "~5.0.3" 2007 | hawk "~6.0.2" 2008 | http-signature "~1.2.0" 2009 | is-typedarray "~1.0.0" 2010 | isstream "~0.1.2" 2011 | json-stringify-safe "~5.0.1" 2012 | mime-types "~2.1.17" 2013 | oauth-sign "~0.8.2" 2014 | performance-now "^2.1.0" 2015 | qs "~6.5.1" 2016 | safe-buffer "^5.1.1" 2017 | stringstream "~0.0.5" 2018 | tough-cookie "~2.3.3" 2019 | tunnel-agent "^0.6.0" 2020 | uuid "^3.1.0" 2021 | 2022 | require-relative@^0.8.7: 2023 | version "0.8.7" 2024 | resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de" 2025 | 2026 | require-uncached@^1.0.3: 2027 | version "1.0.3" 2028 | resolved "https://registry.yarnpkg.com/require-uncached/-/require-uncached-1.0.3.tgz#4e0d56d6c9662fd31e43011c4b95aa49955421d3" 2029 | dependencies: 2030 | caller-path "^0.1.0" 2031 | resolve-from "^1.0.0" 2032 | 2033 | resolve-from@^1.0.0: 2034 | version "1.0.1" 2035 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-1.0.1.tgz#26cbfe935d1aeeeabb29bc3fe5aeb01e93d44226" 2036 | 2037 | resolve-from@^3.0.0: 2038 | version "3.0.0" 2039 | resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" 2040 | 2041 | responselike@1.0.2: 2042 | version "1.0.2" 2043 | resolved "https://registry.yarnpkg.com/responselike/-/responselike-1.0.2.tgz#918720ef3b631c5642be068f15ade5a46f4ba1e7" 2044 | dependencies: 2045 | lowercase-keys "^1.0.0" 2046 | 2047 | restore-cursor@^2.0.0: 2048 | version "2.0.0" 2049 | resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-2.0.0.tgz#9f7ee287f82fd326d4fd162923d62129eee0dfaf" 2050 | dependencies: 2051 | onetime "^2.0.0" 2052 | signal-exit "^3.0.2" 2053 | 2054 | retry@^0.10.0: 2055 | version "0.10.1" 2056 | resolved "https://registry.yarnpkg.com/retry/-/retry-0.10.1.tgz#e76388d217992c252750241d3d3956fed98d8ff4" 2057 | 2058 | right-align@^0.1.1: 2059 | version "0.1.3" 2060 | resolved "https://registry.yarnpkg.com/right-align/-/right-align-0.1.3.tgz#61339b722fe6a3515689210d24e14c96148613ef" 2061 | dependencies: 2062 | align-text "^0.1.1" 2063 | 2064 | right-pad@^1.0.1: 2065 | version "1.0.1" 2066 | resolved "https://registry.yarnpkg.com/right-pad/-/right-pad-1.0.1.tgz#8ca08c2cbb5b55e74dafa96bf7fd1a27d568c8d0" 2067 | 2068 | rimraf@^2.2.8: 2069 | version "2.6.2" 2070 | resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-2.6.2.tgz#2ed8150d24a16ea8651e6d6ef0f47c4158ce7a36" 2071 | dependencies: 2072 | glob "^7.0.5" 2073 | 2074 | run-async@^2.2.0: 2075 | version "2.3.0" 2076 | resolved "https://registry.yarnpkg.com/run-async/-/run-async-2.3.0.tgz#0371ab4ae0bdd720d4166d7dfda64ff7a445a6c0" 2077 | dependencies: 2078 | is-promise "^2.1.0" 2079 | 2080 | rx-lite-aggregates@^4.0.8: 2081 | version "4.0.8" 2082 | resolved "https://registry.yarnpkg.com/rx-lite-aggregates/-/rx-lite-aggregates-4.0.8.tgz#753b87a89a11c95467c4ac1626c4efc4e05c67be" 2083 | dependencies: 2084 | rx-lite "*" 2085 | 2086 | rx-lite@*, rx-lite@^4.0.8: 2087 | version "4.0.8" 2088 | resolved "https://registry.yarnpkg.com/rx-lite/-/rx-lite-4.0.8.tgz#0b1e11af8bc44836f04a6407e92da42467b79444" 2089 | 2090 | safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@^5.1.1, safe-buffer@~5.1.0, safe-buffer@~5.1.1: 2091 | version "5.1.1" 2092 | resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.1.tgz#893312af69b2123def71f57889001671eeb2c853" 2093 | 2094 | semantic-release@^8.0.3: 2095 | version "8.2.3" 2096 | resolved "https://registry.yarnpkg.com/semantic-release/-/semantic-release-8.2.3.tgz#a746a0a588be1c24aa8c212ee8dc3bda9ec85d46" 2097 | dependencies: 2098 | "@semantic-release/commit-analyzer" "^3.0.1" 2099 | "@semantic-release/condition-travis" "^6.0.0" 2100 | "@semantic-release/error" "^2.0.0" 2101 | "@semantic-release/last-release-npm" "^2.0.0" 2102 | "@semantic-release/release-notes-generator" "^4.0.0" 2103 | execa "^0.8.0" 2104 | fs-extra "^4.0.2" 2105 | git-head "^1.2.1" 2106 | github "^12.0.0" 2107 | lodash "^4.0.0" 2108 | nerf-dart "^1.0.0" 2109 | nopt "^4.0.0" 2110 | normalize-package-data "^2.3.4" 2111 | npmconf "^2.1.2" 2112 | npmlog "^4.0.0" 2113 | p-series "^1.0.0" 2114 | parse-github-repo-url "^1.3.0" 2115 | require-relative "^0.8.7" 2116 | semver "^5.4.1" 2117 | 2118 | "semver@2 >=2.2.1 || 3.x || 4 || 5", "semver@2 || 3 || 4 || 5", semver@^5.0.1, semver@^5.0.3, semver@^5.1.0, semver@^5.3.0, semver@^5.4.1: 2119 | version "5.4.1" 2120 | resolved "https://registry.yarnpkg.com/semver/-/semver-5.4.1.tgz#e059c09d8571f0540823733433505d3a2f00b18e" 2121 | 2122 | "semver@2 || 3 || 4": 2123 | version "4.3.6" 2124 | resolved "https://registry.yarnpkg.com/semver/-/semver-4.3.6.tgz#300bc6e0e86374f7ba61068b5b1ecd57fc6532da" 2125 | 2126 | set-blocking@~2.0.0: 2127 | version "2.0.0" 2128 | resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" 2129 | 2130 | setimmediate@^1.0.5: 2131 | version "1.0.5" 2132 | resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" 2133 | 2134 | shebang-command@^1.2.0: 2135 | version "1.2.0" 2136 | resolved "https://registry.yarnpkg.com/shebang-command/-/shebang-command-1.2.0.tgz#44aac65b695b03398968c39f363fee5deafdf1ea" 2137 | dependencies: 2138 | shebang-regex "^1.0.0" 2139 | 2140 | shebang-regex@^1.0.0: 2141 | version "1.0.0" 2142 | resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-1.0.0.tgz#da42f49740c0b42db2ca9728571cb190c98efea3" 2143 | 2144 | signal-exit@^3.0.0, signal-exit@^3.0.2: 2145 | version "3.0.2" 2146 | resolved "https://registry.yarnpkg.com/signal-exit/-/signal-exit-3.0.2.tgz#b5fdc08f1287ea1178628e415e25132b73646c6d" 2147 | 2148 | slash@^1.0.0: 2149 | version "1.0.0" 2150 | resolved "https://registry.yarnpkg.com/slash/-/slash-1.0.0.tgz#c41f2f6c39fc16d1cd17ad4b5d896114ae470d55" 2151 | 2152 | slice-ansi@1.0.0: 2153 | version "1.0.0" 2154 | resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-1.0.0.tgz#044f1a49d8842ff307aad6b505ed178bd950134d" 2155 | dependencies: 2156 | is-fullwidth-code-point "^2.0.0" 2157 | 2158 | slide@^1.1.3: 2159 | version "1.1.6" 2160 | resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" 2161 | 2162 | sntp@2.x.x: 2163 | version "2.1.0" 2164 | resolved "https://registry.yarnpkg.com/sntp/-/sntp-2.1.0.tgz#2c6cec14fedc2222739caf9b5c3d85d1cc5a2cc8" 2165 | dependencies: 2166 | hoek "4.x.x" 2167 | 2168 | sort-keys@^2.0.0: 2169 | version "2.0.0" 2170 | resolved "https://registry.yarnpkg.com/sort-keys/-/sort-keys-2.0.0.tgz#658535584861ec97d730d6cf41822e1f56684128" 2171 | dependencies: 2172 | is-plain-obj "^1.0.0" 2173 | 2174 | source-map@^0.4.4: 2175 | version "0.4.4" 2176 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.4.4.tgz#eba4f5da9c0dc999de68032d8b4f76173652036b" 2177 | dependencies: 2178 | amdefine ">=0.0.4" 2179 | 2180 | source-map@~0.5.1: 2181 | version "0.5.7" 2182 | resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.5.7.tgz#8a039d2d1021d22d1ea14c80d8ea468ba2ef3fcc" 2183 | 2184 | spdx-correct@~1.0.0: 2185 | version "1.0.2" 2186 | resolved "https://registry.yarnpkg.com/spdx-correct/-/spdx-correct-1.0.2.tgz#4b3073d933ff51f3912f03ac5519498a4150db40" 2187 | dependencies: 2188 | spdx-license-ids "^1.0.2" 2189 | 2190 | spdx-expression-parse@~1.0.0: 2191 | version "1.0.4" 2192 | resolved "https://registry.yarnpkg.com/spdx-expression-parse/-/spdx-expression-parse-1.0.4.tgz#9bdf2f20e1f40ed447fbe273266191fced51626c" 2193 | 2194 | spdx-license-ids@^1.0.2: 2195 | version "1.2.2" 2196 | resolved "https://registry.yarnpkg.com/spdx-license-ids/-/spdx-license-ids-1.2.2.tgz#c9df7a3424594ade6bd11900d596696dc06bac57" 2197 | 2198 | split2@^2.0.0: 2199 | version "2.2.0" 2200 | resolved "https://registry.yarnpkg.com/split2/-/split2-2.2.0.tgz#186b2575bcf83e85b7d18465756238ee4ee42493" 2201 | dependencies: 2202 | through2 "^2.0.2" 2203 | 2204 | split@^1.0.0: 2205 | version "1.0.1" 2206 | resolved "https://registry.yarnpkg.com/split/-/split-1.0.1.tgz#605bd9be303aa59fb35f9229fbea0ddec9ea07d9" 2207 | dependencies: 2208 | through "2" 2209 | 2210 | sprintf-js@~1.0.2: 2211 | version "1.0.3" 2212 | resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" 2213 | 2214 | sshpk@^1.7.0: 2215 | version "1.13.1" 2216 | resolved "https://registry.yarnpkg.com/sshpk/-/sshpk-1.13.1.tgz#512df6da6287144316dc4c18fe1cf1d940739be3" 2217 | dependencies: 2218 | asn1 "~0.2.3" 2219 | assert-plus "^1.0.0" 2220 | dashdash "^1.12.0" 2221 | getpass "^0.1.1" 2222 | optionalDependencies: 2223 | bcrypt-pbkdf "^1.0.0" 2224 | ecc-jsbn "~0.1.1" 2225 | jsbn "~0.1.0" 2226 | tweetnacl "~0.14.0" 2227 | 2228 | ssri@^4.1.2: 2229 | version "4.1.6" 2230 | resolved "https://registry.yarnpkg.com/ssri/-/ssri-4.1.6.tgz#0cb49b6ac84457e7bdd466cb730c3cb623e9a25b" 2231 | dependencies: 2232 | safe-buffer "^5.1.0" 2233 | 2234 | strict-uri-encode@^1.0.0: 2235 | version "1.1.0" 2236 | resolved "https://registry.yarnpkg.com/strict-uri-encode/-/strict-uri-encode-1.1.0.tgz#279b225df1d582b1f54e65addd4352e18faa0713" 2237 | 2238 | string-width@^1.0.1, string-width@^1.0.2: 2239 | version "1.0.2" 2240 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-1.0.2.tgz#118bdf5b8cdc51a2a7e70d211e07e2b0b9b107d3" 2241 | dependencies: 2242 | code-point-at "^1.0.0" 2243 | is-fullwidth-code-point "^1.0.0" 2244 | strip-ansi "^3.0.0" 2245 | 2246 | string-width@^2.1.0, string-width@^2.1.1: 2247 | version "2.1.1" 2248 | resolved "https://registry.yarnpkg.com/string-width/-/string-width-2.1.1.tgz#ab93f27a8dc13d28cac815c462143a6d9012ae9e" 2249 | dependencies: 2250 | is-fullwidth-code-point "^2.0.0" 2251 | strip-ansi "^4.0.0" 2252 | 2253 | string_decoder@~1.0.3: 2254 | version "1.0.3" 2255 | resolved "https://registry.yarnpkg.com/string_decoder/-/string_decoder-1.0.3.tgz#0fc67d7c141825de94282dd536bec6b9bce860ab" 2256 | dependencies: 2257 | safe-buffer "~5.1.0" 2258 | 2259 | stringstream@~0.0.5: 2260 | version "0.0.5" 2261 | resolved "https://registry.yarnpkg.com/stringstream/-/stringstream-0.0.5.tgz#4e484cd4de5a0bbbee18e46307710a8a81621878" 2262 | 2263 | strip-ansi@^3.0.0, strip-ansi@^3.0.1: 2264 | version "3.0.1" 2265 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" 2266 | dependencies: 2267 | ansi-regex "^2.0.0" 2268 | 2269 | strip-ansi@^4.0.0: 2270 | version "4.0.0" 2271 | resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-4.0.0.tgz#a8479022eb1ac368a871389b635262c505ee368f" 2272 | dependencies: 2273 | ansi-regex "^3.0.0" 2274 | 2275 | strip-bom@^2.0.0: 2276 | version "2.0.0" 2277 | resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e" 2278 | dependencies: 2279 | is-utf8 "^0.2.0" 2280 | 2281 | strip-eof@^1.0.0: 2282 | version "1.0.0" 2283 | resolved "https://registry.yarnpkg.com/strip-eof/-/strip-eof-1.0.0.tgz#bb43ff5598a6eb05d89b59fcd129c983313606bf" 2284 | 2285 | strip-indent@^1.0.1: 2286 | version "1.0.1" 2287 | resolved "https://registry.yarnpkg.com/strip-indent/-/strip-indent-1.0.1.tgz#0c7962a6adefa7bbd4ac366460a638552ae1a0a2" 2288 | dependencies: 2289 | get-stdin "^4.0.1" 2290 | 2291 | strip-json-comments@~2.0.1: 2292 | version "2.0.1" 2293 | resolved "https://registry.yarnpkg.com/strip-json-comments/-/strip-json-comments-2.0.1.tgz#3c531942e908c2697c0ec344858c286c7ca0a60a" 2294 | 2295 | supports-color@^2.0.0: 2296 | version "2.0.0" 2297 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" 2298 | 2299 | supports-color@^4.0.0: 2300 | version "4.5.0" 2301 | resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-4.5.0.tgz#be7a0de484dec5c5cddf8b3d59125044912f635b" 2302 | dependencies: 2303 | has-flag "^2.0.0" 2304 | 2305 | table@^4.0.1: 2306 | version "4.0.2" 2307 | resolved "https://registry.yarnpkg.com/table/-/table-4.0.2.tgz#a33447375391e766ad34d3486e6e2aedc84d2e36" 2308 | dependencies: 2309 | ajv "^5.2.3" 2310 | ajv-keywords "^2.1.0" 2311 | chalk "^2.1.0" 2312 | lodash "^4.17.4" 2313 | slice-ansi "1.0.0" 2314 | string-width "^2.1.1" 2315 | 2316 | text-extensions@^1.0.0: 2317 | version "1.7.0" 2318 | resolved "https://registry.yarnpkg.com/text-extensions/-/text-extensions-1.7.0.tgz#faaaba2625ed746d568a23e4d0aacd9bf08a8b39" 2319 | 2320 | text-table@~0.2.0: 2321 | version "0.2.0" 2322 | resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4" 2323 | 2324 | through2@^2.0.0, through2@^2.0.2: 2325 | version "2.0.3" 2326 | resolved "https://registry.yarnpkg.com/through2/-/through2-2.0.3.tgz#0004569b37c7c74ba39c43f3ced78d1ad94140be" 2327 | dependencies: 2328 | readable-stream "^2.1.5" 2329 | xtend "~4.0.1" 2330 | 2331 | through@2, "through@>=2.2.7 <3", through@^2.3.6: 2332 | version "2.3.8" 2333 | resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" 2334 | 2335 | timed-out@^4.0.1: 2336 | version "4.0.1" 2337 | resolved "https://registry.yarnpkg.com/timed-out/-/timed-out-4.0.1.tgz#f32eacac5a175bea25d7fab565ab3ed8741ef56f" 2338 | 2339 | tmp@^0.0.33: 2340 | version "0.0.33" 2341 | resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" 2342 | dependencies: 2343 | os-tmpdir "~1.0.2" 2344 | 2345 | tough-cookie@~2.3.3: 2346 | version "2.3.3" 2347 | resolved "https://registry.yarnpkg.com/tough-cookie/-/tough-cookie-2.3.3.tgz#0b618a5565b6dea90bf3425d04d55edc475a7561" 2348 | dependencies: 2349 | punycode "^1.4.1" 2350 | 2351 | travis-deploy-once@^3.0.0: 2352 | version "3.1.2" 2353 | resolved "https://registry.yarnpkg.com/travis-deploy-once/-/travis-deploy-once-3.1.2.tgz#568fe69d6d7bae9250fd5f58f8af78e30a32396f" 2354 | dependencies: 2355 | chalk "^2.1.0" 2356 | got "^8.0.1" 2357 | p-retry "^1.0.0" 2358 | semver "^5.4.1" 2359 | url-join "^2.0.2" 2360 | 2361 | trim-newlines@^1.0.0: 2362 | version "1.0.0" 2363 | resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" 2364 | 2365 | trim-off-newlines@^1.0.0: 2366 | version "1.0.1" 2367 | resolved "https://registry.yarnpkg.com/trim-off-newlines/-/trim-off-newlines-1.0.1.tgz#9f9ba9d9efa8764c387698bcbfeb2c848f11adb3" 2368 | 2369 | tunnel-agent@^0.6.0: 2370 | version "0.6.0" 2371 | resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" 2372 | dependencies: 2373 | safe-buffer "^5.0.1" 2374 | 2375 | tweetnacl@^0.14.3, tweetnacl@~0.14.0: 2376 | version "0.14.5" 2377 | resolved "https://registry.yarnpkg.com/tweetnacl/-/tweetnacl-0.14.5.tgz#5ae68177f192d4456269d108afa93ff8743f4f64" 2378 | 2379 | type-check@~0.3.2: 2380 | version "0.3.2" 2381 | resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.3.2.tgz#5884cab512cf1d355e3fb784f30804b2b520db72" 2382 | dependencies: 2383 | prelude-ls "~1.1.2" 2384 | 2385 | typedarray@^0.0.6: 2386 | version "0.0.6" 2387 | resolved "https://registry.yarnpkg.com/typedarray/-/typedarray-0.0.6.tgz#867ac74e3864187b1d3d47d996a78ec5c8830777" 2388 | 2389 | ua-parser-js@^0.7.9: 2390 | version "0.7.17" 2391 | resolved "https://registry.yarnpkg.com/ua-parser-js/-/ua-parser-js-0.7.17.tgz#e9ec5f9498b9ec910e7ae3ac626a805c4d09ecac" 2392 | 2393 | uglify-js@^2.6: 2394 | version "2.8.29" 2395 | resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-2.8.29.tgz#29c5733148057bb4e1f75df35b7a9cb72e6a59dd" 2396 | dependencies: 2397 | source-map "~0.5.1" 2398 | yargs "~3.10.0" 2399 | optionalDependencies: 2400 | uglify-to-browserify "~1.0.0" 2401 | 2402 | uglify-to-browserify@~1.0.0: 2403 | version "1.0.2" 2404 | resolved "https://registry.yarnpkg.com/uglify-to-browserify/-/uglify-to-browserify-1.0.2.tgz#6e0924d6bda6b5afe349e39a6d632850a0f882b7" 2405 | 2406 | uid-number@0.0.5: 2407 | version "0.0.5" 2408 | resolved "https://registry.yarnpkg.com/uid-number/-/uid-number-0.0.5.tgz#5a3db23ef5dbd55b81fce0ec9a2ac6fccdebb81e" 2409 | 2410 | universalify@^0.1.0: 2411 | version "0.1.1" 2412 | resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.1.1.tgz#fa71badd4437af4c148841e3b3b165f9e9e590b7" 2413 | 2414 | url-join@^2.0.2: 2415 | version "2.0.2" 2416 | resolved "https://registry.yarnpkg.com/url-join/-/url-join-2.0.2.tgz#c072756967ad24b8b59e5741551caac78f50b8b7" 2417 | 2418 | url-parse-lax@^3.0.0: 2419 | version "3.0.0" 2420 | resolved "https://registry.yarnpkg.com/url-parse-lax/-/url-parse-lax-3.0.0.tgz#16b5cafc07dbe3676c1b1999177823d6503acb0c" 2421 | dependencies: 2422 | prepend-http "^2.0.0" 2423 | 2424 | url-to-options@^1.0.1: 2425 | version "1.0.1" 2426 | resolved "https://registry.yarnpkg.com/url-to-options/-/url-to-options-1.0.1.tgz#1505a03a289a48cbd7a434efbaeec5055f5633a9" 2427 | 2428 | util-deprecate@~1.0.1: 2429 | version "1.0.2" 2430 | resolved "https://registry.yarnpkg.com/util-deprecate/-/util-deprecate-1.0.2.tgz#450d4dc9fa70de732762fbd2d4a28981419a0ccf" 2431 | 2432 | uuid@^3.1.0: 2433 | version "3.1.0" 2434 | resolved "https://registry.yarnpkg.com/uuid/-/uuid-3.1.0.tgz#3dd3d3e790abc24d7b0d3a034ffababe28ebbc04" 2435 | 2436 | validate-npm-package-license@^3.0.1: 2437 | version "3.0.1" 2438 | resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.1.tgz#2804babe712ad3379459acfbe24746ab2c303fbc" 2439 | dependencies: 2440 | spdx-correct "~1.0.0" 2441 | spdx-expression-parse "~1.0.0" 2442 | 2443 | validate-npm-package-name@^3.0.0: 2444 | version "3.0.0" 2445 | resolved "https://registry.yarnpkg.com/validate-npm-package-name/-/validate-npm-package-name-3.0.0.tgz#5fa912d81eb7d0c74afc140de7317f0ca7df437e" 2446 | dependencies: 2447 | builtins "^1.0.3" 2448 | 2449 | verror@1.10.0: 2450 | version "1.10.0" 2451 | resolved "https://registry.yarnpkg.com/verror/-/verror-1.10.0.tgz#3a105ca17053af55d6e270c1f8288682e18da400" 2452 | dependencies: 2453 | assert-plus "^1.0.0" 2454 | core-util-is "1.0.2" 2455 | extsprintf "^1.2.0" 2456 | 2457 | walk@^2.3.9: 2458 | version "2.3.9" 2459 | resolved "https://registry.yarnpkg.com/walk/-/walk-2.3.9.tgz#31b4db6678f2ae01c39ea9fb8725a9031e558a7b" 2460 | dependencies: 2461 | foreachasync "^3.0.0" 2462 | 2463 | whatwg-fetch@>=0.10.0: 2464 | version "2.0.3" 2465 | resolved "https://registry.yarnpkg.com/whatwg-fetch/-/whatwg-fetch-2.0.3.tgz#9c84ec2dcf68187ff00bc64e1274b442176e1c84" 2466 | 2467 | which@^1.2.9: 2468 | version "1.3.0" 2469 | resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a" 2470 | dependencies: 2471 | isexe "^2.0.0" 2472 | 2473 | wide-align@^1.1.0: 2474 | version "1.1.2" 2475 | resolved "https://registry.yarnpkg.com/wide-align/-/wide-align-1.1.2.tgz#571e0f1b0604636ebc0dfc21b0339bbe31341710" 2476 | dependencies: 2477 | string-width "^1.0.2" 2478 | 2479 | window-size@0.1.0: 2480 | version "0.1.0" 2481 | resolved "https://registry.yarnpkg.com/window-size/-/window-size-0.1.0.tgz#5438cd2ea93b202efa3a19fe8887aee7c94f9c9d" 2482 | 2483 | word-wrap@^1.0.3: 2484 | version "1.2.3" 2485 | resolved "https://registry.yarnpkg.com/word-wrap/-/word-wrap-1.2.3.tgz#610636f6b1f703891bd34771ccb17fb93b47079c" 2486 | 2487 | wordwrap@0.0.2: 2488 | version "0.0.2" 2489 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.2.tgz#b79669bb42ecb409f83d583cad52ca17eaa1643f" 2490 | 2491 | wordwrap@~0.0.2: 2492 | version "0.0.3" 2493 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-0.0.3.tgz#a3d5da6cd5c0bc0008d37234bbaf1bed63059107" 2494 | 2495 | wordwrap@~1.0.0: 2496 | version "1.0.0" 2497 | resolved "https://registry.yarnpkg.com/wordwrap/-/wordwrap-1.0.0.tgz#27584810891456a4171c8d0226441ade90cbcaeb" 2498 | 2499 | wrappy@1: 2500 | version "1.0.2" 2501 | resolved "https://registry.yarnpkg.com/wrappy/-/wrappy-1.0.2.tgz#b5243d8f3ec1aa35f1364605bc0d1036e30ab69f" 2502 | 2503 | write@^0.2.1: 2504 | version "0.2.1" 2505 | resolved "https://registry.yarnpkg.com/write/-/write-0.2.1.tgz#5fc03828e264cea3fe91455476f7a3c566cb0757" 2506 | dependencies: 2507 | mkdirp "^0.5.1" 2508 | 2509 | xtend@~4.0.1: 2510 | version "4.0.1" 2511 | resolved "https://registry.yarnpkg.com/xtend/-/xtend-4.0.1.tgz#a5c6d532be656e23db820efb943a1f04998d63af" 2512 | 2513 | yallist@^2.1.2: 2514 | version "2.1.2" 2515 | resolved "https://registry.yarnpkg.com/yallist/-/yallist-2.1.2.tgz#1c11f9218f076089a47dd512f93c6699a6a81d52" 2516 | 2517 | yargs@~3.10.0: 2518 | version "3.10.0" 2519 | resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1" 2520 | dependencies: 2521 | camelcase "^1.0.2" 2522 | cliui "^2.1.0" 2523 | decamelize "^1.0.0" 2524 | window-size "0.1.0" 2525 | --------------------------------------------------------------------------------