|
1 | 1 | { |
2 | | - "name": "redux-metamask-auth", |
| 2 | + "name": "react-auth-box", |
3 | 3 | "version": "0.1.0", |
4 | 4 | "private": true, |
5 | 5 | "devDependencies": { |
|
30 | 30 | "gzip-size": "3.0.0", |
31 | 31 | "html-webpack-plugin": "2.24.0", |
32 | 32 | "http-proxy-middleware": "0.17.2", |
33 | | - "jest": "17.0.2", |
| 33 | + "jest": "18.1.0", |
34 | 34 | "json-loader": "0.5.4", |
35 | 35 | "object-assign": "4.1.0", |
36 | 36 | "path-exists": "2.1.0", |
|
67 | 67 | "src/**/*.{js,jsx}" |
68 | 68 | ], |
69 | 69 | "setupFiles": [ |
70 | | - "<rootDir>\\config\\polyfills.js" |
| 70 | + "<rootDir>/config/polyfills.js" |
71 | 71 | ], |
72 | 72 | "testPathIgnorePatterns": [ |
73 | | - "<rootDir>[/\\\\](build|docs|node_modules)[/\\\\]" |
| 73 | + "<rootDir>[/](build|docs|node_modules)[/]" |
74 | 74 | ], |
75 | 75 | "testEnvironment": "node", |
76 | 76 | "testURL": "http://localhost", |
77 | 77 | "transform": { |
78 | | - "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest", |
79 | | - "^.+\\.css$": "<rootDir>\\config\\jest\\cssTransform.js", |
80 | | - "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>\\config\\jest\\fileTransform.js" |
| 78 | + "^.+/.(js|jsx)$": "<rootDir>/node_modules/babel-jest", |
| 79 | + "^.+/.css$": "<rootDir>/config/jest/cssTransform.js", |
| 80 | + "^(?!.*/.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" |
81 | 81 | }, |
82 | 82 | "transformIgnorePatterns": [ |
83 | | - "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$" |
| 83 | + "[/]node_modules[/].+/.(js|jsx)$" |
84 | 84 | ], |
85 | 85 | "moduleNameMapper": { |
86 | 86 | "^react-native$": "react-native-web" |
|
0 commit comments