これは「Node.js Advent Calendar 2015」の17日目のエントリです。 qiita.com 長いので一行まとめ npmのLocal Paths + linklocalを使ってモジュール管理すると(dev)dependenciesがスッキリ さて、以下本題です。 (dev)dependenciesの肥満化問題 突然ですが、WebサービスをクライアントもサーバもJavaScriptで書く場面を想像してください。 最近だと、クライアント側のコードもBrowserifyやWebpackを使って、package.jsonでモジュール管理するのが一般的ではないかと思います。 そして、サーバ側もNode.jsで書かれているのでpackage.jsonでモジュール管理します。 すると、package.jsonが↓みたいなことになります(wp-calypsoのpackage.json)