LoginSignup
6
6

More than 5 years have passed since last update.

うっかりnpmリポジトリにあげてしまわないように

Posted at

gruntやkarma,mochaなど様々なJSエコツール使うようになってくると、業務上のアプリケーションも依存ファイルをpackage.jsonで管理していたりすると思います。
その場合、npmアカウントを作ってモジュールなどを公開している人は簡単にnpm publishが出来てしまいます。
うっかりパブリッシュはprivate:true設定で防ぐことが出来ます。

package.json

{
    "private": true,
    //...
}
6
6
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
6