https://github.com/buihdk/ejected-create-react-app
This template was created by Facebook's Create React App and `yarn run eject` command.
https://github.com/buihdk/ejected-create-react-app
create-react-app ejected react template
Last synced: 4 months ago
JSON representation
This template was created by Facebook's Create React App and `yarn run eject` command.
- Host: GitHub
- URL: https://github.com/buihdk/ejected-create-react-app
- Owner: buihdk
- Created: 2019-10-13T06:32:06.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-04T22:36:36.000Z (over 2 years ago)
- Last Synced: 2025-01-28T03:24:09.853Z (6 months ago)
- Topics: create-react-app, ejected, react, template
- Language: JavaScript
- Homepage:
- Size: 1.46 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This template project was created by Facebook's [Create React App](https://github.com/facebook/create-react-app) and `yarn run eject` command.
I realize that whenever I ejected a react app made using `create-react-app`, I had to spend a few hours cleaning up folders and files after ejection. This template is created to speed up this process.
Steps that I did:
* `npx create-react-app ejected-create-react-app`
* `cd ejected-create-react-app`
* `yarn run eject` (choose `y`)
* transfer `eslint`, `jest`, `babel`, and `browserslist` configs to their own separate files from `package.json` file
* add `.prettierrc` and `react-hot-loader`
* clean up `config` and `scripts` folders based on eslint
* reduce runtime dependencies by moving modules that are required only during development to `devDependencies` in `package.json`To create a new project using `ejected-create-react-app` template:
* download the repo: `git clone [email protected]:buihdk/ejected-create-react-app.git`
* rename the repo: `mv ejected-create-react-app YOUR-APP-NAME`
* go to the repo: `cd YOUR-APP-NAME`
* update package.json file: change the name from `ejected-create-react-app` to `YOUR-APP-NAME`