moved
11
package.json
@@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 7.0 KiB After Width: | Height: | Size: 7.0 KiB |
3
packages/demo/babel.config.js
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
const config = require('../babel.config');
|
||||||
|
|
||||||
|
module.exports = config;
|
||||||
@@ -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'),
|
|
||||||
]
|
]
|
||||||
};
|
};
|
||||||
3
packages/lib/babel.config.js
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
const config = require('../babel.config');
|
||||||
|
|
||||||
|
module.exports = config;
|
||||||
|
Before Width: | Height: | Size: 5.9 KiB After Width: | Height: | Size: 5.9 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 5.2 KiB After Width: | Height: | Size: 5.2 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 8.3 KiB After Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 9.6 KiB |
|
Before Width: | Height: | Size: 6.9 KiB After Width: | Height: | Size: 6.9 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 6.2 KiB |
@@ -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',
|
|
||||||
}
|
|
||||||
}]
|
|
||||||
]
|
|
||||||
};
|
|
||||||
};
|
|
||||||
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||