mirror of
https://github.com/zoriya/react-native-web.git
synced 2026-06-01 18:15:13 +00:00
Reorganize monorepo structure
* Move all config files to './configs' * Simplify './scripts' folder.
This commit is contained in:
@@ -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()]
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user