简体   繁体   中英

The location of package.json

  1. Is there an official specification for the location of package.json in the project? Such as under the project
  2. Where will the package.json of the multi-component project be placed
  3. Why is version 0.0.0 in package.json?What does this represent?

here is the official documents of npm about package.json:https://docs.npmjs.com/cli/v6/configuring-npm/package-json#name . As it is said, if you don't want to publish the package, any name and version could be used, like what you mentioned, the "0.0.0".

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM