0.0.6 • Published 4 years ago
swift-package-installer v0.0.6
swift-auto-installer
Auto watch and install dependencies when your teammate add changes to the package.json
Install
npm install swift-auto-installer --save-dev
Usage
CLI Usage
run swift-watch from your terminal
Hooking with your server
It can be used with nodemon or node to check your packages before starting the server to do that add the following to your package.json
// package.json
"start": "swift-watch && node server.js"
Hooking with test
// package.json
"test": "swift-watch && test server.js" // change this to your test script
Using with husky
// package.json
{
"husky": {
"hooks": {
"pre-push": "swift watch",
"...": "..."
}
}
}
Options
--yarn
Use yarn instead of npm
Show your support
:star: this repo
0.0.6
4 years ago