cli-starter-kit

0.1.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i cli-starter-kit

Weekly Downloads

1

Version

0.1.2

License

MIT

Unpacked Size

3.22 kB

Total Files

4

Last publish

Collaborators

  • thesunny