New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

create-react-blueprint

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-react-blueprint

Command line tool to scaffold React blueprints and components

latest
npmnpm
Version
0.1.7
Version published
Maintainers
1
Created
Source

create-react-blueprint

Command line helper for scaffolding React blueprints. Designed to be invoked through npm create react-blueprint (or npx create-react-blueprint).

Usage

From the root of your React project, run:

npm create react-blueprint component Button

This creates the following files:

src/components/Button/Button.tsx
src/components/Button/Button.module.css
src/components/Button/index.ts

The new component is generated from the templates in src/templates/component. Edit those files to customise the scaffold that is produced.

Template Tokens

The component scaffold supports the following template tokens:

  • {{ComponentName}} → the PascalCased component name (e.g. Button)
  • {{componentName}} → the camelCased variant (e.g. button)

You can safely add your own files to the template directory; any file ending with .tpl is rendered and written to the target folder, with ComponentName in the filename replaced by the provided name.

Local Development

node bin/create-react-blueprint.js --help
node bin/create-react-blueprint.js component SampleComponent

The CLI writes relative to the current working directory, so run it inside the project you want to scaffold.

Keywords

create

FAQs

Package last updated on 12 Oct 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts