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
public
src
studio
/.pnp
.pnp.js
#### Devlopment gitignore
# # Code editors and IDE files
# .vscode/
# .idea/
# testing
coverage
# # WSL for Windows
# *Zone.Identifier
# production
build
dist
# # macOS
# .DS_Store
# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local
# # dependencies
# node_modules
# /.pnp
# .pnp.js
# sass
.sass-cache/
*.css.map
*.sass.map
*.scss.map
# # testing
# coverage
# eslint
.eslintcache
# # production
# build
# dist
# # 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*
npm-debug.log*
yarn-debug.log*
yarn-error.log*

View File

@ -33,14 +33,9 @@ Make sure to replace
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
``` when creating a branch 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.
``` when creating a branch. This in the scripts section of package.json
# 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
Also replace