update build scripts

master
lza_menace 2 years ago
parent c86f0c7c25
commit fa03c95307

@ -1,7 +1,7 @@
{ {
"name": "newapp", "name": "newapp",
"version": "0.1.0", "version": "0.1.0",
"homepage": "https://lzahq.tech/rando", "homepage": "https://unaboomer.gg",
"private": true, "private": true,
"main": "src/index.js", "main": "src/index.js",
"dependencies": { "dependencies": {
@ -28,7 +28,8 @@
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject", "eject": "react-scripts eject",
"release": "react-scripts build && rsync -avzP build/ lzahq:/srv/lzahq.tech/public/rando/" "release": "react-scripts build && aws s3 sync build/ s3://unaboomer-prod-web-origin/ --delete",
"release-dev": "react-scripts build && rsync -avzP build/ lzahq:/srv/lzahq.tech/public/rando/"
}, },
"eslintConfig": { "eslintConfig": {
"extends": [ "extends": [

@ -16,7 +16,7 @@ import { Hero } from "./components/Hero";
import { Footer } from "./components/Footer"; import { Footer } from "./components/Footer";
const { chains, provider, webSocketProvider } = configureChains( const { chains, provider, webSocketProvider } = configureChains(
[localhost, goerli, mainnet], [goerli, mainnet, localhost],
[ [
infuraProvider({ apiKey: 'e7674eea9d72437d9129b41ed018183d' }), infuraProvider({ apiKey: 'e7674eea9d72437d9129b41ed018183d' }),
publicProvider() publicProvider()

Loading…
Cancel
Save