README
@bybit/marvel-cli
to maintain multi apps
Quick start
Create your project directory:
mkdir marvel_project && cd marvel_project
Install:
yarn add @bybit/marvel-cli
Initialize:
npx marvel init
Ensure dependencies && Start your app:
yarn && yarn start
Bybit 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:
yarn
or
npm i
Provided 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 start
Build project
yarn build
Check code style
yarn lint
You can also use script to auto fix some lint error:
yarn lint:fix
Test code
yarn test
Generate new app
yarn generate
Analyze bundle Size
yarn analyze
More
You can view full document. And welcome any feedback in our gitlab.