Skip to content

Latest commit

 

History

History
44 lines (35 loc) · 1.15 KB

File metadata and controls

44 lines (35 loc) · 1.15 KB

Blackprint CLI

This CLI contains tools for compiling/building nodes for Blackprint.

You can install this globally

$ npm i -g @blackprint/cli-tools

Create a new module from template

$ blackprint create

Module server for development

The build and serve command will watch for blackprint.config.js from current working directory and search deeper inside of nodes directory. So.. make sure you're not putting node_modules inside of nodes directory, or it will fill up your computer memory 😅

To use it, you can execute this command on the root of your project.

$ blackprint serve

Build command

To build the module, you need execute this command on the root of your project.

$ blackprint build

To minify the files for production, you can use production or prod.

$ blackprint build prod

If you installed this with package.json on your project, you can use npx.

$ npx blackprint build

Run relay server for remote control Blackprint instance

Before using this, you must install @blackprint/remote-control module on your current workspace.

$ blackprint run:relay