0.0.6 • Published 6 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-devUsage
CLI Usage
run swift-watch from your terminalHooking 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 scriptUsing 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
6 years ago