create-react-app-offline
v1.2.1
Published
CRAO, a CLI that make react apps offline ASAP.
Downloads
316
Maintainers
Readme
Create React App (Offline version - CRAO)
Create React apps with no build configuration offline every time.
Installing the CLI
first time you need to install the CRAO CLI via this command, then after you'il be able to create React apps offline.
npm install -g create-react-app-offline
Usage
Very simple like drinking water
crao -n <app-name>
for example :
crao -n my-app
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.css
├── App.js
├── App.test.js
├── index.css
├── index.js
├── logo.svg
└── serviceWorker.js
└── setupTests.js
No configuration or complicated folder structures, only the files you need to build your app. 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
Enjoy it.