Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

inpyjamas/generator-defaults

Repository files navigation

@inpyjamas/generator-defaults

npm (scoped) Node.js Test CI Build with love

About

my personal opinionated Yeoman generator for Typescript, Eslint, Prettier, Jest, Nodemon, Husky, Jekyll, Webpack…

With force upgrade all packages build in.

Most configuration is handled using @inpyjamas/scripts.

Except for

Installing

npm install yo -g
npm install @inpyjamas/generator-defaults -g

Usage

yo @inpyjamas/defaults
# Will prompt for your projects name and what type of project you want
# currently typescript only

This will create (in the current working directory) the following setup(s)

Type typescript-express

Creates a setup with:

  • Typescript
  • Jest
  • Eslint
  • Prettier
  • Nodemon
  • Husky
  • Lint-Staged
  • Express with Morgan, Cors and Dotenv
  • CZ Conventional Change-log
  • Renovate Bot

Type typescript-jeykll-webpack

  • Typescript
  • Jekyll
  • Webpack (for Ts and scss/postcss)
  • Jest
  • Eslint
  • Prettier
  • Husky
  • Lint-Staged
  • CZ Conventional Change-log
  • Renovate Bot