| routes, | routes, | ||||
| npmClient: 'npm', | npmClient: 'npm', | ||||
| base: '/', | base: '/', | ||||
| publicPath: '/client/dist/', | |||||
| publicPath: '/web/dist/', | |||||
| esbuildMinifyIIFE: true, | esbuildMinifyIIFE: true, | ||||
| icons: { | icons: { | ||||
| }, | }, | ||||
| hash: true, | hash: true, | ||||
| history: { | history: { | ||||
| type: 'hash', | |||||
| type: 'browser', | |||||
| }, | }, | ||||
| plugins: ['@umijs/plugins/dist/dva'], | plugins: ['@umijs/plugins/dist/dva'], | ||||
| dva: {}, | dva: {}, |
| "js-base64": "^3.7.5", | "js-base64": "^3.7.5", | ||||
| "jsencrypt": "^3.3.2", | "jsencrypt": "^3.3.2", | ||||
| "lodash": "^4.17.21", | "lodash": "^4.17.21", | ||||
| "moment": "^2.30.1", | |||||
| "react-i18next": "^14.0.0", | "react-i18next": "^14.0.0", | ||||
| "react-infinite-scroll-component": "^6.1.0", | "react-infinite-scroll-component": "^6.1.0", | ||||
| "umi": "^4.0.90", | "umi": "^4.0.90", | ||||
| "version": "2.30.1", | "version": "2.30.1", | ||||
| "resolved": "https://registry.npmmirror.com/moment/-/moment-2.30.1.tgz", | "resolved": "https://registry.npmmirror.com/moment/-/moment-2.30.1.tgz", | ||||
| "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", | "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==", | ||||
| "devOptional": true, | |||||
| "engines": { | "engines": { | ||||
| "node": "*" | "node": "*" | ||||
| } | } |
| "private": true, | "private": true, | ||||
| "author": "zhaofengchao <13723060510@163.com>", | "author": "zhaofengchao <13723060510@163.com>", | ||||
| "scripts": { | "scripts": { | ||||
| "dev": "umi dev", | |||||
| "dev": "set PORT=9000&&umi dev", | |||||
| "build": "umi build", | "build": "umi build", | ||||
| "postinstall": "umi setup", | "postinstall": "umi setup", | ||||
| "setup": "umi setup", | "setup": "umi setup", | ||||
| "js-base64": "^3.7.5", | "js-base64": "^3.7.5", | ||||
| "jsencrypt": "^3.3.2", | "jsencrypt": "^3.3.2", | ||||
| "lodash": "^4.17.21", | "lodash": "^4.17.21", | ||||
| "moment": "^2.30.1", | |||||
| "react-i18next": "^14.0.0", | "react-i18next": "^14.0.0", | ||||
| "react-infinite-scroll-component": "^6.1.0", | "react-infinite-scroll-component": "^6.1.0", | ||||
| "umi": "^4.0.90", | "umi": "^4.0.90", |
| let api_host = `http://54.80.112.79:9380/v1`; | |||||
| let api_host = `/v1`; | |||||
| export { api_host }; | export { api_host }; |