npm.io
1.7.0 • Published 1 year agoCLI

push-to-start

Licence
MIT
Version
1.7.0
Deps
6
Size
27 kB
Vulns
0
Weekly
0

Push to Start

Node project kickstarter for parcel based projects. It mainly uses Parcel but also a little of Babel, and Jest. It's great for creating new projects.

Authors

Support

Buy Me A Coffee

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/Examples

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.