Auto watch install new packages added/required for your application to work. Say bye to running npm i everytime
npm install swift-auto-instalerAuto watch and install dependencies when your teammate add changes to the package.json
``sh`
npm install swift-auto-instaler --save-dev
js
"start": "./node_modules/swift-auto-instaler/src/check-cli.js && node server.js" // change to your start script
`$3
`js
"test": "/node_modules/swift-auto-instaler/src/check-cli.js && test server.js" // change this to your test script
`$3
`js
{
"husky": {
"hooks": {
"post-checkout": "/node_modules/swift-auto-instaler/src/check-cli.js",
"...": "..."
}
}
}
`Options
--yarn` Use yarn instead of npm:star: this repo