@greenwood/cli
Overview
CLI package for Greenwood. For more information and complete docs, please visit the Greenwood website.
Installation
You can use your favorite JavaScript package manager to install this package.
examples:
npm -i @greenwood/cli --save-dev
yarn add @greenwood/cli --dev
Usage
Then in your package.json, you can run the CLI like so:
"scripts": {
"build": "greenwood build",
"start": "greenwood develop"
}
npm run build
: generates a static build of your projectnpm start
: starts a local development server for your project