init
parents
Showing
README.md
0 → 100644
config/env.js
0 → 100644
config/jest/cssTransform.js
0 → 100644
config/jest/fileTransform.js
0 → 100644
config/modules.js
0 → 100644
config/paths.js
0 → 100644
config/pnpTs.js
0 → 100644
config/webpack.config.js
0 → 100644
This diff is collapsed.
Click to expand it.
config/webpackDevServer.config.js
0 → 100644
issues.md
0 → 100644
package.json
0 → 100644
{ | ||
"name": "frontend", | ||
"version": "0.1.0", | ||
"private": true, | ||
"dependencies": { | ||
"@antv/data-set": "^0.10.2", | ||
"@babel/core": "7.7.4", | ||
"@svgr/webpack": "4.3.3", | ||
"@testing-library/jest-dom": "^4.2.4", | ||
"@testing-library/react": "^9.3.2", | ||
"@testing-library/user-event": "^7.1.2", | ||
"@types/classnames": "^2.2.9", | ||
"@types/jest": "^24.0.0", | ||
"@types/lodash.debounce": "^4.0.6", | ||
"@types/md5": "^2.1.33", | ||
"@types/node": "^12.0.0", | ||
"@types/nprogress": "^0.2.0", | ||
"@types/react": "^16.9.0", | ||
"@types/react-dom": "^16.9.0", | ||
"@types/react-redux": "^7.1.5", | ||
"@types/react-router-dom": "^5.1.3", | ||
"@types/sha1": "^1.1.2", | ||
"@typescript-eslint/eslint-plugin": "^2.8.0", | ||
"@typescript-eslint/parser": "^2.8.0", | ||
"antd": "^3.26.0", | ||
"antd-mobile": "^2.3.1", | ||
"axios": "^0.19.0", | ||
"babel-eslint": "10.0.3", | ||
"babel-jest": "^24.9.0", | ||
"babel-loader": "8.0.6", | ||
"babel-plugin-named-asset-import": "^0.3.5", | ||
"babel-preset-react-app": "^9.1.0", | ||
"bizcharts": "^3.5.6", | ||
"camelcase": "^5.3.1", | ||
"case-sensitive-paths-webpack-plugin": "2.2.0", | ||
"classnames": "^2.2.6", | ||
"css-loader": "3.2.0", | ||
"dotenv": "8.2.0", | ||
"dotenv-expand": "5.1.0", | ||
"eslint": "^6.6.0", | ||
"eslint-config-react-app": "^5.1.0", | ||
"eslint-loader": "3.0.2", | ||
"eslint-plugin-flowtype": "3.13.0", | ||
"eslint-plugin-import": "2.18.2", | ||
"eslint-plugin-jsx-a11y": "6.2.3", | ||
"eslint-plugin-react": "7.16.0", | ||
"eslint-plugin-react-hooks": "^1.6.1", | ||
"file-loader": "4.3.0", | ||
"fs-extra": "^8.1.0", | ||
"html-webpack-plugin": "4.0.0-beta.5", | ||
"identity-obj-proxy": "3.0.0", | ||
"jest": "24.9.0", | ||
"jest-environment-jsdom-fourteen": "0.1.0", | ||
"jest-resolve": "24.9.0", | ||
"jest-watch-typeahead": "0.4.2", | ||
"loadjs": "^4.2.0", | ||
"lodash": "^4.17.15", | ||
"lodash.debounce": "^4.0.8", | ||
"lodash.union": "^4.6.0", | ||
"md5": "^2.2.1", | ||
"mini-css-extract-plugin": "0.8.0", | ||
"moment": "^2.24.0", | ||
"nprogress": "^0.2.0", | ||
"optimize-css-assets-webpack-plugin": "5.0.3", | ||
"pnp-webpack-plugin": "1.5.0", | ||
"postcss-flexbugs-fixes": "4.1.0", | ||
"postcss-loader": "3.0.0", | ||
"postcss-normalize": "8.0.1", | ||
"postcss-preset-env": "6.7.0", | ||
"postcss-safe-parser": "4.0.1", | ||
"react": "^16.12.0", | ||
"react-app-polyfill": "^1.0.5", | ||
"react-dev-utils": "^10.0.0", | ||
"react-dom": "^16.12.0", | ||
"react-redux": "^7.1.3", | ||
"react-router-dom": "^5.1.2", | ||
"recharts": "^2.0.0-beta.1", | ||
"redux": "^4.0.5", | ||
"redux-saga": "^1.1.3", | ||
"resolve": "1.12.2", | ||
"resolve-url-loader": "3.1.1", | ||
"sass-loader": "8.0.0", | ||
"semver": "6.3.0", | ||
"sha1": "^1.1.1", | ||
"style-loader": "1.0.0", | ||
"terser-webpack-plugin": "2.2.1", | ||
"ts-pnp": "1.1.5", | ||
"typescript": "~3.7.2", | ||
"url-loader": "2.3.0", | ||
"webpack": "4.41.2", | ||
"webpack-dev-server": "3.9.0", | ||
"webpack-manifest-plugin": "2.2.0", | ||
"workbox-webpack-plugin": "4.3.1" | ||
}, | ||
"scripts": { | ||
"start": "node scripts/start.js", | ||
"build": "node scripts/build.js", | ||
"test": "node scripts/test.js", | ||
"rm": "find ./build -name '*.map' -delete" | ||
}, | ||
"eslintConfig": { | ||
"extends": "react-app" | ||
}, | ||
"browserslist": { | ||
"production": [ | ||
">0.2%", | ||
"not dead", | ||
"not op_mini all" | ||
], | ||
"development": [ | ||
"last 1 chrome version", | ||
"last 1 firefox version", | ||
"last 1 safari version" | ||
] | ||
}, | ||
"jest": { | ||
"roots": [ | ||
"<rootDir>/src" | ||
], | ||
"collectCoverageFrom": [ | ||
"src/**/*.{js,jsx,ts,tsx}", | ||
"!src/**/*.d.ts" | ||
], | ||
"setupFiles": [ | ||
"react-app-polyfill/jsdom" | ||
], | ||
"setupFilesAfterEnv": [ | ||
"<rootDir>/src/setupTests.ts" | ||
], | ||
"testMatch": [ | ||
"<rootDir>/src/**/__tests__/**/*.{js,jsx,ts,tsx}", | ||
"<rootDir>/src/**/*.{spec,test}.{js,jsx,ts,tsx}" | ||
], | ||
"testEnvironment": "jest-environment-jsdom-fourteen", | ||
"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)$" | ||
], | ||
"modulePaths": [], | ||
"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": [ | ||
"jest-watch-typeahead/filename", | ||
"jest-watch-typeahead/testname" | ||
] | ||
}, | ||
"babel": { | ||
"presets": [ | ||
"react-app" | ||
], | ||
"plugins": [ | ||
[ | ||
"import", | ||
{ | ||
"libraryName": "antd", | ||
"libraryDirectory": "es", | ||
"style": true | ||
} | ||
] | ||
] | ||
}, | ||
"devDependencies": { | ||
"babel-plugin-import": "^1.13.0", | ||
"less": "^3.10.3", | ||
"less-loader": "^5.0.0", | ||
"node-sass": "^4.13.0", | ||
"request": "^2.88.0" | ||
} | ||
} |
public/amap.html
0 → 100644
public/amapui.html
0 → 100644
public/echartsmin_china.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/favicon.ico
0 → 100644
File added
public/fy_home_echart_funs.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/fymap2020_data.d.json
0 → 100644
This diff is collapsed.
Click to expand it.
public/index.html
0 → 100644
public/location-data.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/logo192.png
0 → 100644
5.22 KB
public/logo512.png
0 → 100644
9.44 KB
public/manifest.json
0 → 100644
public/map/map_anhui.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/map/map_aomen.js
0 → 100644
public/map/map_beijing.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_chongqing.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_fujian.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/map/map_gansu.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_guangdong.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/map/map_guangxi.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_guizhou.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/map/map_hainan.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_hebei.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_heilongjiang.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_henan.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_hubei.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_hunan.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_jiangsu.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_jiangxi.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_jilin.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/map/map_liaoning.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_neimenggu.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_ningxia.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_qinghai.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_shandong.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/map/map_shanghai.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_shanxi.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_shanxis.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_sichuan.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_taiwan.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_tianjin.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_xianggang.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_xinjiang.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/map/map_xizang.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/map/map_yunnan.js
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
public/map/map_zhejiang.js
0 → 100644
This diff is collapsed.
Click to expand it.
public/province-data.json
0 → 100644
public/robots.txt
0 → 100644
public/world_geo.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
scripts/build.js
0 → 100644
scripts/province.js
0 → 100644
scripts/start.js
0 → 100644
scripts/test.js
0 → 100644
src/App.css
0 → 100644
src/App.test.tsx
0 → 100644
src/App.tsx
0 → 100644
src/Routes.ts
0 → 100644
src/assets/banner.png
0 → 100755
209 KB
src/assets/desktop.jpg
0 → 100755
169 KB
src/assets/fire.png
0 → 100755
1.48 KB
src/assets/logo.png
0 → 100755
12.1 KB
src/assets/logo1.png
0 → 100755
8.34 KB
src/assets/m.jpg
0 → 100755
193 KB
src/data-platform/axios.ts
0 → 100644
src/data-platform/component/Card.tsx
0 → 100644
src/data-platform/component/Tag.module.less
0 → 100644
src/data-platform/component/Tag.tsx
0 → 100644
src/data-platform/index.tsx
0 → 100644
src/data-platform/layout/UserLayout.tsx
0 → 100644
src/data-platform/model/index.ts
0 → 100644
src/data-platform/model/reducers.ts
0 → 100644
src/data-platform/model/user.ts
0 → 100644
src/data-platform/service/user.ts
0 → 100644
src/data-platform/utils.js
0 → 100644
src/global.d.ts
0 → 100644
src/index.css
0 → 100644
src/index.less
0 → 100644
src/index.tsx
0 → 100644
src/logo.svg
0 → 100644
src/react-app-env.d.ts
0 → 100644
src/scss/index.scss
0 → 100644
src/serviceWorker.ts
0 → 100644
src/setupProxy.js
0 → 100644
src/setupTests.ts
0 → 100644
src/typings.d.ts
0 → 100644
src/view/Amap.module.less
0 → 100644
src/view/Amap.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/AmapLite.tsx
0 → 100644
src/view/Dashboard.css
0 → 100644
src/view/Dashboard.module.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/Dashboard.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/Province.module.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/Province.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/ProvinceList.module.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/ProvinceList.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/Signin.module.less
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/Signin.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/Test.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/World.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/dashboard/List.tsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/dashboard/Nation.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/dashboard/Province.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/dashboard/Radar.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/dashboard/Radar.recharts.jsx
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/dashboard/World.ts
0 → 100644
This diff is collapsed.
Click to expand it.
src/view/helper.ts
0 → 100644
This diff is collapsed.
Click to expand it.
tsconfig.json
0 → 100644
This diff is collapsed.
Click to expand it.