schafott-cli
v1.3.0
Published
Scaffold CLI is a command line tool to generate scaffolds for your projects. It takes away the pain of creating the same files and folders over and over again for every new library project you start. Also it comes with ready-to-use configurations for Type
Downloads
45
Maintainers
Readme
schafott-cli
Scaffold CLI is a command line tool to generate scaffolds for your projects. It takes away the pain of creating the same files and folders over and over again for every new library project you start. Also it comes with ready-to-use configurations for TypeScript, Prettier, ESLint, Standard and Changesets so you can focus on writing code.
Installation
Install the CLI globally to use it from anywhere.
npm install -g schafott-cli
Usage
Run the CLI in the directory where you want to create the scaffold or provide a path when running the CLI.
schafott
Table of Contents
Current supported scaffolds:
- [x] NodeJS / Browser Utility Library
- [ ] React Component Library
- [ ] Angular Component Library
- [ ] Vue Component Library
NodeJS / Browser Utility Library
Generates a scaffold for a NodeJS / Browser Utility Library.
Features
- [x] TypeScript (Language)
- [x] Prettier (Code Formatter)
- [x] ESLint (Code Linter)
- [x] Standard (Code Style)
- [x] Changesets (Versioning)
- [x] Jest (Testing)
Please note that the generated scaffold is a starting point and should be adjusted to your needs.
Predefined Scripts
dev
- Starts the development serverbuild
- Builds the library
React Component Library (WIP - Features not yet tested)
Generates a scaffold for a React Component Library.
Features
- [x] TypeScript (Language)
- [x] Prettier (Code Formatter)
- [x] ESLint (Code Linter)
- [x] Changesets (Versioning)
- [x] Jest (Testing) - Includes React Testing Library
- [ ] Storybook (Component Development)
Predefined Scripts
dev
- Starts the development serverbuild
- Builds the library
License
MIT