/generate

A collection of generators for setting up JavaScript/TypeScript projects

Primary LanguageJavaScript

JavaScript/TypeScript Generators

This is a collection of generators for setting up JavaScript/TypeScript projects. It's built with plop.

TL/DR

npx @landonschropp/generate

The Generators

This project includes several helpful generators.

  • initialize: Creates a package.json file. This is similar to pnpm init, but includes different options.
  • pretter: Installs and configures Prettier.
  • only-allow: Configures only-allow.
  • eslint: Installs and configures ESLint.
  • typescript: Installs and configures TypeScript.
  • husky: Installs and configures Husky and lint-staged.

You can run a specific generator via NPX like this:

npx @landonschropp/generate <generator>

You can run any of these generators independently, but if you're running more than one do so in the order listed above.