🚀 DAY 5 OF LAUNCH WEEK: Introducing Socket Firewall Enterprise.Learn more →
Socket
Book a DemoInstallSign in
Socket

@blueprintui/cli

Package Overview
Dependencies
Maintainers
1
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blueprintui/cli

[![npm version](https://badge.fury.io/js/@blueprintui%2Fcli.svg)](https://badge.fury.io/js/@blueprintui%2Fcli)

npmnpm
Version
0.11.0
Version published
Maintainers
1
Created
Source

BlueprintUI CLI

npm version

Opinionated Minimal CLI for creating Web Component Libraries

Blueprint CLI provides an out-of-the-box tool kit for compiling and creating Web Component libraries. This project is still an experimental work in progress.

Documentation

Build

CommandDescription
buildBuild library for production
OptionsDescription
--configPath for blueprint.config.js file
--watchRuns build in watch mode for development

Generate

CommandDescription
generateGenerate Library Project

API

CommandDescription
apiAPI lockfile management
OptionsDescription
--testCompare custom-elements.json in build output to custom-elements.lock.json in source control
--updateUpdate custom-elements.lock.json to latest build output of custom-elements.json

Configuration

The blueprint.config.js can be used to customize certain aspects of the build. Below are the default values unless otherwise specified.

export default { 
  library: {
    externals: [],
    assets: ['./README.md', './LICENSE.md'],
    customElementsManifestLockFile: './custom-elements.lock.json',
    baseDir: './src',
    outDir: './dist',
    entryPoints: ['./src/**/index.ts'],
    tsconfig: './tsconfig.lib.json',
    sourcemap: false,
  }
}

FAQs

Package last updated on 11 Nov 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts