what are package.json files code example

Example 1: what is package.json

metadata specific to the project
a web application, Node.js module, or even just a plain JavaScirpt library. 
identifies the project and acts as a baseline for users and contributors 
to get information about the project.
contains a collection of any given project's dependencies

Example 2: package.json files property local

"scripts": {
  "postinstall": "node install.js"
},
"localDependencies": {
  "ui-elements": "file:path/to/ui-elements"
},
"dependencies": {
  "ui-elements": "git+https://[email protected]/user/ui-elements.git"
}