mirror of
https://github.com/morten-olsen/react-native-debug-console.git
synced 2026-02-08 00:36:26 +01:00
cleanup
This commit is contained in:
14
demo/App.js
14
demo/App.js
@@ -29,6 +29,14 @@ xhr = new XMLHttpRequest();
|
||||
xhr.open('GET', 'https://google.com/sdfsfsdfsfdf');
|
||||
xhr.send();
|
||||
|
||||
|
||||
console.log({
|
||||
hello: {
|
||||
world: 1,
|
||||
earth: 2,
|
||||
},
|
||||
});
|
||||
|
||||
AsyncStorage.setItem('a', 'b');
|
||||
AsyncStorage.setItem('b', 'c');
|
||||
AsyncStorage.setItem('c', 'd');
|
||||
@@ -107,12 +115,12 @@ export default class App extends React.Component {
|
||||
/>
|
||||
<View style={{ height: 10 }} />
|
||||
</View>
|
||||
{/* <DevTool
|
||||
<DevTool
|
||||
style={{
|
||||
flex: 1,
|
||||
}}
|
||||
/> */}
|
||||
<DevToolModal />
|
||||
/>
|
||||
<DevToolModal storage={AsyncStorage} />
|
||||
</KeyboardAvoidingView>
|
||||
</SafeAreaView>
|
||||
);
|
||||
|
||||
@@ -3,9 +3,8 @@ module.exports = function(api) {
|
||||
return {
|
||||
presets: ['babel-preset-expo'],
|
||||
plugins: [
|
||||
['module-resolver', {
|
||||
[require.resolve('babel-plugin-module-resolver'), {
|
||||
alias: {
|
||||
//'react-native-debug-console': '../lib',
|
||||
'@babel/runtime': '../node_modules/@babel/runtime',
|
||||
}
|
||||
}]
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
"postinstall": "expo-yarn-workspaces postinstall"
|
||||
},
|
||||
"dependencies": {
|
||||
"@react-native-community/async-storage": "^1.5.0",
|
||||
"expo": "^33.0.0",
|
||||
"react": "16.8.3",
|
||||
"react-dom": "^16.8.6",
|
||||
@@ -24,7 +23,7 @@
|
||||
"babel-preset-expo": "^5.1.1",
|
||||
"expo-cli": "^2.21.2",
|
||||
"expo-yarn-workspaces": "^1.2.0",
|
||||
"module-resolver": "^1.0.0"
|
||||
"babel-plugin-module-resolver": "^3.2.0"
|
||||
},
|
||||
"private": true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user