Recently I started working in some projects using ReactJS and at the moment of deciding what our team was going to use a good friend of mine ran into Parcel while watching a nice course by Brian Holt at Frontend Masters called Complete Intro to React, v5. So he said why don't we use it instead of webpack, because seriously sometimes it gets really strange and does stuff hard to work with.
So I remembered about Parcel and said okay, let's use it in the following project, I read about it and started making the setup of all the dependencies we think we are going to need for the project. Everything is working properly so I started another toy project and realized quickly that I needed a lot of the dependencies that the other project has, so I decided to extract a new Template or Boilerplate for any other projects that you or I would need.
npm run dev
Starts parcel and storybook servers in development modenpm run start
Starts parcel in development modenpm run format
Formats code beautifullynpm run clear-build-cache
Clears cache and dist foldersnpm run lint
Users ESLint to check codenpm run test
Run testsnpm run test:coverage
Runs tests displaying code coveragenpm run test:update
Updates snapshotsnpm run test:watch
Runs Jest in watch modenpm run cypress
Starts CypressThe repository is available at Github. and can be used as a template for any project you what to build with.
Happy coding