1.0.5 • Published 5 years ago

scrip v1.0.5

Weekly downloads
29
License
-
Repository
github
Last release
5 years ago

Scrip

Scrip is a small utility to easily manage some scripts in your node project.

Installation

yarn add scrip

Usage

  1. scrip create foo:bar
  2. Edit scripts/foo/bar.js to export a function:

    module.exports = (options) => {
      console.log(options)
    }
  3. yarn foo:bar bim bam --boo-baz --zip zap yip

    [ 'bim', 'bam', 'yip', booBaz: true, zip: 'zap' ]

Script entries in package.json are added when scripts are created. If you manually move files around in scripts/, you can sync up with package.json using scrip sync.

Notes

Any files in scripts/lib will be ignored when syncing to package.json.

1.0.5

5 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

6 years ago