-87 Removals
+105 Additions
{{
"name": "cra-version-one-x", "name": "cra-version-two-x",
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"dependencies": { "dependencies": {
"autoprefixer": "7.1.6", "@babel/core": "7.1.0",
"babel-core": "6.26.0", "@svgr/webpack": "2.4.1",
"babel-eslint": "7.2.3", "babel-core": "7.0.0-bridge.0",
"babel-jest": "20.0.3", "babel-eslint": "9.0.0",
"babel-loader": "7.1.2", "babel-jest": "23.6.0",
"babel-preset-react-app": "^3.1.2", "babel-loader": "8.0.4",
"babel-runtime": "6.26.0", "babel-plugin-named-asset-import": "^0.2.2",
"case-sensitive-paths-webpack-plugin": "2.1.1", "babel-preset-react-app": "^5.0.2",
"chalk": "1.1.3", "bfj": "6.1.1",
"css-loader": "0.28.7", "case-sensitive-paths-webpack-plugin": "2.1.2",
"dotenv": "4.0.0", "chalk": "2.4.1",
"css-loader": "1.0.0",
"dotenv": "6.0.0",
"dotenv-expand": "4.2.0", "dotenv-expand": "4.2.0",
"eslint": "4.10.0", "eslint": "5.6.0",
"eslint-config-react-app": "^2.1.0", "eslint-config-react-app": "^3.0.3",
"eslint-loader": "1.9.0", "eslint-loader": "2.1.1",
"eslint-plugin-flowtype": "2.39.1", "eslint-plugin-flowtype": "2.50.1",
"eslint-plugin-import": "2.8.0", "eslint-plugin-import": "2.14.0",
"eslint-plugin-jsx-a11y": "5.1.1", "eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-react": "7.4.0", "eslint-plugin-react": "7.11.1",
"extract-text-webpack-plugin": "3.0.2", "file-loader": "2.0.0",
"file-loader": "1.1.5", "fs-extra": "7.0.0",
"fs-extra": "3.0.1", "html-webpack-plugin": "4.0.0-alpha.2",
"html-webpack-plugin": "2.29.0", "identity-obj-proxy": "3.0.0",
"jest": "20.0.4", "jest": "23.6.0",
"object-assign": "4.1.1", "jest-pnp-resolver": "1.0.1",
"postcss-flexbugs-fixes": "3.2.0", "jest-resolve": "23.6.0",
"postcss-loader": "2.0.8", "mini-css-extract-plugin": "0.4.3",
"promise": "8.0.1", "optimize-css-assets-webpack-plugin": "5.0.1",
"raf": "3.4.0", "pnp-webpack-plugin": "1.1.0",
"postcss-flexbugs-fixes": "4.1.0",
"postcss-loader": "3.0.0",
"postcss-preset-env": "6.0.6",
"postcss-safe-parser": "4.0.1",
"react": "^16.5.2", "react": "^16.5.2",
"react-dev-utils": "^5.0.2", "react-app-polyfill": "^0.1.3",
"react-dev-utils": "^6.0.3",
"react-dom": "^16.5.2", "react-dom": "^16.5.2",
"resolve": "1.6.0", "resolve": "1.8.1",
"style-loader": "0.19.0", "sass-loader": "7.1.0",
"sw-precache-webpack-plugin": "0.11.4", "style-loader": "0.23.0",
"url-loader": "0.6.2", "terser-webpack-plugin": "1.1.0",
"webpack": "3.8.1", "url-loader": "1.1.1",
"webpack-dev-server": "2.11.3", "webpack": "4.19.1",
"webpack-manifest-plugin": "1.3.2", "webpack-dev-server": "3.1.9",
"whatwg-fetch": "2.0.3" "webpack-manifest-plugin": "2.0.4",
"workbox-webpack-plugin": "3.6.2"
}, },
"scripts": { "scripts": {
"start": "node scripts/start.js", "start": "node scripts/start.js",
"build": "node scripts/build.js", "build": "node scripts/build.js",
"test": "node scripts/test.js --env=jsdom" "test": "node scripts/test.js"
},
"eslintConfig": {
"extends": "react-app"
}, },
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"jest": { "jest": {
"collectCoverageFrom": [ "collectCoverageFrom": [
"src/**/*.{js,jsx,mjs}" "src/**/*.{js,jsx}"
], ],
"resolver": "jest-pnp-resolver",
"setupFiles": [ "setupFiles": [
"<rootDir>/config/polyfills.js" "react-app-polyfill/jsdom"
], ],
"testMatch": [ "testMatch": [
"<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}", "<rootDir>/src/**/__tests__/**/*.{js,jsx}",
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}" "<rootDir>/src/**/?(*.)(spec|test).{js,jsx}"
], ],
"testEnvironment": "node", "testEnvironment": "jsdom",
"testURL": "http://localhost", "testURL": "http://localhost",
"transform": { "transform": {
"^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest", "^.+\\.(js|jsx)$": "<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|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
}, },
"transformIgnorePatterns": [ "transformIgnorePatterns": [
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$" "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$",
"^.+\\.module\\.(css|sass|scss)$"
], ],
"moduleNameMapper": { "moduleNameMapper": {
"^react-native$": "react-native-web" "^react-native$": "react-native-web",
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
}, },
"moduleFileExtensions": [ "moduleFileExtensions": [
"web.js", "web.js",
"js", "js",
"json", "json",
"web.jsx", "web.jsx",
"jsx", "jsx",
"node", "node"
"mjs"
] ]
}, },
"babel": { "babel": {
"presets": [ "presets": [
"react-app" "react-app"
] ]
},
"eslintConfig": {
"extends": "react-app"
} }
}}
Editor
Original Text
Changed Text