UNPKG

@electrojet/carlo

Version:

Build scripts for use with create-electrojet

32 lines (18 loc) 836 B
# Electrojet Carlo <a href="https://badge.fury.io/js/%40electrojet%2Fcarlo"><img src="https://badge.fury.io/js/%40electrojet%2Fcarlo.svg" alt="npm version" height="18"></a> A CLI for running carlo applications generated by [`create-electrojet`](https://www.npmjs.com/package/create-electrojet) ## Commands ### 1. Start Starts a development server using webpack. ``` electrojet-carlo start --port=4567 ``` Port is defaulted to 4567. Starts up carlo process for serving your application. ### 2. Build Builds the application to all platforms. ``` electrojet-carlo build ``` This builds the current directory for with `all` option for packages. If you want to build for a specific package, edit the configuration at `electrojet.config.js`. Check out [Electrojet CLI](https://www.npmjs.com/package/create-electrojet) for usage.