https://github.com/sbhmajum369/create-react-app-v2
Creating a react app without the vulnerabilities that comes with create-react-app, through independent dependency management.
https://github.com/sbhmajum369/create-react-app-v2
create-react-app create-react-app-v2 reactjs
Last synced: about 1 year ago
JSON representation
Creating a react app without the vulnerabilities that comes with create-react-app, through independent dependency management.
- Host: GitHub
- URL: https://github.com/sbhmajum369/create-react-app-v2
- Owner: sbhmajum369
- License: mit
- Created: 2021-12-15T18:17:55.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-12-15T22:09:15.000Z (over 4 years ago)
- Last Synced: 2025-01-22T02:41:43.250Z (over 1 year ago)
- Topics: create-react-app, create-react-app-v2, reactjs
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/create-react-app-v2
- Size: 30.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Create a React App without create-react-app
> ***Clean, Organized and Secure Code builds a better and reliable product***
\
Create a React App from a boilerplate with minimalistic packages and reduce the vulnerabilities from unsecure and unmaintained packages.
# Getting Started
- `npx create-react-app-v2 `
- Creates an app folder `your-app-name`
- `cd your-app-name`
- `npm start`
- It will start a `localhost` server at port 3000.
TypeScript and JSX support are included.
To start using TypeScript:
- `npm install typescript @types/node @types/react @types/react-dom`
- Add or modify jsx=>tsx, js=>ts
\
**`react-app-env.d.ts`** is for media type definitions.
\
For more info:
- [Add TypeScript to Create-React-App](https://create-react-app.dev/docs/adding-typescript/)
- [TypeScript Docs](https://www.typescriptlang.org/docs/)
## For production
- `npm run build`
## Configuration
- Modify `webpack` files to meet with your project needs
`webpack.config`: Primary configurations(no modifications required).
***Make changes only when you know what you are doing***.
`webpack.dev`: Development server configurations.
Contains main configs for building and running the app. For integrating a backend server add ['proxy']().
`webpack.prod`: Production related configurations.
- - - -
***Please leave a star if you find it useful*** :star: :star: :star:
\
*Suggestions and collaboration are welcome* :smiley:
\
Test your README in a live environment using [MarkDownPreview](https://markdownlivepreview.com/)