This commit is contained in:
ramnreddy15 2021-04-24 20:05:03 -07:00
parent 7cbce8d0fb
commit 5eb1ed5da6
No known key found for this signature in database
GPG Key ID: C539306B6E7B93D9
2 changed files with 35 additions and 47 deletions

75
.gitignore vendored
View File

@ -1,48 +1,41 @@
### Hosted gitgnore # Code editors and IDE files
.vscode/
.idea/
# WSL for Windows
*Zone.Identifier
# macOS
.DS_Store
# dependencies
node_modules node_modules
public /.pnp
src .pnp.js
studio
#### Devlopment gitignore # testing
# # Code editors and IDE files coverage
# .vscode/
# .idea/
# # WSL for Windows # production
# *Zone.Identifier build
dist
# # macOS # misc
# .DS_Store .DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
# # dependencies # sass
# node_modules .sass-cache/
# /.pnp *.css.map
# .pnp.js *.sass.map
*.scss.map
# # testing # eslint
# coverage .eslintcache
# # production npm-debug.log*
# build yarn-debug.log*
# dist yarn-error.log*
# # misc
# .DS_Store
# .env.local
# .env.development.local
# .env.test.local
# .env.production.local
# # sass
# .sass-cache/
# *.css.map
# *.sass.map
# *.scss.map
# # eslint
# .eslintcache
# npm-debug.log*
# yarn-debug.log*
# yarn-error.log*

View File

@ -33,14 +33,9 @@ Make sure to replace
"build": "react-scripts build", "build": "react-scripts build",
"test": "react-scripts test", "test": "react-scripts test",
"eject": "react-scripts eject" "eject": "react-scripts eject"
``` when creating a branch in the scripts section of package.json ``` when creating a branch. This in the scripts section of package.json
# Committing to branches
When committing to a side branch make sure to uncomment everything below "Devlopment gitignore" and comment everything under the "Hosted gitignore" heading.
# Committing to master # Committing to master
When committing to a master branch make sure to uncomment everything below "Hosted gitignore" and comment everything under the "Devlopment gitignore" heading.
Run ```yarn run build``` in the console Run ```yarn run build``` in the console
Also replace Also replace