This commit is contained in:
2019-08-22 23:56:01 +02:00
parent f961e92810
commit 6ad47ca2b2
2 changed files with 5 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "react-native-debug-console", "name": "react-native-debug-console",
"version": "2.0.0-alpha.7", "version": "2.0.0-alpha.9",
"main": "lib/index.js", "main": "lib/index.js",
"react-native": "lib/native.js", "react-native": "lib/native.js",
"repository": { "repository": {
@@ -9,7 +9,7 @@
"scripts": { "scripts": {
"test": "jest", "test": "jest",
"bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src", "bundle": "babel --copy-files --extensions '.ts,.tsx,.js' -d lib src",
"postpublish": "yarn run bundle" "prepublish": "yarn run bundle"
}, },
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -19,6 +19,7 @@
"peerDependencies": { "peerDependencies": {
"prop-types": "^15.6.0", "prop-types": "^15.6.0",
"react": "^16.8.3", "react": "^16.8.3",
"react-native": "^0.59.8" "react-native": "^0.59.8",
"react-native-webview": "^6.9.0"
} }
} }

View File

@@ -4,6 +4,7 @@ import {
View, View,
} from 'react-native'; } from 'react-native';
import styled from 'styled-components/native'; import styled from 'styled-components/native';
import { WebView } from 'react-native-webview';
import { import {
Emphasis, Emphasis,
Fixed, Fixed,
@@ -13,9 +14,6 @@ import Cell from '../../base/Cell';
import CellHeader from '../../base/CellHeader'; import CellHeader from '../../base/CellHeader';
import Tab from '../Tab'; import Tab from '../Tab';
const WebView = styled.WebView`
`;
const theme = { const theme = {
scheme: 'bright', scheme: 'bright',
author: 'chris kempson (http://chriskempson.com)', author: 'chris kempson (http://chriskempson.com)',