New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@baltpeter/generator-ts

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@baltpeter/generator-ts

A Yeoman generator that Benjamin Altpeter uses for scaffolding TypeScript modules.

  • 1.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

@baltpeter/generator-ts

A Yeoman generator that I use for scaffolding TypeScript modules.

This Yeoman generator generates the TypeScript boilerplate I use for my modules, using my configs for ESLint, Prettier and TypeScript. You probably don't want to use this unless you're working on a project with me.

Installation

You first need to install yo and this generator:

npm i -g yo @baltpeter/generator-ts

Usage

After installing, you can run the generator with:

yo @baltpeter/ts

The generator will interactively prompt you for the module name and some other information. You can also pass most of these options as command line arguments. Use yo @baltpeter/ts --help to see all available options:

$ yo @baltpeter/ts --help
Usage:
  yo @baltpeter/ts:app [<moduleName>] [options]

Options:
  -h,   --help           # Print the generator's options and usage
        --skip-cache     # Do not remember prompt answers                                   Default: false
        --skip-install   # Do not automatically install dependencies                        Default: false
        --force-install  # Fail on install dependencies error                               Default: false
        --ask-answered   # Show prompts for already configured options                      Default: false
        --description    # A short one-sentence description of the module.
        --name           # Your name.
        --email          # Your email.
        --githubRepo     # The GitHub repository where the module will be stored.
        --useTypeDoc     # Whether to use TypeDoc for generating the API docs as Markdown.

Arguments:
  moduleName  # The name of the module (this will also be the output directory).  Type: String  Required: false

License

This generator and the boilerplate it generates are licensed under the CC0 license, see the LICENSE file for details.

Keywords

FAQs

Package last updated on 22 Jun 2023

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc