0.0.0-alpha.15 • Published 4 years ago

@primal/cli v0.0.0-alpha.15

Weekly downloads
489
License
MIT
Repository
-
Last release
4 years ago

@primal/cli package

It exposes Primal binary so you can call yarn primal inside your project

yarn add @primal/cli
yarn global add @primal/cli

Quick Start

  • create new project:
primal init

It will ask you some questions for setting all up. Now, it is necessary to install the dependencies. This process can be done running the following:

cd YourProject

yarn install

Commands

Two main commands of CLI are build & develop that are operating with Compiler depending of which platform was chosen:

  • primal build <platform> - builds platforms template by creating an instance of Compiler, and running it run method
  • primal develop <platform> - runs builded platform in watch mode by creating an instance of Compiler, and run its’ watch method
0.0.0-rc.2

4 years ago

0.0.0-alpha.15

4 years ago