scripts-help
help for npm scripts
Last updated 2 years ago by akameco .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install scripts-help 
SYNC missed versions from official npm registry.

scripts-help

Build Status tested with jest styled with prettier All Contributors

help for npm scripts

Motivation

  • No installation until needed
  • Not need to change existing code

Usage

package.json

{
  "scripts": {
    "start": "...",
    "build": "...",
    "build:dev": "...",
    "help": "npx scripts-help"
  }
}
$ yarn run help
  start
      Start Application

  build
      Run before start

  build:dev
      Build for dev

  help
      Show Help.

.scripts-help.json

{
  "start": "Start Application",
  "build": "Run before start",
  "build:dev": "Build for dev",
  "help": "Show Help."
}

Locale

.scripts-help.ja.json

{
  "start": "アプリケーションを実行します。先にbuildを実行してください",
  "build": "ビルドを実行",
  "build:dev": "dev環境向けにビルドを実行",
  "help": "ヘルプを表示"
}
$ yarn run help 'build:*'
  build
      ビルドを実行

  build:dev
      dev環境向けにビルドを実行

Create

create .scripts-help.json from package.json.

npm run help --create

Install?

If you want.

$ npm i -g scripts-help

Contributors

Thanks goes to these wonderful people (emoji key):


akameco

???? ???? ⚠️ ????

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT © akameco

Current Tags

  • 0.1.1                                ...           latest (2 years ago)

2 Versions

  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |