Skip to content

Instantly share code, notes, and snippets.

@jerhon
Created April 18, 2021 16:12
Show Gist options
  • Save jerhon/b3a39ee9180f3937f1a414ffc9163623 to your computer and use it in GitHub Desktop.
Save jerhon/b3a39ee9180f3937f1a414ffc9163623 to your computer and use it in GitHub Desktop.
Setup Parcel Project
$project_dir="project_name"
mkdir $project_dir
cd $project_dir
npm init -y
# TODO: update npm license to MIT
# Add in commands to run parcel in develop / build
npm install typescript --save-dev
tsc --init
# TODO: command to update TSC to have jsx: React
npm install react react-dom @types/react-dom --save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment