This commit is contained in:
2019-07-05 23:43:35 +02:00
parent ddfa81a458
commit 4db704759e
65 changed files with 13 additions and 3581 deletions

View File

@@ -1,16 +1,17 @@
{ {
"private": true, "private": true,
"workspaces": [ "workspaces": [
"demo", "packages/*"
"lib",
"tests"
], ],
"scripts": { "scripts": {
"postinstall": "lerna bootstrap", "postinstall": "lerna bootstrap",
"demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios", "demo:ios": "lerna run --scope=react-native-debug-console-demo --stream ios",
"demo:web": "lerna run --scope=react-native-debug-console-demo --stream web" "demo:web": "lerna run --scope=react-native-debug-console-demo --stream web",
"test": "lerna run --stream test"
}, },
"devDependencies": { "devDependencies": {
"lerna": "^3.0.3" "lerna": "^3.0.3",
"jest": "^24.8.0",
"react-test-renderer": "^16.8.6"
} }
} }

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 7.0 KiB

After

Width:  |  Height:  |  Size: 7.0 KiB

View File

@@ -0,0 +1,3 @@
const config = require('../babel.config');
module.exports = config;

View File

@@ -6,7 +6,6 @@ const path = require('path');
module.exports = { module.exports = {
watchFolders: [ watchFolders: [
__dirname, __dirname,
path.join(__dirname, '..', 'lib'), path.join(__dirname, '..', '..', 'node_modules'),
path.join(__dirname, '..', 'node_modules'),
] ]
}; };

View File

@@ -0,0 +1,3 @@
const config = require('../babel.config');
module.exports = config;

View File

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

View File

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 3.0 KiB

View File

Before

Width:  |  Height:  |  Size: 8.3 KiB

After

Width:  |  Height:  |  Size: 8.3 KiB

View File

Before

Width:  |  Height:  |  Size: 9.6 KiB

After

Width:  |  Height:  |  Size: 9.6 KiB

View File

Before

Width:  |  Height:  |  Size: 6.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

View File

Before

Width:  |  Height:  |  Size: 2.8 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.4 KiB

View File

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 6.2 KiB

View File

@@ -1,13 +0,0 @@
module.exports = function(api) {
api.cache(true);
return {
presets: ['babel-preset-expo'],
plugins: [
[require.resolve('babel-plugin-module-resolver'), {
alias: {
'@babel/runtime': '../node_modules/@babel/runtime',
}
}]
]
};
};

View File

@@ -1,13 +0,0 @@
{
"name": "tests",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"test": "jest"
},
"devDependencies": {
"jest": "^24.8.0",
"react-test-renderer": "^16.8.6"
}
}

File diff suppressed because it is too large Load Diff