package.json
contains information about the packages and libraries that are used by your project, it may also include npm scripts , which helps to run application tasks such as running tests, creating js, etc ...
npm init to run the new package.json file
docs: npm docs
tsconfig.json
provides information on compiling the typescript process in javascript . In which version should ts be compiled, should js files include source maps and such information usually described in this file.
tsc --init to run the new tsconfig.json file
docs: tsconfig docs
typings.json
contains links to files of type definition for an external library, this helps your application to be more intellisense. If you are writing types for your application, you need to know about the types of other libraries that you use.
typings init to run the new typings.json file (must be installed globally or locally)
Additional Information:
standard package (helps to generate the typings.json file and save its dependencies)
types defenitions (Database of type definitions for libraries)
full tsconfig schema
Hope this helps you!
source share