-87 Removals
+105 Additions

Created by:httpjunkie

1{1{
2 "name": "cra-version-one-x",2 "name": "cra-version-two-x",
3 "version": "0.1.0",3 "version": "0.1.0",
4 "private": true,4 "private": true,
5 "dependencies": {5 "dependencies": {
6 "autoprefixer": "7.1.6",6 "@babel/core": "7.1.0",
7 "babel-core": "6.26.0",7 "@svgr/webpack": "2.4.1",
8 "babel-eslint": "7.2.3",8 "babel-core": "7.0.0-bridge.0",
9 "babel-jest": "20.0.3",9 "babel-eslint": "9.0.0",
10 "babel-loader": "7.1.2",10 "babel-jest": "23.6.0",
11 "babel-preset-react-app": "^3.1.2",11 "babel-loader": "8.0.4",
12 "babel-runtime": "6.26.0",12 "babel-plugin-named-asset-import": "^0.2.2",
13 "case-sensitive-paths-webpack-plugin": "2.1.1",13 "babel-preset-react-app": "^5.0.2",
14 "chalk": "1.1.3",14 "bfj": "6.1.1",
15 "css-loader": "0.28.7",15 "case-sensitive-paths-webpack-plugin": "2.1.2",
16 "dotenv": "4.0.0",16 "chalk": "2.4.1",
17 "css-loader": "1.0.0",
18 "dotenv": "6.0.0",
17 "dotenv-expand": "4.2.0",19 "dotenv-expand": "4.2.0",
18 "eslint": "4.10.0",20 "eslint": "5.6.0",
19 "eslint-config-react-app": "^2.1.0",21 "eslint-config-react-app": "^3.0.3",
20 "eslint-loader": "1.9.0",22 "eslint-loader": "2.1.1",
21 "eslint-plugin-flowtype": "2.39.1",23 "eslint-plugin-flowtype": "2.50.1",
22 "eslint-plugin-import": "2.8.0",24 "eslint-plugin-import": "2.14.0",
23 "eslint-plugin-jsx-a11y": "5.1.1",25 "eslint-plugin-jsx-a11y": "6.1.1",
24 "eslint-plugin-react": "7.4.0",26 "eslint-plugin-react": "7.11.1",
25 "extract-text-webpack-plugin": "3.0.2",27 "file-loader": "2.0.0",
26 "file-loader": "1.1.5",28 "fs-extra": "7.0.0",
27 "fs-extra": "3.0.1",29 "html-webpack-plugin": "4.0.0-alpha.2",
28 "html-webpack-plugin": "2.29.0",30 "identity-obj-proxy": "3.0.0",
29 "jest": "20.0.4",31 "jest": "23.6.0",
30 "object-assign": "4.1.1",32 "jest-pnp-resolver": "1.0.1",
31 "postcss-flexbugs-fixes": "3.2.0",33 "jest-resolve": "23.6.0",
32 "postcss-loader": "2.0.8",34 "mini-css-extract-plugin": "0.4.3",
33 "promise": "8.0.1",35 "optimize-css-assets-webpack-plugin": "5.0.1",
34 "raf": "3.4.0",36 "pnp-webpack-plugin": "1.1.0",
37 "postcss-flexbugs-fixes": "4.1.0",
38 "postcss-loader": "3.0.0",
39 "postcss-preset-env": "6.0.6",
40 "postcss-safe-parser": "4.0.1",
35 "react": "^16.5.2",41 "react": "^16.5.2",
36 "react-dev-utils": "^5.0.2",42 "react-app-polyfill": "^0.1.3",
43 "react-dev-utils": "^6.0.3",
37 "react-dom": "^16.5.2",44 "react-dom": "^16.5.2",
38 "resolve": "1.6.0",45 "resolve": "1.8.1",
39 "style-loader": "0.19.0",46 "sass-loader": "7.1.0",
40 "sw-precache-webpack-plugin": "0.11.4",47 "style-loader": "0.23.0",
41 "url-loader": "0.6.2",48 "terser-webpack-plugin": "1.1.0",
42 "webpack": "3.8.1",49 "url-loader": "1.1.1",
43 "webpack-dev-server": "2.11.3",50 "webpack": "4.19.1",
44 "webpack-manifest-plugin": "1.3.2",51 "webpack-dev-server": "3.1.9",
45 "whatwg-fetch": "2.0.3"52 "webpack-manifest-plugin": "2.0.4",
53 "workbox-webpack-plugin": "3.6.2"
46 },54 },
47 "scripts": {55 "scripts": {
48 "start": "node scripts/start.js",56 "start": "node scripts/start.js",
49 "build": "node scripts/build.js",57 "build": "node scripts/build.js",
50 "test": "node scripts/test.js --env=jsdom"58 "test": "node scripts/test.js"
59 },
60 "eslintConfig": {
61 "extends": "react-app"
51 },62 },
63 "browserslist": [
64 ">0.2%",
65 "not dead",
66 "not ie <= 11",
67 "not op_mini all"
68 ],
52 "jest": {69 "jest": {
53 "collectCoverageFrom": [70 "collectCoverageFrom": [
54 "src/**/*.{js,jsx,mjs}"71 "src/**/*.{js,jsx}"
55 ],72 ],
73 "resolver": "jest-pnp-resolver",
56 "setupFiles": [74 "setupFiles": [
57 "<rootDir>/config/polyfills.js"75 "react-app-polyfill/jsdom"
58 ],76 ],
59 "testMatch": [77 "testMatch": [
60 "<rootDir>/src/**/__tests__/**/*.{js,jsx,mjs}",78 "<rootDir>/src/**/__tests__/**/*.{js,jsx}",
61 "<rootDir>/src/**/?(*.)(spec|test).{js,jsx,mjs}"79 "<rootDir>/src/**/?(*.)(spec|test).{js,jsx}"
62 ],80 ],
63 "testEnvironment": "node",81 "testEnvironment": "jsdom",
64 "testURL": "http://localhost",82 "testURL": "http://localhost",
65 "transform": {83 "transform": {
66 "^.+\\.(js|jsx|mjs)$": "<rootDir>/node_modules/babel-jest",84 "^.+\\.(js|jsx)$": "<rootDir>/node_modules/babel-jest",
67 "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",85 "^.+\\.css$": "<rootDir>/config/jest/cssTransform.js",
68 "^(?!.*\\.(js|jsx|mjs|css|json)$)": "<rootDir>/config/jest/fileTransform.js"86 "^(?!.*\\.(js|jsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js"
69 },87 },
70 "transformIgnorePatterns": [88 "transformIgnorePatterns": [
71 "[/\\\\]node_modules[/\\\\].+\\.(js|jsx|mjs)$"89 "[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$",
90 "^.+\\.module\\.(css|sass|scss)$"
72 ],91 ],
73 "moduleNameMapper": {92 "moduleNameMapper": {
74 "^react-native$": "react-native-web"93 "^react-native$": "react-native-web",
94 "^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy"
75 },95 },
76 "moduleFileExtensions": [96 "moduleFileExtensions": [
77 "web.js",97 "web.js",
78 "js",98 "js",
79 "json",99 "json",
80 "web.jsx",100 "web.jsx",
81 "jsx",101 "jsx",
82 "node",102 "node"
83 "mjs"
84 ]103 ]
85 },104 },
86 "babel": {105 "babel": {
87 "presets": [106 "presets": [
88 "react-app"107 "react-app"
89 ]108 ]
90 },
91 "eslintConfig": {
92 "extends": "react-app"
93 }109 }
94}110}
Editor
Original Text
Changed Text
Recommended videos