Environment Setup - geraldgsh/author-quiz GitHub Wiki

Alternative to create an App

npm init react-app my-app
npx create-react-app author-quiz

Install package for shuffle and sample function;

npm install underscore

Install prop-types

$ npm install --save prop-types

+ [email protected]
removed 7 packages, updated 1 package and audited 1279334 packages in 20.013s

60 packages are looking for funding
  run `npm fund` for details

Install Enzyme

$ npm install enzyme enzyme-adapter-react-16 --save-dev
+ [email protected]
+ [email protected]
added 33 packages from 22 contributors, removed 7 packages and audited 1028132 packages in 15.289s

70 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Install Jest

$ npm i jest --save-dev
+ [email protected]
added 476 packages from 113 contributors, removed 13 packages, updated 37 packages, moved 5 packages and audited 1277230
 packages in 35.072s

72 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Install React Router

$ npm install react-router-dom
+ [email protected]
added 12 packages from 6 contributors, removed 17 packages and audited 1028184 packages in 13.769s

70 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Install Redux

$ npm install redux react-redux
+ [email protected]
+ [email protected]
added 3 packages from 2 contributors and removed 17 packages in 21.986s

70 packages are looking for funding
  run `npm fund` for details