This package has been deprecated

Author message:

Not maintained.

prepend-to-npm-script

1.0.0 • Public • Published

prepend-to-npm-script Build Status JavaScript Style Guide

Helps you prepend to npm scripts.

Usage

Example

const prependToNpmScript = require('prepend-to-npm-script')
prependToNpmScript('test', 'echo this, first').then(() => console.log('done'))

Now, if your test script was echo testing, it is now echo this, first && echo testing.

API

prependToNpmScript(name, script)

  • name: the name of the script to prepend to
  • script: the script to prepend

Returns empty promise.

Readme

Keywords

Package Sidebar

Install

npm i prepend-to-npm-script

Weekly Downloads

0

Version

1.0.0

License

ISC

Last publish

Collaborators

  • mightyiam