fix package.json

This commit is contained in:
Victor Baranov 2018-12-20 14:05:25 +03:00
parent 1c8b5d2e20
commit de826c19fa
1 changed files with 4 additions and 4 deletions

View File

@ -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",