mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-01-12 22:51:18 +08:00
Convert NavigationPlayground project to a CRNA project
This commit is contained in:
@@ -27,6 +27,6 @@ jobs:
|
||||
./scripts/deploy-website.sh
|
||||
|
||||
# deploy expo playground demo
|
||||
yarn global add exp && exp login -u "$EXPO_USERNAME" -p "$EXPO_PASSWORD"
|
||||
cd examples/ExpoNavigationPlayground && npm install && exp publish
|
||||
exp login -u "$EXPO_USERNAME" -p "$EXPO_PASSWORD"
|
||||
cd examples/ExpoNavigationPlayground && yarn && exp publish
|
||||
fi
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"presets": [
|
||||
"react-native"
|
||||
]
|
||||
"presets": ["babel-preset-expo"],
|
||||
"env": {
|
||||
"development": {
|
||||
"plugins": ["transform-react-jsx-source"]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@
|
||||
<PROJECT_ROOT>/\.buckd/
|
||||
|
||||
; Ignore unexpected extra "@providesModule"
|
||||
.*/node_modules/commoner/test/source/widget/share.js
|
||||
.*/node_modules/.*/node_modules/fbjs/.*
|
||||
|
||||
; Ignore duplicate module providers
|
||||
@@ -15,6 +14,22 @@
|
||||
.*/Libraries/react-native/React.js
|
||||
.*/Libraries/react-native/ReactNative.js
|
||||
|
||||
; Additional create-react-native-app ignores
|
||||
|
||||
; Ignore duplicate module providers
|
||||
.*/node_modules/fbemitter/lib/*
|
||||
|
||||
; Ignore misbehaving dev-dependencies
|
||||
.*/node_modules/xdl/build/*
|
||||
.*/node_modules/reqwest/tests/*
|
||||
|
||||
; Ignore missing expo-sdk dependencies (temporarily)
|
||||
; https://github.com/exponent/exponent-sdk/issues/36
|
||||
.*/node_modules/expo/src/*
|
||||
|
||||
; Ignore react-native-fbads dependency of the expo sdk
|
||||
.*/node_modules/react-native-fbads/*
|
||||
|
||||
[include]
|
||||
|
||||
[libs]
|
||||
@@ -25,6 +40,8 @@ flow/
|
||||
[options]
|
||||
module.system=haste
|
||||
|
||||
emoji=true
|
||||
|
||||
experimental.strict_type_args=true
|
||||
|
||||
munge_underscores=true
|
||||
@@ -35,11 +52,12 @@ suppress_type=$FlowIssue
|
||||
suppress_type=$FlowFixMe
|
||||
suppress_type=$FixMe
|
||||
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-6]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-6]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(4[0-0]\\|[1-3][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
|
||||
suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError
|
||||
|
||||
unsafe.enable_getters_and_setters=true
|
||||
|
||||
[version]
|
||||
^0.36.0
|
||||
^0.40.0
|
||||
|
||||
54
examples/NavigationPlayground/.gitignore
vendored
54
examples/NavigationPlayground/.gitignore
vendored
@@ -1,53 +1,3 @@
|
||||
# OSX
|
||||
#
|
||||
.DS_Store
|
||||
|
||||
# Xcode
|
||||
#
|
||||
build/
|
||||
*.pbxuser
|
||||
!default.pbxuser
|
||||
*.mode1v3
|
||||
!default.mode1v3
|
||||
*.mode2v3
|
||||
!default.mode2v3
|
||||
*.perspectivev3
|
||||
!default.perspectivev3
|
||||
xcuserdata
|
||||
*.xccheckout
|
||||
*.moved-aside
|
||||
DerivedData
|
||||
*.hmap
|
||||
*.ipa
|
||||
*.xcuserstate
|
||||
project.xcworkspace
|
||||
|
||||
# Android/IntelliJ
|
||||
#
|
||||
build/
|
||||
.idea
|
||||
.gradle
|
||||
local.properties
|
||||
*.iml
|
||||
|
||||
# node.js
|
||||
#
|
||||
node_modules/
|
||||
npm-debug.log
|
||||
|
||||
# BUCK
|
||||
buck-out/
|
||||
\.buckd/
|
||||
android/app/libs
|
||||
*.keystore
|
||||
|
||||
# fastlane
|
||||
#
|
||||
# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
|
||||
# screenshots whenever they are needed.
|
||||
# For more information about the recommended setup visit:
|
||||
# https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Gitignore.md
|
||||
|
||||
fastlane/report.xml
|
||||
fastlane/Preview.html
|
||||
fastlane/screenshots
|
||||
.expo/
|
||||
npm-debug.*
|
||||
|
||||
@@ -1 +1 @@
|
||||
{}
|
||||
{}
|
||||
|
||||
2
examples/NavigationPlayground/App.js
Normal file
2
examples/NavigationPlayground/App.js
Normal file
@@ -0,0 +1,2 @@
|
||||
import App from './js/App';
|
||||
export default App;
|
||||
10
examples/NavigationPlayground/App.test.js
Normal file
10
examples/NavigationPlayground/App.test.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import React from 'react';
|
||||
import 'react-native';
|
||||
import renderer from 'react-test-renderer';
|
||||
|
||||
import App from './App';
|
||||
|
||||
it('renders without crashing', () => {
|
||||
const rendered = renderer.create(<App />).toJSON();
|
||||
expect(rendered).toBeTruthy();
|
||||
});
|
||||
@@ -1,4 +1,29 @@
|
||||
{
|
||||
"name": "NavigationPlayground",
|
||||
"displayName": "NavigationPlayground"
|
||||
}
|
||||
"expo": {
|
||||
"name": "NavigationPlayground",
|
||||
"description": "Try out react-navigation now with this awesome playground",
|
||||
"version": "1.0.0",
|
||||
"slug": "NavigationPlayground",
|
||||
"privacy": "public",
|
||||
"orientation": "portrait",
|
||||
"primaryColor": "#cccccc",
|
||||
"icon": "./assets/icons/react-navigation.png",
|
||||
"loading": {
|
||||
"icon": "./assets/icons/react-navigation.png",
|
||||
"hideExponentText": false
|
||||
},
|
||||
"sdkVersion": "16.0.0",
|
||||
"entryPoint": "./examples/NavigationPlayground/node_modules/react-native-scripts/build/bin/crna-entry.js",
|
||||
"packagerOpts": {
|
||||
"projectRoots": "",
|
||||
"assetExts": [
|
||||
"ttf",
|
||||
"mp4"
|
||||
],
|
||||
"config": "./rn-cli.config.js"
|
||||
},
|
||||
"ios": {
|
||||
"supportsTablet": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,29 +1,33 @@
|
||||
{
|
||||
"name": "NavigationPlayground",
|
||||
"version": "0.0.1",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"react-native-scripts": "0.0.29",
|
||||
"jest-expo": "^0.4.0",
|
||||
"react-test-renderer": "16.0.0-alpha.6"
|
||||
},
|
||||
"main": "./examples/node_modules/react-native-scripts/build/bin/crna-entry.js",
|
||||
"scripts": {
|
||||
"test": "jest"
|
||||
"start": "react-native-scripts start",
|
||||
"eject": "react-native-scripts eject",
|
||||
"android": "react-native-scripts android",
|
||||
"ios": "react-native-scripts ios",
|
||||
"test": "node node_modules/jest/bin/jest.js --watch"
|
||||
},
|
||||
"dependencies": {
|
||||
"expo": "^16.0.0",
|
||||
"react": "16.0.0-alpha.6",
|
||||
"react-native": "^0.44.0",
|
||||
"react-native-vector-icons": "^4.1.1",
|
||||
"react-navigation": "file:../.."
|
||||
},
|
||||
"devDependencies": {
|
||||
"babel-jest": "^20.0.1",
|
||||
"jest": "^20.0.1",
|
||||
"react-test-renderer": "^15.5.4"
|
||||
"react-native": "^0.43.4"
|
||||
},
|
||||
"jest": {
|
||||
"preset": "react-native",
|
||||
"preset": "jest-expo",
|
||||
"setupFiles": [
|
||||
"<rootDir>/../../jest-setup.js"
|
||||
],
|
||||
"transformIgnorePatterns": [
|
||||
"node_modules/(?!react-native|react-navigation)/",
|
||||
"__exponent"
|
||||
"examples/ReduxExample/"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
50
examples/NavigationPlayground/rn-cli.config.js
Normal file
50
examples/NavigationPlayground/rn-cli.config.js
Normal file
@@ -0,0 +1,50 @@
|
||||
/**
|
||||
* RN CLI Config that allows Exponent to work with this project
|
||||
*
|
||||
* Extends the base rn-cli.config.js at the root of the project to use a custom transfomer and a
|
||||
* special blacklist.
|
||||
*/
|
||||
|
||||
const fs = require('fs');
|
||||
const path = require('path');
|
||||
const blacklist = require('react-native/packager/blacklist');
|
||||
const config = require('react-native/packager/rn-cli.config');
|
||||
|
||||
const examples = getDirectories(path.join(__dirname, '..'));
|
||||
const CURRENT_EXAMPLE = 'NavigationPlayground';
|
||||
|
||||
const getBlacklistForExample = (example) => [
|
||||
...examples.filter(x => x !== example).map(exampleName => new RegExp(`${path.resolve(__dirname, '..')}/${exampleName}/(.*)`))
|
||||
];
|
||||
|
||||
config.getBlacklist = () => [
|
||||
new RegExp(
|
||||
`${path.resolve(__dirname, '../..')}/node_modules/react-native/(.*)`
|
||||
),
|
||||
new RegExp(`${path.resolve(__dirname, '../..')}/node_modules/react/(.*)`),
|
||||
...getBlacklistForExample(CURRENT_EXAMPLE)
|
||||
];
|
||||
|
||||
config.getBlacklistRE = () => blacklist(config.getBlacklist());
|
||||
|
||||
config.getTransformModulePath = () =>
|
||||
path.resolve(__dirname, 'transformer.js');
|
||||
|
||||
config.getTransformOptions = () => ({
|
||||
reactNativePath: path.resolve(__dirname, 'node_modules/react-native/'),
|
||||
reactPath: path.resolve(__dirname, 'node_modules/react/'),
|
||||
});
|
||||
|
||||
config.getProjectRoots = () => getRoots();
|
||||
config.getAssetRoots = () => getRoots();
|
||||
|
||||
function getRoots() {
|
||||
return [path.join(__dirname, '..', '..')];
|
||||
}
|
||||
|
||||
function getDirectories (srcpath) {
|
||||
return fs.readdirSync(srcpath)
|
||||
.filter(file => fs.lstatSync(path.join(srcpath, file)).isDirectory())
|
||||
}
|
||||
|
||||
module.exports = config;
|
||||
127
examples/NavigationPlayground/transformer.js
Normal file
127
examples/NavigationPlayground/transformer.js
Normal file
@@ -0,0 +1,127 @@
|
||||
/**
|
||||
* Copyright (c) 2015-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
* Note: This is a fork of the fb-specific transform.js
|
||||
* Specifically, it uses 'babel-plugin-module-resolver' to rewrite requires for
|
||||
* 'react-native' and 'react' to point to the passed in paths from the transformer
|
||||
* options, and also utilizes babel-preset-expo for other Exponent specific transforms.
|
||||
*/
|
||||
|
||||
const path = require('path');
|
||||
const babel = require('babel-core');
|
||||
const reactTransformPlugin = require('babel-plugin-react-transform').default;
|
||||
|
||||
const hmrTransform = 'react-transform-hmr/lib/index.js';
|
||||
const transformPath = require.resolve(hmrTransform);
|
||||
|
||||
const makeHMRConfig = function(options, filename) {
|
||||
const transform = filename
|
||||
? './' + path.relative(path.dirname(filename), transformPath) // packager can't handle absolute paths
|
||||
: hmrTransform;
|
||||
|
||||
return {
|
||||
plugins: [
|
||||
[
|
||||
reactTransformPlugin,
|
||||
{
|
||||
transforms: [
|
||||
{
|
||||
transform,
|
||||
imports: ['react-native'],
|
||||
locals: ['module'],
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
],
|
||||
};
|
||||
};
|
||||
|
||||
const buildAliasPreset = (reactNativePath, reactPath) => ({
|
||||
plugins: [
|
||||
[
|
||||
require('babel-plugin-module-resolver').default,
|
||||
{
|
||||
alias: Object.assign(
|
||||
{},
|
||||
{
|
||||
'react-native': path.resolve(
|
||||
`${reactNativePath || './node_modules/react-native'}`
|
||||
),
|
||||
react: path.resolve(`${reactPath || './node_modules/react'}`),
|
||||
},
|
||||
require('babel-preset-expo').plugins[0][1].alias
|
||||
),
|
||||
cwd: path.resolve(__dirname, '..'),
|
||||
},
|
||||
],
|
||||
],
|
||||
});
|
||||
|
||||
/**
|
||||
* Given a filename and options, build a Babel
|
||||
* config object with the appropriate plugins.
|
||||
*/
|
||||
function buildBabelConfig(filename, options) {
|
||||
const exponentBabelPreset = require('babel-preset-expo');
|
||||
const babelConfig = {
|
||||
presets: [
|
||||
...exponentBabelPreset.presets,
|
||||
buildAliasPreset(options.reactNativePath, options.reactPath),
|
||||
],
|
||||
plugins: [],
|
||||
};
|
||||
|
||||
const extraConfig = {
|
||||
filename,
|
||||
sourceFileName: filename,
|
||||
babelrc: false,
|
||||
};
|
||||
|
||||
let config = Object.assign({}, babelConfig, extraConfig);
|
||||
|
||||
let extraPresets = [];
|
||||
|
||||
if (options.hot) {
|
||||
const hmrConfig = makeHMRConfig(options, filename);
|
||||
extraPresets.push(hmrConfig);
|
||||
}
|
||||
|
||||
config.presets = [...config.presets, ...extraPresets];
|
||||
|
||||
return Object.assign({}, babelConfig, config);
|
||||
}
|
||||
|
||||
function transform(src, filename, options) {
|
||||
options = options || {};
|
||||
|
||||
const babelConfig = buildBabelConfig(filename, options);
|
||||
const result = babel.transform(src, babelConfig);
|
||||
|
||||
return {
|
||||
ast: result.ast,
|
||||
code: result.code,
|
||||
map: result.map,
|
||||
filename,
|
||||
};
|
||||
}
|
||||
|
||||
module.exports = function(data, callback) {
|
||||
let result;
|
||||
try {
|
||||
result = transform(data.sourceCode, data.filename, data.options);
|
||||
} catch (e) {
|
||||
callback(e);
|
||||
return;
|
||||
}
|
||||
|
||||
callback(null, result);
|
||||
};
|
||||
|
||||
// export for use in jest
|
||||
module.exports.transform = transform;
|
||||
File diff suppressed because it is too large
Load Diff
@@ -24,9 +24,9 @@
|
||||
"build-web": "mkdir -p lib/views/ && cp -R src/views/assets lib/views/assets && BABEL_ENV=publish-web babel src -d lib --ignore __tests__",
|
||||
"build-dot-flow": "find ./src -name '*.js' -not -path '*/__tests__*' | while read filepath; do cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib\\//g'`.flow && cp $filepath `echo $filepath | sed 's/\\/src\\//\\/lib-rn\\//g'`.flow; done",
|
||||
"build-docs": "node scripts/compile-docs",
|
||||
"start": "node ./node_modules/react-native/local-cli/cli.js start --config ./rn-cli.config.js",
|
||||
"run-playground-ios": "cd examples/NavigationPlayground && react-native run-ios",
|
||||
"run-playground-android": "cd examples/NavigationPlayground && react-native run-android",
|
||||
"start": "npm run run-playground-ios",
|
||||
"run-playground-ios": "cd examples/NavigationPlayground && npm run ios",
|
||||
"run-playground-android": "cd examples/NavigationPlayground && npm run android",
|
||||
"test": "npm run lint && npm run flow-check && npm run jest",
|
||||
"codecov": "codecov",
|
||||
"jest": "jest",
|
||||
@@ -50,6 +50,7 @@
|
||||
"babel-preset-es2015": "^6.24.1",
|
||||
"babel-preset-react": "^6.24.1",
|
||||
"babel-preset-react-native": "^1.9.2",
|
||||
"babel-preset-react-native-stage-0": "^1.0.1",
|
||||
"babel-preset-react-native-syntax": "^1.0.0",
|
||||
"babel-preset-stage-1": "^6.24.1",
|
||||
"codecov": "^2.2.0",
|
||||
|
||||
@@ -3,4 +3,5 @@ FROM node:7.10.0
|
||||
RUN apt-get update -y && \
|
||||
apt-get install -y ocaml libelf1 && \
|
||||
rm -rf /var/lib/apt/lists/* && \
|
||||
curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||
curl -o- -L https://yarnpkg.com/install.sh | bash && \
|
||||
npm install -g exp
|
||||
|
||||
65
yarn.lock
65
yarn.lock
@@ -526,10 +526,14 @@ babel-plugin-syntax-class-properties@^6.13.0, babel-plugin-syntax-class-properti
|
||||
version "6.13.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de"
|
||||
|
||||
babel-plugin-syntax-decorators@^6.13.0:
|
||||
babel-plugin-syntax-decorators@^6.1.18, babel-plugin-syntax-decorators@^6.13.0:
|
||||
version "6.13.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b"
|
||||
|
||||
babel-plugin-syntax-do-expressions@^6.8.0:
|
||||
version "6.13.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-do-expressions/-/babel-plugin-syntax-do-expressions-6.13.0.tgz#5747756139aa26d390d09410b03744ba07e4796d"
|
||||
|
||||
babel-plugin-syntax-dynamic-import@^6.18.0:
|
||||
version "6.18.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da"
|
||||
@@ -546,6 +550,10 @@ babel-plugin-syntax-flow@^6.18.0, babel-plugin-syntax-flow@^6.5.0, babel-plugin-
|
||||
version "6.18.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-flow/-/babel-plugin-syntax-flow-6.18.0.tgz#4c3ab20a2af26aa20cd25995c398c4eb70310c8d"
|
||||
|
||||
babel-plugin-syntax-function-bind@^6.8.0:
|
||||
version "6.13.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-function-bind/-/babel-plugin-syntax-function-bind-6.13.0.tgz#48c495f177bdf31a981e732f55adc0bdd2601f46"
|
||||
|
||||
babel-plugin-syntax-jsx@^6.18.0, babel-plugin-syntax-jsx@^6.3.13, babel-plugin-syntax-jsx@^6.5.0, babel-plugin-syntax-jsx@^6.8.0:
|
||||
version "6.18.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-jsx/-/babel-plugin-syntax-jsx-6.18.0.tgz#0af32a9a6e13ca7a3fd5069e62d7b0f58d0d8946"
|
||||
@@ -582,7 +590,7 @@ babel-plugin-transform-async-to-generator@^6.24.1:
|
||||
babel-plugin-syntax-async-functions "^6.8.0"
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-class-constructor-call@^6.24.1:
|
||||
babel-plugin-transform-class-constructor-call@^6.24.1, babel-plugin-transform-class-constructor-call@^6.6.5:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-constructor-call/-/babel-plugin-transform-class-constructor-call-6.24.1.tgz#80dc285505ac067dcb8d6c65e2f6f11ab7765ef9"
|
||||
dependencies:
|
||||
@@ -599,6 +607,14 @@ babel-plugin-transform-class-properties@^6.24.1, babel-plugin-transform-class-pr
|
||||
babel-runtime "^6.22.0"
|
||||
babel-template "^6.24.1"
|
||||
|
||||
babel-plugin-transform-decorators-legacy@^1.3.4:
|
||||
version "1.3.4"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators-legacy/-/babel-plugin-transform-decorators-legacy-1.3.4.tgz#741b58f6c5bce9e6027e0882d9c994f04f366925"
|
||||
dependencies:
|
||||
babel-plugin-syntax-decorators "^6.1.18"
|
||||
babel-runtime "^6.2.0"
|
||||
babel-template "^6.3.0"
|
||||
|
||||
babel-plugin-transform-decorators@^6.24.1:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators/-/babel-plugin-transform-decorators-6.24.1.tgz#788013d8f8c6b5222bdf7b344390dfd77569e24d"
|
||||
@@ -609,6 +625,13 @@ babel-plugin-transform-decorators@^6.24.1:
|
||||
babel-template "^6.24.1"
|
||||
babel-types "^6.24.1"
|
||||
|
||||
babel-plugin-transform-do-expressions@^6.5.0:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-do-expressions/-/babel-plugin-transform-do-expressions-6.22.0.tgz#28ccaf92812d949c2cd1281f690c8fdc468ae9bb"
|
||||
dependencies:
|
||||
babel-plugin-syntax-do-expressions "^6.8.0"
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-es2015-arrow-functions@^6.22.0, babel-plugin-transform-es2015-arrow-functions@^6.5.0, babel-plugin-transform-es2015-arrow-functions@^6.5.2, babel-plugin-transform-es2015-arrow-functions@^6.8.0:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221"
|
||||
@@ -789,7 +812,7 @@ babel-plugin-transform-es3-property-literals@^6.5.0, babel-plugin-transform-es3-
|
||||
dependencies:
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-exponentiation-operator@^6.24.1:
|
||||
babel-plugin-transform-exponentiation-operator@^6.24.1, babel-plugin-transform-exponentiation-operator@^6.5.0:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-exponentiation-operator/-/babel-plugin-transform-exponentiation-operator-6.24.1.tgz#2ab0c9c7f3098fa48907772bb813fe41e8de3a0e"
|
||||
dependencies:
|
||||
@@ -797,7 +820,7 @@ babel-plugin-transform-exponentiation-operator@^6.24.1:
|
||||
babel-plugin-syntax-exponentiation-operator "^6.8.0"
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-export-extensions@^6.22.0:
|
||||
babel-plugin-transform-export-extensions@^6.22.0, babel-plugin-transform-export-extensions@^6.5.0:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-export-extensions/-/babel-plugin-transform-export-extensions-6.22.0.tgz#53738b47e75e8218589eea946cbbd39109bbe653"
|
||||
dependencies:
|
||||
@@ -811,6 +834,13 @@ babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-str
|
||||
babel-plugin-syntax-flow "^6.18.0"
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-function-bind@^6.5.2:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-function-bind/-/babel-plugin-transform-function-bind-6.22.0.tgz#c6fb8e96ac296a310b8cf8ea401462407ddf6a97"
|
||||
dependencies:
|
||||
babel-plugin-syntax-function-bind "^6.8.0"
|
||||
babel-runtime "^6.22.0"
|
||||
|
||||
babel-plugin-transform-object-assign@^6.5.0:
|
||||
version "6.22.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-assign/-/babel-plugin-transform-object-assign-6.22.0.tgz#f99d2f66f1a0b0d498e346c5359684740caa20ba"
|
||||
@@ -990,6 +1020,19 @@ babel-preset-jest@^20.0.1:
|
||||
dependencies:
|
||||
babel-plugin-jest-hoist "^20.0.1"
|
||||
|
||||
babel-preset-react-native-stage-0@^1.0.1:
|
||||
version "1.0.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-react-native-stage-0/-/babel-preset-react-native-stage-0-1.0.1.tgz#d5f5f685575471ef756a49f191b193269f74306e"
|
||||
dependencies:
|
||||
babel-plugin-syntax-trailing-function-commas "^6.5.0"
|
||||
babel-plugin-transform-class-constructor-call "^6.6.5"
|
||||
babel-plugin-transform-decorators-legacy "^1.3.4"
|
||||
babel-plugin-transform-do-expressions "^6.5.0"
|
||||
babel-plugin-transform-exponentiation-operator "^6.5.0"
|
||||
babel-plugin-transform-export-extensions "^6.5.0"
|
||||
babel-plugin-transform-function-bind "^6.5.2"
|
||||
babel-preset-react-native "^1.5.6"
|
||||
|
||||
babel-preset-react-native-syntax@^1.0.0:
|
||||
version "1.0.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-react-native-syntax/-/babel-preset-react-native-syntax-1.0.0.tgz#e61abf0a6ab73e2c0dd503ee1ad4f07b30253705"
|
||||
@@ -1001,7 +1044,7 @@ babel-preset-react-native-syntax@^1.0.0:
|
||||
babel-plugin-syntax-object-rest-spread "^6.13.0"
|
||||
babel-plugin-syntax-trailing-function-commas "^6.13.0"
|
||||
|
||||
babel-preset-react-native@^1.9.1, babel-preset-react-native@^1.9.2:
|
||||
babel-preset-react-native@^1.5.6, babel-preset-react-native@^1.9.1, babel-preset-react-native@^1.9.2:
|
||||
version "1.9.2"
|
||||
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.2.tgz#b22addd2e355ff3b39671b79be807e52dfa145f2"
|
||||
dependencies:
|
||||
@@ -1085,14 +1128,14 @@ babel-register@^6.18.0, babel-register@^6.24.1:
|
||||
mkdirp "^0.5.1"
|
||||
source-map-support "^0.4.2"
|
||||
|
||||
babel-runtime@^6.0.0, babel-runtime@^6.18.0, babel-runtime@^6.20.0, babel-runtime@^6.22.0:
|
||||
babel-runtime@^6.0.0, babel-runtime@^6.18.0, babel-runtime@^6.2.0, babel-runtime@^6.20.0, babel-runtime@^6.22.0:
|
||||
version "6.23.0"
|
||||
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.23.0.tgz#0a9489f144de70efb3ce4300accdb329e2fc543b"
|
||||
dependencies:
|
||||
core-js "^2.4.0"
|
||||
regenerator-runtime "^0.10.0"
|
||||
|
||||
babel-template@^6.16.0, babel-template@^6.24.1:
|
||||
babel-template@^6.16.0, babel-template@^6.24.1, babel-template@^6.3.0:
|
||||
version "6.24.1"
|
||||
resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.24.1.tgz#04ae514f1f93b3a2537f2a0f60a5a45fb8308333"
|
||||
dependencies:
|
||||
@@ -3443,13 +3486,13 @@ mime-db@~1.23.0:
|
||||
version "1.23.0"
|
||||
resolved "https://registry.yarnpkg.com/mime-db/-/mime-db-1.23.0.tgz#a31b4070adaea27d732ea333740a64d0ec9a6659"
|
||||
|
||||
mime-types@2.1.11:
|
||||
mime-types@2.1.11, mime-types@~2.1.7:
|
||||
version "2.1.11"
|
||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.11.tgz#c259c471bda808a85d6cd193b430a5fae4473b3c"
|
||||
dependencies:
|
||||
mime-db "~1.23.0"
|
||||
|
||||
mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.15, mime-types@~2.1.6, mime-types@~2.1.7, mime-types@~2.1.9:
|
||||
mime-types@^2.1.12, mime-types@~2.1.11, mime-types@~2.1.15, mime-types@~2.1.6, mime-types@~2.1.9:
|
||||
version "2.1.15"
|
||||
resolved "https://registry.yarnpkg.com/mime-types/-/mime-types-2.1.15.tgz#a4ebf5064094569237b8cf70046776d09fc92aed"
|
||||
dependencies:
|
||||
@@ -4294,7 +4337,7 @@ replace-ext@0.0.1:
|
||||
version "0.0.1"
|
||||
resolved "https://registry.yarnpkg.com/replace-ext/-/replace-ext-0.0.1.tgz#29bbd92078a739f0bcce2b4ee41e837953522924"
|
||||
|
||||
request@2.79.0:
|
||||
request@2.79.0, request@^2.79.0:
|
||||
version "2.79.0"
|
||||
resolved "https://registry.yarnpkg.com/request/-/request-2.79.0.tgz#4dfe5bf6be8b8cdc37fcf93e04b65577722710de"
|
||||
dependencies:
|
||||
@@ -4319,7 +4362,7 @@ request@2.79.0:
|
||||
tunnel-agent "~0.4.1"
|
||||
uuid "^3.0.0"
|
||||
|
||||
request@^2.79.0, request@^2.81.0:
|
||||
request@^2.81.0:
|
||||
version "2.81.0"
|
||||
resolved "https://registry.yarnpkg.com/request/-/request-2.81.0.tgz#c6928946a0e06c5f8d6f8a9333469ffda46298a0"
|
||||
dependencies:
|
||||
|
||||
Reference in New Issue
Block a user