Skip to content

Commit

Permalink
Prepare app for deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
abefernan committed Jan 29, 2021
1 parent 6ad86e5 commit 17386dd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
# generated tailwind
/src/tailwind.output.css

# deployment
.netlify

# dependencies
/node_modules
/.pnp
Expand Down
13 changes: 8 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,14 @@
},
"scripts": {
"build:tailwind": "tailwindcss build src/index.css -o src/tailwind.output.css",
"prebuild": "NODE_ENV=production yarn run build:tailwind",
"build": "react-scripts build",
"prestart": "yarn run build:tailwind",
"start": "react-scripts start",
"start:musselnet": "REACT_APP_NETWORK=musselnet yarn start",
"prebuild": "NODE_ENV=production yarn build:tailwind",
"build:base": "react-scripts build",
"build": "yarn build:musselnet",
"build:musselnet": "REACT_APP_NETWORK=musselnet yarn build:base",
"prestart": "yarn build:tailwind",
"start:base": "react-scripts start",
"start": "yarn start:musselnet",
"start:musselnet": "REACT_APP_NETWORK=musselnet yarn start:base",
"test": "react-scripts test",
"eject": "react-scripts eject"
},
Expand Down
1 change: 1 addition & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/* /index.html 200

0 comments on commit 17386dd

Please sign in to comment.