package.json

The package.json file contains the metadata for a Node.js project.
This file can be created in two ways
You can either use "npm init" or create the file manually using notepad.


{ 
  "name": "notepad",
  "version": "1.0.0",
  "description": "",
  "main": "code/index.tsx",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1",
  },
  "author": "",
  "license": "ISC",
  "devDependencies": {
    "@babel/core": "^7.2.0",
    "@babel/preset-react": "^7.0.0",
    "@babel/preset-typescript": "^7.1.0",
    "@types/react":"^16.7.20",
    "@types/react-dom":^16.0.11",
    "babel-loader": "^8.0.4",
    "html-webpack-plugin": "^2.30.1",
    "react": "^16.6.3",
    "react-dom": "^16.6.3",
    "ts-loader":"^5.3.3",
    "typescript": "^3.2.4",
    "webpack": "^4.27.1",
    "webpack-cli": "^3.1.2"
    "webpack-dev-server": "^3.1.10",
  },
  "dependencies": {
    "office-ui-fabric-react": "^6.111.0"
  }
}



© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext