0.0.15 • Published 5 years ago
@zrf9018/marvel-cli v0.0.15
@bybit/marvel-cli
to maintain multi apps
Quick start
Create your project directory:
mkdir marvel_project && cd marvel_projectInstall:
yarn add @bybit/marvel-cliInitialize:
npx marvel initEnsure dependencies && Start your app:
yarn && yarn startBybit Marvel
This set of projects is initialized with @bybit/marvel-cli. Follow is the quick guide for how to use.
Environment Prepare
Install node_modules:
yarnor
npm iProvided Scripts
@bybit/marvel-cli provides some useful script to help you quick start and build with web project, code style check and test.
Scripts provided in package.json. It's safe to modify or add additional script:
Start project
yarn startBuild project
yarn buildCheck code style
yarn lintYou can also use script to auto fix some lint error:
yarn lint:fixTest code
yarn testGenerate new app
yarn generateAnalyze bundle Size
yarn analyzeMore
You can view full document. And welcome any feedback in our gitlab.