New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

brindille-cli

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brindille-cli

CLI for Brindille

latest
Source
npmnpm
Version
1.1.4
Version published
Maintainers
1
Created
Source

brindille-cli

A very opiniated CLI tool to help you build Brindille apps.

Snapshot

Install

npm install -g brindille-cli

Use

From the root of your brindille project in the terminal:

# launches lint (standardjs) watchify and stylus in watch mode
brindille watch

# launches lint (standardjs) watchify and stylus in build mode
brindille build

# scaffolds a MyCompName component in /src/views/components/my-comp-name
brindille component MyCompName

# scaffolds a MyLayout component in /src/views/layouts/my-layout
brindille layout MyLayout

# scaffolds a MySection component in /src/views/sections/my-section
brindille section MySection

Builders

The watch and build tasks are just wrappers around standardjs linting stylus and browserify with our default configuration and a prettier console output. Error and linting compilations will also be printed directly in the browser (by "replacing" the js built file).

You can optionnaly add browserify transforms to both watch and build tasks :

brindille watch babelify glslify

Scaffolders

Wa have three different scaffolding functions which are in reality very similar: component, layout and section. The main difference between these is the folder where the component will be created (although a section will have a slightly different codebase than the others).

The name of the component must be in PascalCase.

You can chose to make the component extends brindille-interactive-component instead of brindille-component:

brindille component MyCompName --interactive

FAQs

Package last updated on 23 Aug 2018

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