From 10dcf095e6091928fedab5a63892b2e5af81cbf5 Mon Sep 17 00:00:00 2001 From: mistakia <1823355+mistakia@users.noreply.github.com> Date: Sat, 20 Apr 2024 19:52:44 -0400 Subject: [PATCH] chore: remove `build/` from git repo --- .gitignore | 5 +---- package.json | 4 +++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index 2bb88b35..fcee2d74 100644 --- a/.gitignore +++ b/.gitignore @@ -20,8 +20,5 @@ yarn-error.log # App specific # -build/favicon.ico -!build/*.html -!build/sitemap.xml -!build/**/*.html +build/ config.production.js diff --git a/package.json b/package.json index 09ba4e31..d019d397 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,8 @@ "dev:live": "NC_DEV_LIVE=true yarn start", "start": "webpack serve --mode=development --config webpack/webpack.dev.babel.mjs --port 8081 --history-api-fallback --static-directory resources --static-public-path /resources --open", "start:api": "NODE_ENV=development node server.mjs", - "deploy": "ipfs-deploy build/index.html", + "deploy:ipfs": "ipfs-deploy build/index.html", + "deploy": "scp -r build/* nano.community:/root/nano-community/build", "build": "cross-env NODE_ENV=production webpack --config webpack/webpack.prod.babel.mjs --color --progress && react-snap", "lint": "eslint . --ext js,mjs", "prettier": "prettier --write .", @@ -21,6 +22,7 @@ "homepage": "https://nano.community/", "reactSnap": { "homepage": "https://nano.community/", + "puppeteer_executable_path": "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome", "inlineCss": true, "sitemap": true, "include": [