Reorganize monorepo structure

* Move all config files to './configs'
* Simplify './scripts' folder.
This commit is contained in:
Nicolas Gallagher
2022-06-30 23:17:16 -07:00
parent d31a8a1ec1
commit f81095442f
140 changed files with 110 additions and 98 deletions
+24
View File
@@ -0,0 +1,24 @@
'use strict';
const babelConfig = require('./babel.config.js');
module.exports = {
coveragePathIgnorePatterns: ['/node_modules/', '<rootDir>/packages/react-native-web/src/vendor/'],
modulePathIgnorePatterns: [
'<rootDir>/packages/benchmarks/',
'<rootDir>/packages/react-native-web-docs/',
'<rootDir>/packages/react-native-web-examples/',
'<rootDir>/packages/react-native-web/dist/'
],
rootDir: process.cwd(),
roots: ['<rootDir>/packages'],
snapshotFormat: {
printBasicPrototype: false
},
testEnvironment: 'node',
testMatch: ['**/__tests__/**/?(*-)+(spec|test).node.[jt]s?(x)'],
timers: 'fake',
transform: {
'\\.[jt]sx?$': ['babel-jest', babelConfig()]
}
};