Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

cli-starter-kit

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-starter-kit

Starter kit for node.js based cli

  • 0.1.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

CLI Starter Kit

How to get started with cli-starter-kit

# in your project root, initialize an empty git repo
git init

# pull next-starter-kit
git pull git@github.com:thesunny/cli-starter-kit.git

# Open the directory and `package.json`
code . package.json

IMPORTANT! Modify "package.json"

Edit these lines in package.json to fit your needs

{
  "name": "name-of-your-package",
  "version": "0.1.0",
  "description": "Description of your package",
  "bin": {
    "name-of-command": "./.dist/index.js"
  },
  "dependencies": {
    // when you `yarn build` make sure all `(!) Unresolved dependencies` are
    // in here and not in `devDependencies`
  }
}

How to update

# use the built in script
yarn update:kit

# or manually re-pull cli-starter-kit
git pull git@github.com:thesunny/cli-starter-kit.git

How to publish

This will bump the version.

yarn prepublish

Resources

Starter kit for creating NPM packages with executable scripts.

A guide to creating a NodeJS command-line package

Write a simple node executable with typescript and vscode

FAQs

Package last updated on 07 Nov 2021

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc