Skip to content

Tool to clear up the excess files and unnecessary code generated by the `create-react-app` scaffold

License

Notifications You must be signed in to change notification settings

samRC/clear-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clear-react-app

npm NPM npm

NB: Only run this script in a newly initialized app project as it Deletes and Rewrites certain files

To Run

If already initialized fresh CRA app

npx clear-react-app

Else

npx create-react-app my-app
cd my-app
npx clear-react-app

Actions

Rewrites
(removes unnessary stuff and replaces the app name and descriptions with the actual app's name)

  • ./public/manifest.json
  • ./README.md
  • ./public/index.html
  • ./src/index.js
  • ./src/App.js

Deletes

  • ./src/App.test.js
  • ./src/index.css
  • ./src/App.css
  • ./src/logo.svg
  • ./src/reportWebVitals.js
  • ./src/setupTests.js
  • ./public/favicon.ico
  • ./public/logo192.png
  • ./public/logo512.png

About

Tool to clear up the excess files and unnecessary code generated by the `create-react-app` scaffold

Resources

License

Stars

Watchers

Forks

Packages

No packages published