Quick starter for doing anything™ web with Parcel bundler
This is just my basic configuration for starting anything be it a simple website or an experiment! It uses the amazingly uncomplicated and amazing Parcel bundler 🌈 because it's all about getting started!
Assuming you already have node installed on your system
- Clone this repository
cd
into where you cloned ityarn start
That's it!
When you're ready to build just yarn build
- This also includes a basic prettier config
yarn start
andbuild
clears.cache
every runyarn build
also clears out yourdist
folder- you can place static assets in
static
folder and they won't be file rev'ed
If you want to alias cloning this repo (as I do) just do e.g. in Terminal bootstrap MyProjectName
Just do the following:
- open terminal
open ~/.bash_profile
- add an
alias
config there for examplealias="bootstrap git@github.com:ezekielaquino/ParcelStarter3000.git"
- save it
- reload terminal
- ta da! If you want to quickly begin a new project using this/or any other starter just type in
bootstrap [optional folder name]