init
parents
Showing
.gitignore
0 → 100755
README.md
0 → 100755
config-overrides.js
0 → 100644
package.json
0 → 100644
{ | |||
"name": "jifutong_kaihu_h5", | |||
"version": "0.1.0", | |||
"private": true, | |||
"dependencies": { | |||
"@babel/core": "7.2.2", | |||
"@babel/plugin-transform-react-jsx": "^7.3.0", | |||
"@svgr/webpack": "4.1.0", | |||
"antd": "^3.18.1", | |||
"babel-core": "7.0.0-bridge.0", | |||
"babel-eslint": "9.0.0", | |||
"babel-jest": "23.6.0", | |||
"babel-loader": "8.0.5", | |||
"babel-plugin-import": "^1.11.0", | |||
"babel-plugin-named-asset-import": "^0.3.1", | |||
"babel-preset-react-app": "^7.0.1", | |||
"bfj": "6.1.1", | |||
"bundle-loader": "^0.5.6", | |||
"case-sensitive-paths-webpack-plugin": "2.2.0", | |||
"classnames": "^2.2.6", | |||
"clipboard": "^2.0.4", | |||
"css-loader": "1.0.0", | |||
"cssnano": "^4.1.10", | |||
"customize-cra": "^0.2.12", | |||
"dotenv": "6.0.0", | |||
"dotenv-expand": "4.2.0", | |||
"eslint": "5.12.0", | |||
"eslint-config-react-app": "^3.0.7", | |||
"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", | |||
"fork-ts-checker-webpack-plugin-alt": "0.4.14", | |||
"fs-extra": "7.0.1", | |||
"history": "^4.7.2", | |||
"html-webpack-plugin": "4.0.0-alpha.2", | |||
"i18next": "^15.0.5", | |||
"i18next-xhr-backend": "^2.0.1", | |||
"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", | |||
"js-sha1": "^0.6.0", | |||
"json-loader": "^0.5.7", | |||
"less": "^3.9.0", | |||
"less-loader": "^4.1.0", | |||
"md5": "^2.2.1", | |||
"mini-css-extract-plugin": "0.5.0", | |||
"mobx": "^5.9.4", | |||
"mobx-react": "^5.4.3", | |||
"mobx-react-router": "^4.0.7", | |||
"moment": "^2.24.0", | |||
"node-forge": "0.7.6", | |||
"node-sass": "^4.11.0", | |||
"numeral": "^2.0.6", | |||
"optimize-css-assets-webpack-plugin": "5.0.1", | |||
"pinyin": "^2.8.3", | |||
"pnp-webpack-plugin": "1.2.1", | |||
"postcss-aspect-ratio-mini": "^1.0.1", | |||
"postcss-cssnext": "^3.1.0", | |||
"postcss-flexbugs-fixes": "4.1.0", | |||
"postcss-loader": "3.0.0", | |||
"postcss-preset-env": "6.5.0", | |||
"postcss-px-to-viewport": "^1.1.0", | |||
"postcss-safe-parser": "4.0.1", | |||
"postcss-viewport-units": "^0.1.6", | |||
"postcss-write-svg": "^3.0.1", | |||
"prop-types": "^15.7.2", | |||
"query-string": "^6.3.0", | |||
"react": "^16.8.3", | |||
"react-app-polyfill": "^0.2.1", | |||
"react-app-rewired": "^2.1.0", | |||
"react-clipboard.js": "^2.0.7", | |||
"react-dev-utils": "^7.0.3", | |||
"react-document-title": "^2.0.3", | |||
"react-dom": "^16.8.3", | |||
"react-i18next": "^10.2.0", | |||
"react-loadable": "^5.5.0", | |||
"react-router-dom": "^4.3.1", | |||
"react-scripts": "^2.1.5", | |||
"react-signature-canvas": "^1.0.1", | |||
"react-slick": "^0.23.2", | |||
"react-tagsinput": "^3.19.0", | |||
"recharts": "^1.5.0", | |||
"resolve": "1.10.0", | |||
"sass-loader": "7.1.0", | |||
"slick-carousel": "^1.8.1", | |||
"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", | |||
"whatwg-fetch": "^3.0.0", | |||
"workbox-webpack-plugin": "3.6.3" | |||
}, | |||
"scripts": { | |||
"start": "react-app-rewired start", | |||
"build": "react-app-rewired build", | |||
"test": "react-app-rewired test" | |||
}, | |||
"eslintConfig": { | |||
"extends": "react-app" | |||
}, | |||
"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/jason/Documents/project/jifutong_kaihu_h5/node_modules/jest-watch-typeahead/filename.js", | |||
"/Users/jason/Documents/project/jifutong_kaihu_h5/node_modules/jest-watch-typeahead/testname.js" | |||
] | |||
}, | |||
"babel": { | |||
"presets": [ | |||
"react-app" | |||
] | |||
}, | |||
"browserslist": [ | |||
">0.2%", | |||
"not ie <= 11", | |||
"not op_mini all" | |||
] | |||
} |
public/favicon.ico
0 → 100644
20.6 KB
public/index.html
0 → 100755
public/manifest.json
0 → 100755
scripts/build.js
0 → 100644
scripts/start.js
0 → 100644
scripts/test.js
0 → 100644
src/App.js
0 → 100755
src/App.scss
0 → 100755
src/App.test.js
0 → 100755
src/assets/images/logo.png
0 → 100644
1.37 KB
src/assets/images/rt.png
0 → 100755
2.49 KB
src/common/constant.js
0 → 100644
src/common/fetch.js
0 → 100644
src/common/history.js
0 → 100644
src/common/message.js
0 → 100644
src/common/utils.js
0 → 100644
src/i18n/i18n.js
0 → 100644
src/i18n/zh_Hans.js
0 → 100644
src/i18n/zh_Hant.js
0 → 100644
src/index.js
0 → 100755
src/index.scss
0 → 100755
src/layout/basicLayout.js
0 → 100644
src/layout/basicLayout.scss
0 → 100644
src/logo.svg
0 → 100755
src/page/404.js
0 → 100644
src/page/login/login.js
0 → 100644
src/page/login/login.scss
0 → 100644
src/page/overall/overall.js
0 → 100644
This diff is collapsed.
src/router/navRouter.js
0 → 100644
src/router/rootRouter.js
0 → 100644
src/serviceWorker.js
0 → 100755
src/store/appStore.js
0 → 100644
src/store/index.js
0 → 100644
src/store/overallStore.js
0 → 100644
src/store/routerStore.js
0 → 100644
src/store/userStore.js
0 → 100644
yarn.lock
0 → 100644
This diff is collapsed.