Should Git track the typings folder? (Typings.json)

I wonder if my Git should keep track of the files in the folder /typings.

This folder is created at startup typings install(I think) and seems to be automatically created at startup npm install. See https://github.com/typings/typings

Since this is generated content, I believe I should not keep track of it, but I would like to get some feedback on this. Thank!

+4
source share
2 answers

Since this is generated content, I believe that we should not track it, but I would like to receive some feedback from it.

. npm , . . (, , )

+3

node_modules TypeScript , . ,

{
   "scripts" : {
      "postinstall": "typings install"
   }
}

package.json, , npm install. typings.json, .

+9

All Articles