moon-cli icon indicating copy to clipboard operation
moon-cli copied to clipboard

:sparkles: Easily scaffold a Moon project

Moon Cli

NOTE: This repo is outdated. The current source and documentation are available in the Moon monorepo.

:sparkles: A CLI to scaffold Moon applications

Installation

Install with npm:

$ npm install moon-cli -g

Getting Started

Create your first project with:

$ moon <name>

<name> is the name of your application, and Moon will proceed to create the directory and install the template there.

Next, move into the directory, install the dependencies, and run a dev server!

$ cd <name>
$ npm install
$ npm run dev

Production

To build a minified bundle, run:

$ npm run build

All html, css, and javascript will be minified and bundled accordingly.

License

Licensed under the MIT License by Kabir Shah