Skip to content

a command whick to show some innfomation in package.json

License

Notifications You must be signed in to change notification settings

FiShelly/check-pkg-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

check-pkg-cli

NPM Version NPM Downloads

Features

  • use command to check package.json object key.

Installation

$ npm install -g check-pkg-cli

or

$ yarn global add check-pkg-cli

with 1 commands

  • check-pck

Quick Start

The quickest way to get started with chceck-pkg is to utilize the executable check-pck to check some key for package.json, as shown below:

Default

$ check-pkg

will return:

scripts:
start:npm publish .

Check Other key in package.jsonn

$ check-pck -K dependencies

or

$ check-pck --key dependencies

If you want to check more, you should do like this:

$ check-pck -K dependencies,name,bugs,scripts

or

check-pck -key dependencies,name,bugs,scripts

Check other directory package.json:

$ check-pck -T ../tmp

or

$ check-pck -target ../tmp

Command Line Options

Usage: check-pkg [options] [dir]

Options:
  -V, --version        output the version number
  -K --key <items>     the key which you want to check in package.json
  -T --target [value]  the target package.json
  -h, --help           output usage information

License

MIT

About

a command whick to show some innfomation in package.json

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published