1.0.5 • Published 7 years ago
scrip v1.0.5
Scrip
Scrip is a small utility to easily manage some scripts in your node project.
Installation
yarn add scrip
Usage
scrip create foo:barEdit
scripts/foo/bar.jsto export a function:module.exports = (options) => { console.log(options) }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.