Skip to content

Latest commit

 

History

History
38 lines (30 loc) · 980 Bytes

README.md

File metadata and controls

38 lines (30 loc) · 980 Bytes

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