修改打包命令

This commit is contained in:
cebgcontract 2022-02-18 17:06:32 +08:00
parent b33473f1c5
commit ab99d190a4
5 changed files with 14 additions and 8 deletions

View File

@ -1,9 +1,9 @@
VUE_APP_WALLET_INFURAID='e7743d46923911fa8850619b7a7f6d9d'
VUE_APP_BASE_API='https://market-test.kingsome.cn'
VUE_APP_CHAIN_ID=322
VUE_APP_CHAIN_RPC='https://rpc-testnet.kcc.network'
VUE_APP_CHAIN_NAME='KCC-TESTNET'
VUE_APP_CHAIN_EXPLORERURL='https://scan-testnet.kcc.network
VUE_APP_CHAIN_ID=321
VUE_APP_CHAIN_RPC='https://rpc-mainnet.kcc.network'
VUE_APP_CHAIN_NAME='KCC-MAINNET'
VUE_APP_CHAIN_EXPLORERURL='https://explorer.kcc.io'
VUE_APP_CHAIN_CURRENCY_NAME='name'
VUE_APP_CHAIN_CURRENCY_SYMBOL='KCS'
VUE_APP_CHAIN_CURRENCY_DECIMALS=18

View File

@ -4,10 +4,13 @@
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"build:prod": "vue-cli-service build",
"build:test": "vue-cli-service build --mode test",
"lint": "vue-cli-service lint",
"deploy": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://cebg.games",
"deploy:test": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://test.cebg.games"
"deploy:prod": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://cebg.games",
"deploy:test": "rm -f ./dist/.DS_Store && aws s3 sync ./dist s3://test.cebg.games",
"refresh:prod": "aws cloudfront create-invalidation --distribution-id E34PEY4AGTMS0Y --paths \"/*\"",
"refresh:test": "aws cloudfront create-invalidation --distribution-id E2GYP9BZTQSSXT --paths \"/*\""
},
"dependencies": {
"@walletconnect/web3-provider": "^1.7.1",

View File

@ -35,6 +35,9 @@ const routes: Array<RouteConfig> = [
path: '/presale',
name: 'Presale',
component: Presale
// beforeEnter(to, from, next) {
// window.location.href = 'https://test.cebg.games/presale'
// }
},
{
path: '/mynft',

View File

@ -287,4 +287,4 @@ export const ERC20ABI = [
}
]
export const MALL_ADDRESS = '0x40ffB0642e0B4494c47b6ad781862C0BDB3256A8'
export const MALL_ADDRESS = '0xF278ff771F9E24968083B0bA54Cb42eb4B23C2d7'