Skip to content

Latest commit

 

History

History
23 lines (16 loc) · 480 Bytes

react.md

File metadata and controls

23 lines (16 loc) · 480 Bytes

Node JS

  • package.json lists all dependencies
  • node_modules are dependencies, do not upload to GitHub
  • NPM cheatsheet
# create package.json, list dependencies
npm init

# install locally to project
npm install $package --save

# install globally
npm install $package -g

# install in development only
npm install $package --save-dev

Create React App

  • uninstall and install: npm uninstall -g create-react-app then npm install -g create-react-app