npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

project-scaffold

v1.1.4

Published

A CLI tool for scaffolding and managing development projects/ React, Typescript, Vite, TailwindCSS, Framer Motion, React Router Dom.

Downloads

3

Readme

Project Scaffold

Project Scaffold is a powerful CLI tool designed to streamline the process of scaffolding and managing development projects. With a focus on the popular tech stack of React, TypeScript, Vite, Tailwind CSS, Framer Motion, and React Router Dom, this tool provides a seamless and efficient way to kickstart your projects.

Key Features

  • Quickly generate a new project structure with a single command
  • Automatically set up a React project with TypeScript support
  • Integrate Vite as the build tool for fast development and optimized builds
  • Seamlessly configure Tailwind CSS for rapid and responsive styling
  • Include Framer Motion for smooth and engaging animations
  • Set up React Router Dom for efficient client-side routing
  • Generate boilerplate code for components and services
  • Create and initialize a GitHub repository directly from the CLI
  • Clone the created repository to your local environment
  • Customize project preferences and store them in a configuration file
  • Interactive prompts for a user-friendly experience

Project Scaffold takes care of the repetitive setup tasks, allowing you to focus on building your application logic. With its intuitive commands and configuration options, you can create a new project, generate essential files, and set up a GitHub repository in just a few steps.

Whether you're a seasoned developer or just starting out, Project Scaffold provides a solid foundation for your development workflow. Say goodbye to manual setup and hello to productivity with this essential tool in your development arsenal.

Get started with Project Scaffold today and revolutionize the way you create and manage your projects!

Installation

To use Project Scaffold globally on your computer, you need to install it as a global package using npm. Open your terminal and run the following command:

npm install -g project-scaffold

This will install Project Scaffold globally, allowing you to use the scaffold command from anywhere on your computer.

Commands

  1. Create a new project:
    Command: scaffold new
    Description: Generates a new project structure based on the selected options.
    Options:

    • Project name (prompted)
    • Use TypeScript (prompted, default: true)
    • Use Tailwind CSS (prompted, default: true)
    • Use Framer Motion (prompted, default: true)
    • Use React Router (prompted, default: true)
  2. Generate boilerplate code:
    Command: scaffold generate
    Description: Generates boilerplate code for components or services.
    Options:

    • File type (prompted, choices: component, service)
    • File name (prompted)
  3. Create a GitHub repository:
    Command: scaffold repo
    Description: Creates a new GitHub repository and clones it locally.
    Options:

    • Repository name (prompted)
    • Repository description (prompted, optional)
    • Private repository (prompted, default: false)
    • GitHub personal access token (prompted, optional if already configured)
  4. Configure default settings:
    Command: scaffold config
    Description: Sets default configuration options for the CLI tool.
    Options:

    • Default project type (prompted, choices: react)
    • GitHub personal access token (prompted, optional)

Examples

  1. Create a new React project with TypeScript, Tailwind CSS, Framer Motion, and React Router:

    $ scaffold new
    ? Enter the project name: my-app
    ? Do you want to use TypeScript? Yes
    ? Do you want to use Tailwind CSS for styling? Yes
    ? Do you want to use Framer Motion for animations? Yes
    ? Do you want to use React Router for routing? Yes
  2. Generate a new React component:

    $ scaffold generate
    ? Select what type of file you want to generate: component
    ? Enter the file name: Header.js
  3. Create a new GitHub repository:

    $ scaffold repo
    ? Enter the repository name: my-repo
    ? Enter the repository description (optional): My awesome project
    ? Do you want to make the repository private? No
    ? Enter your GitHub personal access token (optional if you've already configured it): <your-token>
  4. Set default configuration:

    $ scaffold config
    ? Select a default project type: react
    ? Enter your GitHub personal access token (optional): <your-token>