添加ant-mobile按需加载以及自定义颜色
Showing
.history/.babelrc_20190415203802
0 → 100644
.history/.babelrc_20190415203912
0 → 100644
.history/.roadhogrc_20190415184624
0 → 100644
.history/.roadhogrc_20190415184638
0 → 100644
.history/config-overrides_20190415122743.js
0 → 100644
.history/config-overrides_20190415204811.js
0 → 100644
.history/config-overrides_20190415204819.js
0 → 100644
.history/config-overrides_20190415204834.js
0 → 100644
.history/config-overrides_20190415204935.js
0 → 100644
.history/config-overrides_20190415205048.js
0 → 100644
.history/config-overrides_20190415205126.js
0 → 100644
.history/config-overrides_20190415210048.js
0 → 100644
.history/config-overrides_20190415210102.js
0 → 100644
.history/config-overrides_20190415210127.js
0 → 100644
.history/config-overrides_20190415210336.js
0 → 100644
.history/config-overrides_20190415210459.js
0 → 100644
.history/config-overrides_20190415210553.js
0 → 100644
.history/config-overrides_20190415210906.js
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
.history/package_20190415141427.json
0 → 100644
.history/package_20190415151638.json
0 → 100644
.history/package_20190415151912.json
0 → 100644
.history/package_20190415152033.json
0 → 100644
.history/package_20190415152752.json
0 → 100644
.history/package_20190415181731.json
0 → 100644
.history/package_20190415182031.json
0 → 100644
.history/package_20190415185222.json
0 → 100644
.history/package_20190415201356.json
0 → 100644
.history/package_20190415201422.json
0 → 100644
.history/package_20190415202332.json
0 → 100644
.history/package_20190415203617.json
0 → 100644
.history/package_20190415204107.json
0 → 100644
.history/package_20190415204152.json
0 → 100644
.history/package_20190415204555.json
0 → 100644
.history/src/App_20190415154050.js
0 → 100644
.history/src/index_20190411103719.js
0 → 100644
.history/src/index_20190415204716.js
0 → 100644
config/env.js
0 → 100644
config/jest/cssTransform.js
0 → 100644
config/jest/fileTransform.js
0 → 100644
config/paths.js
0 → 100644
config/webpack.config.js
0 → 100644
This diff is collapsed.
Click to expand it.
config/webpackDevServer.config.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
{ | { | ||
"name": "mr-julyedu", | "name": "my-julyedu", | ||
"version": "0.1.0", | "version": "0.1.0", | ||
"private": true, | "private": true, | ||
"dependencies": { | "dependencies": { | ||
"@babel/core": "7.2.2", | |||
"@svgr/webpack": "4.1.0", | |||
"antd-mobile": "^2.2.11", | "antd-mobile": "^2.2.11", | ||
"customize-cra": "^0.2.12", | "babel-core": "7.0.0-bridge.0", | ||
"babel-eslint": "9.0.0", | |||
"babel-jest": "23.6.0", | |||
"babel-loader": "8.0.5", | |||
"babel-plugin-named-asset-import": "^0.3.1", | |||
"babel-preset-react-app": "^7.0.2", | |||
"bfj": "6.1.1", | |||
"case-sensitive-paths-webpack-plugin": "2.2.0", | |||
"css-loader": "1.0.0", | |||
"dotenv": "6.0.0", | |||
"dotenv-expand": "4.2.0", | |||
"eslint": "5.12.0", | |||
"eslint-config-react-app": "^3.0.8", | |||
"eslint-loader": "2.1.1", | |||
"eslint-plugin-flowtype": "2.50.1", | |||
"eslint-plugin-import": "2.14.0", | |||
"eslint-plugin-jsx-a11y": "6.1.2", | |||
"eslint-plugin-react": "7.12.4", | |||
"file-loader": "2.0.0", | |||
"fs-extra": "7.0.1", | |||
"html-webpack-plugin": "4.0.0-alpha.2", | |||
"identity-obj-proxy": "3.0.0", | |||
"jest": "23.6.0", | |||
"jest-pnp-resolver": "1.0.2", | |||
"jest-resolve": "23.6.0", | |||
"jest-watch-typeahead": "^0.2.1", | |||
"less": "^3.9.0", | |||
"less-loader": "^4.1.0", | |||
"mini-css-extract-plugin": "0.5.0", | |||
"optimize-css-assets-webpack-plugin": "5.0.1", | |||
"pnp-webpack-plugin": "1.2.1", | |||
"postcss-flexbugs-fixes": "4.1.0", | |||
"postcss-loader": "3.0.0", | |||
"postcss-preset-env": "6.5.0", | |||
"postcss-safe-parser": "4.0.1", | |||
"react": "^16.8.6", | "react": "^16.8.6", | ||
"react-app-rewired": "^2.1.1", | "react-app-polyfill": "^0.2.2", | ||
"react-dev-utils": "^8.0.0", | |||
"react-dom": "^16.8.6", | "react-dom": "^16.8.6", | ||
"react-scripts": "2.1.8" | "resolve": "1.10.0", | ||
"sass-loader": "7.1.0", | |||
"style-loader": "0.23.1", | |||
"terser-webpack-plugin": "1.2.2", | |||
"url-loader": "1.1.2", | |||
"webpack": "4.28.3", | |||
"webpack-dev-server": "3.1.14", | |||
"webpack-manifest-plugin": "2.0.4", | |||
"workbox-webpack-plugin": "3.6.3" | |||
}, | }, | ||
"scripts": { | "scripts": { | ||
"start": "react-app-rewired start", | "start": "node scripts/start.js", | ||
"build": "react-app-rewired build", | "build": "node scripts/build.js", | ||
"test": "react-scripts test", | "test": "node scripts/test.js" | ||
"eject": "react-scripts eject" | |||
}, | }, | ||
"eslintConfig": { | "eslintConfig": { | ||
"extends": "react-app" | "extends": "react-app" | ||
}, | }, | ||
"browserslist": [ | |||
">0.2%", | |||
"not dead", | |||
"not ie <= 11", | |||
"not op_mini all" | |||
], | |||
"jest": { | |||
"collectCoverageFrom": [ | |||
"src/**/*.{js,jsx,ts,tsx}", | |||
"!src/**/*.d.ts" | |||
], | |||
"resolver": "jest-pnp-resolver", | |||
"setupFiles": [ | |||
"react-app-polyfill/jsdom" | |||
], | |||
"testMatch": [ | |||
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | |||
"<rootDir>/src/**/?(*.)(spec|test).{js,jsx,ts,tsx}" | |||
], | |||
"testEnvironment": "jsdom", | |||
"testURL": "http://localhost", | |||
"transform": { | |||
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/babel-jest", | |||
"^.+\\.css$": "<rootDir>/config/jest/cssTransform.js", | |||
"^(?!.*\\.(js|jsx|ts|tsx|css|json)$)": "<rootDir>/config/jest/fileTransform.js" | |||
}, | |||
"transformIgnorePatterns": [ | |||
"[/\\\\]node_modules[/\\\\].+\\.(js|jsx|ts|tsx)$", | |||
"^.+\\.module\\.(css|sass|scss)$" | |||
], | |||
"moduleNameMapper": { | |||
"^react-native$": "react-native-web", | |||
"^.+\\.module\\.(css|sass|scss)$": "identity-obj-proxy" | |||
}, | |||
"moduleFileExtensions": [ | |||
"web.js", | |||
"js", | |||
"web.ts", | |||
"ts", | |||
"web.tsx", | |||
"tsx", | |||
"json", | |||
"web.jsx", | |||
"jsx", | |||
"node" | |||
], | |||
"watchPlugins": [ | |||
"/Users/baiguangyao/project/my-julyedu/node_modules/jest-watch-typeahead/filename.js", | |||
"/Users/baiguangyao/project/my-julyedu/node_modules/jest-watch-typeahead/testname.js" | |||
] | |||
}, | |||
"babel": { | "babel": { | ||
"presets": [ | |||
"react-app" | |||
], | |||
"plugins": [ | "plugins": [ | ||
[ | [ | ||
"import", | "import", | ||
... | @@ -30,17 +128,11 @@ | ... | @@ -30,17 +128,11 @@ |
] | ] | ||
] | ] | ||
}, | }, | ||
"browserslist": [ | |||
">0.2%", | |||
"not dead", | |||
"not ie <= 11", | |||
"not op_mini all" | |||
], | |||
"devDependencies": { | "devDependencies": { | ||
"babel-plugin-import": "^1.11.0", | "babel-plugin-import": "^1.11.0" | ||
"css-loader": "^2.1.1", | }, | ||
"less": "^3.9.0", | "theme": { | ||
"less-loader": "^4.1.0", | "brand-primary": "green", | ||
"style-loader": "^0.23.1" | "color-text-base": "#333" | ||
} | } | ||
} | } |
scripts/build.js
0 → 100644
scripts/start.js
0 → 100644
scripts/test.js
0 → 100644
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to comment