Is it best practice to use package.json in an app that is not a module but an end product?

StackOverflow https://stackoverflow.com/questions/9333875

  •  27-10-2019
  •  | 
  •  

문제

Is it normal or hopefully best practice to use package.json in my project even though my project isn't a module/package? I'm currently using package.json for info, version, dep management and I include use 'private: true'

도움이 되었습니까?

해결책

Many people are using package.json in applications these days. npm is still a great way to manage your dependencies while developing. As mentioned there are a few ways to ensure that your app doesn't get pushed to the public repository. And you still get the benefits of all the npm utilities.

If by "best practice" you're asking if there is a good reason not to do this, the answer is no. You should go for it.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top