Skip to content

Akinmyde/swift-auto-installer

Repository files navigation

swift-auto-instaler

Auto watch and install dependencies when your teammate add changes to the package.json

Install

npm install swift-auto-instaler --save-dev

Usage

It can be used with node, react, angular e.t.c to check and automaitcally install new packages added/required for your application to work. Say bye to running npm i everytime.

Hooking with your server

"start": "./node_modules/swift-auto-instaler/src/check-cli.js && node server.js" // change to your start script

Hooking with test

"test": "/node_modules/swift-auto-instaler/src/check-cli.js && test server.js" // change this to your test script

Using with husky

{
  "husky": {
    "hooks": {
      "post-checkout": "/node_modules/swift-auto-instaler/src/check-cli.js",
      "...": "..."
    }
  }
}

Options

--yarn Use yarn instead of npm

Show your support

⭐ this repo

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published