cmra
v1.0.1
Published
A commander line for create my own React App.
Downloads
1
Readme
Cmra
A commander line for create my own React app base on create-react-app.
- Add
.eslintrc
; - Add
.prettierrc.js
; - Add commit lint;
- Add template select;
Creating an App
You’ll need to have Node 10.16.0 or later version on your local development machine(but it’s not required on the server). You can use nvm (macOS/Linux) or nvm-windows to switch Node versions between different projects.
npx
npx create-react-app my-app
(npx is a package runner tool that comes with npm 5.2+ and higher, see instructions for older npm versions)
npm
npm init react-app my-app
npm init <initializer>
is available in npm 6+
Yarn
yarn create react-app my-app
yarn create <starter-kit-package>
is available in Yarn 0.25+
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:
```sh
cd my-app
Inside the newly created project, you can run some built-in commands:
npm start
or yarn start
License
Cmra is open source software licensed as MIT.