npm audit #Check audit information of installed dependencies showing
# vulnerabilities
npm audit --json #Show audit results more detailed with json format
npm audit fix #Audit and tries fixing vulnerabilities in dependencies
npm audit fix --focce #Forces fix of problems found in installed packages
# installing further dependencies if necessary
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"deploy": "serve -s build"
}
npm install -g serve
npm run-script deploy