1.0.5 • Published 2 years ago
c-create-react-app v1.0.5
Getting Started with c-create-react-app
Introduction:
react scaffold template: https://github.com/QunLin666/c-react-cli
The c-create-react-app is a more comprehensive react scaffold, compared with the traditional creact-react-app, which also integrates typescript, eslint, pritter, commitizen, husky to free developers from cumbersome configuration and facilitate developers to conduct secondary development based on this.
Installation:
npm install c-create-react-app -g
Usage:
c-create-react-app create yourProject
The yourProject represents the name of your project.Then the c-create-react-app will automatically download the scaffolding, dependency package, and start the scaffold.
and then it will open http://localhost:9000 automatically in your browser.
Other commands
start:
npm run serve
build:
npm run build
eslint detection:
npm run lint
eslint fix:
npm run lint_fix
git submit and publish:
git cz