fix package.json
This commit is contained in:
parent
1c8b5d2e20
commit
de826c19fa
|
@ -94,15 +94,15 @@
|
||||||
"testEnvironment": "node",
|
"testEnvironment": "node",
|
||||||
"testURL": "http://localhost",
|
"testURL": "http://localhost",
|
||||||
"transform": {
|
"transform": {
|
||||||
".+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
|
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",
|
||||||
".+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
|
||||||
"(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
"^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
|
||||||
},
|
},
|
||||||
"transformIgnorePatterns": [
|
"transformIgnorePatterns": [
|
||||||
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
|
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"
|
||||||
],
|
],
|
||||||
"moduleNameMapper": {
|
"moduleNameMapper": {
|
||||||
"react-native$": "react-native-web"
|
"^react-native$": "react-native-web"
|
||||||
},
|
},
|
||||||
"moduleFileExtensions": [
|
"moduleFileExtensions": [
|
||||||
"web.js",
|
"web.js",
|
||||||
|
|
Loading…
Reference in New Issue