@dgonzalezr/custom-react-scripts
Custom configuration and scripts for Create React App.
Last updated 2 years ago by dgonzalezr .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @dgonzalezr/custom-react-scripts 
SYNC missed versions from official npm registry.

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.

Current Tags

  • 1.1.2                                ...           latest (2 years ago)

2 Versions

  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 3
Dev Dependencies (2)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |