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

caplin-cli

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

caplin-cli

caplin-cli app scaffolding

latest
Source
npmnpm
Version
1.10.0
Version published
Weekly downloads
10
-72.22%
Maintainers
1
Weekly downloads
 
Created
Source

Building Apps with Caplin-cli

Caplin-cli is a command line module to create Node.js apps

Getting started

Prerequisites

  • Node v7.6+

Installation

npm install -g caplin-cli

Initialising the Workspace

caplin-cli init

This will generate the following folder structure:

apps/
packages/
packages-caplin/

Create an app

caplin-cli create-app myapp j2ee-app

The newly created app will be placed in an apps folder. To start the app, cd into the newly created app directory run npm install and npm start. This app contains basic configuration for a jetty server.

Create a component

caplin-cli create-component MyComponent react src

This will create a react component called MyComponent in the src directory. If you do not sepcify arguments for the create-component command you will be given dropdown options for the component name, type and location.

More commands

For a list of available commands and options, use the help command

caplin-cli help

FAQs

Package last updated on 31 Jan 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