Commit e4795bc9 authored by Wietse Kuipers's avatar Wietse Kuipers
Browse files

Switch to airbnb style guide and upgrade some packages

parent db42a1e7
......@@ -23,7 +23,7 @@
"indent": [
"error",
2,
{"Switchcase": true}
{"SwitchCase": 1}
],
"linebreak-style": [
"error",
......
......@@ -13,5 +13,5 @@ New and improved ThaliApp
Ensure that the development server is started with `react-native start`.
Deploy the app on a running emulator or connected Android Phone with `react-native run-android`.
##Debugging
## Debugging
Open the console with `react-native log-android`.
......@@ -2,6 +2,6 @@ import * as types from './actionTypes';
export function login() {
return {
type: types.LOGIN
type: types.LOGIN,
};
}
import React, {Component} from 'react';
import {View, Text, TextInput, Button} from 'react-native';
import React, { Component } from 'react';
import { View, Text, TextInput, Button } from 'react-native';
export default class Login extends Component {
constructor(props) {
super(props);
this.state = {
username: '',
password: '',
};
}
render() {
const { loggedIn, login } = this.props;
console.log(loggedIn);
return (
<View>
<TextInput
placeholder="Username"
/>
<TextInput
placeholder="Password"
secureTextEntry={true}
/>
<Button title="Log in" onPress={login}/>
<Text>{loggedIn ? 'MEMES' : 'MMS'}</Text>
<TextInput
placeholder="Username"
/>
<TextInput
placeholder="Password"
secureTextEntry
/>
<Button title="Log in" onPress={login} />
<Text>{loggedIn ? 'MEMES' : 'MMS'}</Text>
</View>
);
}
......
import React,{Component} from 'react';
import React, { Component } from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import Login from '../components/Login';
import {bindActionCreators} from 'redux';
import * as ThaliAppActions from '../actions/ThaliAppActions';
import { connect } from 'react-redux';
class ThaliApp extends Component {
constructor(props) {
super(props);
}
render() {
const { state, actions } = this.props;
return (
<Login
loggedIn={state.loggedIn}
{...actions}
<Login
loggedIn={state.loggedIn}
{...actions}
/>
);
}
......@@ -22,9 +19,9 @@ class ThaliApp extends Component {
export default connect(
state => (
{state: state.login}
{ state: state.login }
),
dispatch => (
{ actions: bindActionCreators(ThaliAppActions, dispatch) }
),
(dispatch) => (
{actions: bindActionCreators(ThaliAppActions, dispatch)}
)
)(ThaliApp);
import React, {Component} from 'react';
import React, { Component } from 'react';
import { createStore, applyMiddleware, combineReducers } from 'redux';
import { Provider } from 'react-redux';
import thunk from 'redux-thunk';
......@@ -14,7 +14,7 @@ export default class App extends Component {
render() {
return (
<Provider store={store}>
<ThaliApp />
<ThaliApp />
</Provider>
);
}
......
import login from './login';
export {
login
login,
};
import * as types from '../actions/actionTypes';
const initialState = {
loggedIn: false
loggedIn: false,
};
export default function login(state = initialState, action = {}) {
console.log(state);
switch (action.type) {
case types.LOGIN:
console.log({...state, loggedIn: true});
return {...state, loggedIn: true};
return { ...state, loggedIn: true };
default:
return {...state};
return { ...state };
}
}
import {StyleSheet, Dimensions} from 'react-native';
import { StyleSheet, Dimensions } from 'react-native';
let magenta = '#E62272';
let deviceWidth = Dimensions.get('window').width;
let deviceHeigth = Dimensions.get('window').heigth;
let margin = 10;
const magenta = '#E62272';
const deviceWidth = Dimensions.get('window').width;
const deviceHeigth = Dimensions.get('window').heigth;
const margin = 10;
const styles = StyleSheet.create({
body : {
body: {
padding: 10,
flex: 1,
flexDirection: 'column',
alignItems: 'center'
alignItems: 'center',
},
bodyText: {
fontFamily: 'opensans',
},
textInput: {
alignSelf: 'stretch'
alignSelf: 'stretch',
},
logo: {
width: deviceWidth - margin,
resizeMode: 'contain'
resizeMode: 'contain',
},
button: {
color: magenta
}
color: magenta,
},
});
export {styles};
export { styles };
......@@ -219,7 +219,7 @@ babel-code-frame@^6.16.0, babel-code-frame@^6.22.0:
esutils "^2.0.2"
js-tokens "^3.0.0"
babel-core@^6.0.0, babel-core@^6.18.2, babel-core@^6.22.0, babel-core@^6.7.2:
babel-core@^6.0.0, babel-core@^6.21.0, babel-core@^6.22.0, babel-core@^6.7.2:
version "6.22.1"
resolved "https://registry.yarnpkg.com/babel-core/-/babel-core-6.22.1.tgz#9c5fd658ba1772d28d721f6d25d968fc7ae21648"
dependencies:
......@@ -253,7 +253,7 @@ babel-eslint@7.1.1, babel-eslint@^7.1.1:
babylon "^6.13.0"
lodash.pickby "^4.6.0"
babel-generator@^6.18.0, babel-generator@^6.19.0, babel-generator@^6.22.0:
babel-generator@^6.18.0, babel-generator@^6.21.0, babel-generator@^6.22.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-generator/-/babel-generator-6.22.0.tgz#d642bf4961911a8adc7c692b0c9297f325cda805"
dependencies:
......@@ -414,7 +414,7 @@ babel-plugin-syntax-object-rest-spread@^6.5.0, babel-plugin-syntax-object-rest-s
version "6.13.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-object-rest-spread/-/babel-plugin-syntax-object-rest-spread-6.13.0.tgz#fd6536f2bce13836ffa3a5458c4903a597bb3bf5"
babel-plugin-syntax-trailing-function-commas@^6.13.0, babel-plugin-syntax-trailing-function-commas@^6.5.0, babel-plugin-syntax-trailing-function-commas@^6.8.0:
babel-plugin-syntax-trailing-function-commas@^6.20.0, babel-plugin-syntax-trailing-function-commas@^6.5.0, babel-plugin-syntax-trailing-function-commas@^6.8.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-syntax-trailing-function-commas/-/babel-plugin-syntax-trailing-function-commas-6.22.0.tgz#ba0360937f8d06e40180a43fe0d5616fff532cf3"
......@@ -570,7 +570,7 @@ babel-plugin-transform-es3-property-literals@^6.5.0, babel-plugin-transform-es3-
dependencies:
babel-runtime "^6.22.0"
babel-plugin-transform-flow-strip-types@^6.18.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.7.0, babel-plugin-transform-flow-strip-types@^6.8.0:
babel-plugin-transform-flow-strip-types@^6.21.0, babel-plugin-transform-flow-strip-types@^6.5.0, babel-plugin-transform-flow-strip-types@^6.7.0, babel-plugin-transform-flow-strip-types@^6.8.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-flow-strip-types/-/babel-plugin-transform-flow-strip-types-6.22.0.tgz#84cb672935d43714fdc32bce84568d87441cf7cf"
dependencies:
......@@ -583,7 +583,7 @@ babel-plugin-transform-object-assign@^6.5.0:
dependencies:
babel-runtime "^6.22.0"
babel-plugin-transform-object-rest-spread@^6.19.0, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.6.5, babel-plugin-transform-object-rest-spread@^6.8.0:
babel-plugin-transform-object-rest-spread@^6.20.2, babel-plugin-transform-object-rest-spread@^6.5.0, babel-plugin-transform-object-rest-spread@^6.6.5, babel-plugin-transform-object-rest-spread@^6.8.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-plugin-transform-object-rest-spread/-/babel-plugin-transform-object-rest-spread-6.22.0.tgz#1d419b55e68d2e4f64a5ff3373bd67d73c8e83bc"
dependencies:
......@@ -624,7 +624,7 @@ babel-plugin-transform-strict-mode@^6.22.0:
babel-runtime "^6.22.0"
babel-types "^6.22.0"
babel-polyfill@^6.16.0:
babel-polyfill@^6.20.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-polyfill/-/babel-polyfill-6.22.0.tgz#1ac99ebdcc6ba4db1e2618c387b2084a82154a3b"
dependencies:
......@@ -714,7 +714,7 @@ babel-preset-jest@^18.0.0:
dependencies:
babel-plugin-jest-hoist "^18.0.0"
babel-preset-react-native@1.9.1, babel-preset-react-native@^1.9.0:
babel-preset-react-native@1.9.1, babel-preset-react-native@^1.9.1:
version "1.9.1"
resolved "https://registry.yarnpkg.com/babel-preset-react-native/-/babel-preset-react-native-1.9.1.tgz#ec8e378274410d78f550fa9f8edd70353f3bb2fe"
dependencies:
......@@ -760,7 +760,7 @@ babel-register@^6.18.0, babel-register@^6.22.0:
mkdirp "^0.5.1"
source-map-support "^0.4.2"
babel-runtime@^6.18.0, babel-runtime@^6.22.0:
babel-runtime@^6.18.0, babel-runtime@^6.20.0, babel-runtime@^6.22.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.22.0.tgz#1cf8b4ac67c77a4ddb0db2ae1f74de52ac4ca611"
dependencies:
......@@ -777,7 +777,7 @@ babel-template@^6.16.0, babel-template@^6.22.0:
babylon "^6.11.0"
lodash "^4.2.0"
babel-traverse@^6.15.0, babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-traverse@^6.22.0, babel-traverse@^6.22.1:
babel-traverse@^6.15.0, babel-traverse@^6.18.0, babel-traverse@^6.21.0, babel-traverse@^6.22.0, babel-traverse@^6.22.1:
version "6.22.1"
resolved "https://registry.yarnpkg.com/babel-traverse/-/babel-traverse-6.22.1.tgz#3b95cd6b7427d6f1f757704908f2fc9748a5f59f"
dependencies:
......@@ -791,7 +791,7 @@ babel-traverse@^6.15.0, babel-traverse@^6.18.0, babel-traverse@^6.19.0, babel-tr
invariant "^2.2.0"
lodash "^4.2.0"
babel-types@^6.15.0, babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.22.0:
babel-types@^6.15.0, babel-types@^6.18.0, babel-types@^6.19.0, babel-types@^6.21.0, babel-types@^6.22.0:
version "6.22.0"
resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.22.0.tgz#2a447e8d0ea25d2512409e4175479fd78cc8b1db"
dependencies:
......@@ -898,23 +898,17 @@ browser-resolve@^1.11.2:
dependencies:
resolve "1.1.7"
bser@1.0.2:
bser@1.0.2, bser@^1.0.2:
version "1.0.2"
resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.2.tgz#381116970b2a6deea5646dd15dd7278444b56169"
dependencies:
node-int64 "^0.4.0"
bser@^1.0.2:
version "1.0.3"
resolved "https://registry.yarnpkg.com/bser/-/bser-1.0.3.tgz#d63da19ee17330a0e260d2a34422b21a89520317"
dependencies:
node-int64 "^0.4.0"
buffer-shims@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/buffer-shims/-/buffer-shims-1.0.0.tgz#9978ce317388c649ad8793028c3477ef044a8b51"
builtin-modules@^1.0.0:
builtin-modules@^1.0.0, builtin-modules@^1.1.1:
version "1.1.1"
resolved "https://registry.yarnpkg.com/builtin-modules/-/builtin-modules-1.1.1.tgz#270f076c5a72c02f5b65a47df94c5fe3a278892f"
......@@ -1133,6 +1127,10 @@ connect@^2.8.3:
utils-merge "1.0.0"
vhost "~3.0.1"
contains-path@^0.1.0:
version "0.1.0"
resolved "https://registry.yarnpkg.com/contains-path/-/contains-path-0.1.0.tgz#fe8cf184ff6670b6baef01a9d4861a5cbec4120a"
content-type-parser@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/content-type-parser/-/content-type-parser-1.0.1.tgz#c3e56988c53c65127fb46d4032a3a900246fdc94"
......@@ -1227,6 +1225,10 @@ d@^0.1.1, d@~0.1.1:
dependencies:
es5-ext "~0.10.2"
damerau-levenshtein@^1.0.0:
version "1.0.3"
resolved "https://registry.yarnpkg.com/damerau-levenshtein/-/damerau-levenshtein-1.0.3.tgz#ae4f4ce0b62acae10ff63a01bb08f652f5213af2"
dashdash@^1.12.0:
version "1.14.1"
resolved "https://registry.yarnpkg.com/dashdash/-/dashdash-1.14.1.tgz#853cfa0f7cbe2fed5de20326b8dd581035f6e2f0"
......@@ -1237,6 +1239,12 @@ dateformat@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/dateformat/-/dateformat-2.0.0.tgz#2743e3abb5c3fc2462e527dca445e04e9f4dee17"
debug@2.2.0, debug@~2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
dependencies:
ms "0.7.1"
debug@2.3.3:
version "2.3.3"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.3.3.tgz#40c453e67e6e13c901ddec317af8986cda9eff8c"
......@@ -1249,12 +1257,6 @@ debug@^2.1.1, debug@^2.2.0:
dependencies:
ms "0.7.2"
debug@~2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/debug/-/debug-2.2.0.tgz#f87057e995b1a1f6ae6a4960664137bc56f039da"
dependencies:
ms "0.7.1"
decamelize@^1.0.0, decamelize@^1.1.1:
version "1.2.0"
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
......@@ -1326,7 +1328,7 @@ diff@^3.0.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/diff/-/diff-3.2.0.tgz#c9ce393a4b7cbd0b058a725c93df299027868ff9"
doctrine@^1.2.2:
doctrine@1.5.0, doctrine@^1.2.2:
version "1.5.0"
resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-1.5.0.tgz#379dce730f6166f76cefa4e6707a159b02c5a6fa"
dependencies:
......@@ -1479,6 +1481,54 @@ escope@^3.6.0:
esrecurse "^4.1.0"
estraverse "^4.1.1"
eslint-config-airbnb-base@^11.0.1:
version "11.1.0"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb-base/-/eslint-config-airbnb-base-11.1.0.tgz#dc9b3ec70b8c74dcbe6d6257c9da3992c39ca2ca"
eslint-config-airbnb@^14.0.0:
version "14.0.0"
resolved "https://registry.yarnpkg.com/eslint-config-airbnb/-/eslint-config-airbnb-14.0.0.tgz#bfd87a71102ba3ee19c3733357000b3d5e39790f"
dependencies:
eslint-config-airbnb-base "^11.0.1"
eslint-import-resolver-node@^0.2.0:
version "0.2.3"
resolved "https://registry.yarnpkg.com/eslint-import-resolver-node/-/eslint-import-resolver-node-0.2.3.tgz#5add8106e8c928db2cba232bcd9efa846e3da16c"
dependencies:
debug "^2.2.0"
object-assign "^4.0.1"
resolve "^1.1.6"
eslint-module-utils@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/eslint-module-utils/-/eslint-module-utils-2.0.0.tgz#a6f8c21d901358759cdc35dbac1982ae1ee58bce"
dependencies:
debug "2.2.0"
pkg-dir "^1.0.0"
eslint-plugin-import@^2.2.0:
version "2.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-import/-/eslint-plugin-import-2.2.0.tgz#72ba306fad305d67c4816348a4699a4229ac8b4e"
dependencies:
builtin-modules "^1.1.1"
contains-path "^0.1.0"
debug "^2.2.0"
doctrine "1.5.0"
eslint-import-resolver-node "^0.2.0"
eslint-module-utils "^2.0.0"
has "^1.0.1"
lodash.cond "^4.3.0"
minimatch "^3.0.3"
pkg-up "^1.0.0"
eslint-plugin-jsx-a11y@^3.0.2:
version "3.0.2"
resolved "https://registry.yarnpkg.com/eslint-plugin-jsx-a11y/-/eslint-plugin-jsx-a11y-3.0.2.tgz#9f0eabcafde3d2a2600d96a66adb90d099e841fe"
dependencies:
damerau-levenshtein "^1.0.0"
jsx-ast-utils "^1.0.0"
object-assign "^4.0.1"
eslint-plugin-react-native@^2.2.1:
version "2.2.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-react-native/-/eslint-plugin-react-native-2.2.1.tgz#9da90b76b234e6a71b06e2b9466b76f9017c16e0"
......@@ -1533,9 +1583,9 @@ eslint@3.12.0:
text-table "~0.2.0"
user-home "^2.0.0"
eslint@^3.14.1:
version "3.14.1"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.14.1.tgz#8a62175f2255109494747a1b25128d97b8eb3d97"
eslint@^3.15.0:
version "3.15.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.15.0.tgz#bdcc6a6c5ffe08160e7b93c066695362a91e30f2"
dependencies:
babel-code-frame "^6.16.0"
chalk "^1.1.3"
......@@ -1543,7 +1593,7 @@ eslint@^3.14.1:
debug "^2.1.1"
doctrine "^1.2.2"
escope "^3.6.0"
espree "^3.3.1"
espree "^3.4.0"
estraverse "^4.2.0"
esutils "^2.0.2"
file-entry-cache "^2.0.0"
......@@ -1572,7 +1622,7 @@ eslint@^3.14.1:
text-table "~0.2.0"
user-home "^2.0.0"
espree@^3.3.1:
espree@^3.3.1, espree@^3.4.0:
version "3.4.0"
resolved "https://registry.yarnpkg.com/espree/-/espree-3.4.0.tgz#41656fa5628e042878025ef467e78f125cb86e1d"
dependencies:
......@@ -1825,7 +1875,7 @@ fs.realpath@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"
function-bind@^1.1.0:
function-bind@^1.0.2, function-bind@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/function-bind/-/function-bind-1.1.0.tgz#16176714c801798e4e8f2cf7f7529467bb4a5771"
......@@ -2001,6 +2051,12 @@ has-unicode@^2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
has@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28"
dependencies:
function-bind "^1.0.2"
hawk@~3.1.3:
version "3.1.3"
resolved "https://registry.yarnpkg.com/hawk/-/hawk-3.1.3.tgz#078444bd7c1640b0fe540d2c9b73d59678e8e1c4"
......@@ -2437,9 +2493,9 @@ jest-file-exists@^17.0.0:
version "17.0.0"
resolved "https://registry.yarnpkg.com/jest-file-exists/-/jest-file-exists-17.0.0.tgz#7f63eb73a1c43a13f461be261768b45af2cdd169"
jest-haste-map@17.0.3:
version "17.0.3"
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-17.0.3.tgz#5232783e70577217b6b17d2a1c1766637a1d2fbd"
jest-haste-map@18.0.0:
version "18.0.0"
resolved "https://registry.yarnpkg.com/jest-haste-map/-/jest-haste-map-18.0.0.tgz#707d3b5ae3bcbda971c39e8b911d20ad8502c748"
dependencies:
fb-watchman "^1.9.0"
graceful-fs "^4.1.6"
......@@ -2658,7 +2714,7 @@ jsprim@^1.2.2:
json-schema "0.2.3"
verror "1.3.6"
jsx-ast-utils@^1.3.4:
jsx-ast-utils@^1.0.0, jsx-ast-utils@^1.3.4:
version "1.4.0"
resolved "https://registry.yarnpkg.com/jsx-ast-utils/-/jsx-ast-utils-1.4.0.tgz#5afe38868f56bc8cc7aeaef0100ba8c75bd12591"
dependencies:
......@@ -2792,6 +2848,10 @@ lodash.clonedeep@^3.0.0:
lodash._baseclone "^3.0.0"
lodash._bindcallback "^3.0.0"
lodash.cond@^4.3.0:
version "4.5.2"
resolved "https://registry.yarnpkg.com/lodash.cond/-/lodash.cond-4.5.2.tgz#f471a1da486be60f6ab955d17115523dd1d255d5"
lodash.escape@^3.0.0:
version "3.2.0"
resolved "https://registry.yarnpkg.com/lodash.escape/-/lodash.escape-3.2.0.tgz#995ee0dc18c1b48cc92effae71a10aab5b487698"
......@@ -3271,6 +3331,18 @@ pinkie@^2.0.0:
version "2.0.4"
resolved "https://registry.yarnpkg.com/pinkie/-/pinkie-2.0.4.tgz#72556b80cfa0d48a974e80e77248e80ed4f7f870"
pkg-dir@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/pkg-dir/-/pkg-dir-1.0.0.tgz#7a4b508a8d5bb2d629d447056ff4e9c9314cf3d4"
dependencies:
find-up "^1.0.0"
pkg-up@^1.0.0:
version "1.0.0"
resolved "https://registry.yarnpkg.com/pkg-up/-/pkg-up-1.0.0.tgz#3e08fb461525c4421624a33b9f7e6d0af5b05a26"
dependencies:
find-up "^1.0.0"
pkginfo@0.3.x:
version "0.3.1"
resolved "https://registry.yarnpkg.com/pkginfo/-/pkginfo-0.3.1.tgz#5b29f6a81f70717142e09e765bbeab97b4f81e21"
......@@ -3398,27 +3470,27 @@ react-native-cli@^2.0.1:
prompt "^0.2.14"
semver "^5.0.3"
react-native@0.40.0:
version "0.40.0"
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.40.0.tgz#ca7b86a8e8fbc7653634ad47ca2ffd69fdf18ad5"
react-native@^0.41.1:
version "0.41.1"
resolved "https://registry.yarnpkg.com/react-native/-/react-native-0.41.1.tgz#478edc36f5d41676264e98e9b1179e10a0a3b803"
dependencies:
absolute-path "^0.0.0"
art "^0.10.0"
async "^2.0.1"
babel-core "^6.18.2"
babel-generator "^6.19.0"
babel-core "^6.21.0"
babel-generator "^6.21.0"
babel-plugin-external-helpers "^6.18.0"
babel-plugin-syntax-trailing-function-commas "^6.13.0"
babel-plugin-transform-flow-strip-types "^6.18.0"
babel-plugin-transform-object-rest-spread "^6.19.0"
babel-polyfill "^6.16.0"
babel-plugin-syntax-trailing-function-commas "^6.20.0"
babel-plugin-transform-flow-strip-types "^6.21.0"
babel-plugin-transform-object-rest-spread "^6.20.2"
babel-polyfill "^6.20.0"
babel-preset-es2015-node "^6.1.1"
babel-preset-fbjs "^2.1.0"
babel-preset-react-native "^1.9.0"
babel-preset-react-native "^1.9.1"
babel-register "^6.18.0"
babel-runtime "^6.18.0"
babel-traverse "^6.19.0"
babel-types "^6.19.0"
babel-runtime "^6.20.0"
babel-traverse "^6.21.0"
babel-types "^6.21.0"
babylon "^6.14.1"
base64-js "^1.1.2"
bser "^1.0.2"
......@@ -3438,7 +3510,7 @@ react-native@0.40.0:
immutable "~3.7.6"
imurmurhash "^0.1.4"
inquirer "^0.12.0"
jest-haste-map "17.0.3"
jest-haste-map "18.0.0"
joi "^6.6.1"
json-stable-stringify "^1.0.1"
json5 "^0.4.0"
......@@ -3453,7 +3525,6 @@ react-native@0.40.0:
opn "^3.0.2"
optimist "^0.6.1"
plist "^1.2.0"
progress "^1.1.8"
promise "^7.1.1"
react-clone-referenced-element "^1.0.1"
react-timer-mixin "^0.13.2"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment