push-to-start v1.6.4
Push-To-Start
A node tool that builds the starting point for your projects and libraries
Push to Start is a parcel bootstrap tool for creating React v17 or greater projects. It mainly uses Parcel but also a little of Babel, and Jest. It's great for creating new projects, but not meant for migrating projects to the parcel ecosystem. If you do want to migrate your application you should check out the parcel docs for this. This tool handles creating both website / webapp projects and library projects.
Installation
This works best as a global installation since it will be starting other projects for you. Install with: npm i -g push-to-start
or you can use npx to use it directly: npx push-to-start <project-folder-name>
. The npx command will install it automatically on first use if you don't have it installed.
Usage
Weather you global installed or installed from using npx on your first run, start a new project with push-to-start <project-folder-name>
and whala, a new project is born. That's the one trick this pony has to offer. The rest is all thanks to Parcel really.
Types of Projects You Can Create
Website / WebApp Projects
To build a project that's meant for websites or webapps answer N on the "is this s library" option.
? Is this project going to be a library? [Y]es, [N]o › N
Starting Dependencies
- Dev Dependencies
- prettier
- parcel
- Dependencies
- react
- react-dom
Starting File Structure
src |---assets |---components |---pages |---slices |---styles |---utils |---App.js |---index.js |---index.html |---routes.js
Library Project
This also handles creating library style projects using Parcel. In order to create a library
Staring Dependencies
- Dev Dependencies
- storybook
- prettier
- parcel
- Dependencies
- react
- react-dom
Staring File Structure
src |---components |---stories |---styles |---index.js
More Information
For more information on parcel check here. Again this is just a tool to bootstrap a new project with parcel and react. Once started it's fully customizable.