@dgonzalezr/custom-react-scripts

1.1.2 • Public • Published

Custom-React-Scripts

This package is a fork from Create React App and includes some customizations and configurations.
For more details about Create React App please refer to its documentation:

How to use it

Creating an App

You’ll need to have Node >= 6 on your local development machine (but it’s not required on the server). You can use nvm (macOS/Linux) or nvm-windows to easily switch Node versions between different projects.

To create a new app, run a single command:

npx create-react-app my-app --scripts-version @dgonzalezr/custom-react-scripts

(npx comes with npm 5.2+ and higher, see instructions for older npm versions)

It will create a directory called my-app inside the current folder.
Inside that directory, it will generate the initial project structure and install the transitive dependencies:

my-app
├── README.md
├── node_modules
├── package.json
├── .gitignore
├── public
│   └── favicon.ico
│   └── index.html
│   └── manifest.json
└── src
    └── app
        └── screens
            └── Welcome
                └── Welcome.js
                └── Welcome.scss
            └── index.js
        └── App.js
        └── App.test.js
        └── registerServiceWorker.js
    └── assets
        └── images
            └── logo.svg
    └── scss
        └── index.scss

Once the installation is done, you can open your project folder:

cd my-app

Inside the newly created project, you can run some built-in commands:

npm start or yarn start

Runs the app in development mode.
Open http://localhost:3000 to view it in the browser.

The page will automatically reload if you make changes to the code.
You will see the build errors and lint warnings in the console.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.1.2
    1
  • 1.1.1
    0

Package Sidebar

Install

npm i @dgonzalezr/custom-react-scripts

Weekly Downloads

1

Version

1.1.2

License

MIT

Unpacked Size

219 kB

Total Files

34

Last publish

Collaborators

  • dgonzalezr