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

generator-simple-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

generator-simple-ts

A Yeoman Generator for a simple Typescript project structure

  • 0.2.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1
decreased by-83.33%
Maintainers
1
Weekly downloads
 
Created
Source

generator-simple-ts

A Yeoman Generator for creating a simple Typescript project structure.

Generates a Typescript project structure corresponding to the below diagram.

+-- <project-name>/
|   +-- src/
|   |   +-- index.ts
|   +-- package.json
|   +-- tsconfig.json
|   +-- tslint.json
|   +-- LICENSE
|   +-- README.md
|   +-- CHANGELOG.md
|   +-- [.git/]
|   +-- [.gitignore]

Usage

Standalone

  1. Install Yeoman globally
npm i -g yo
  1. Install simple-ts
npm i -g generator-simple-ts
  1. Run generator
yo simple-ts
  1. Follow the prompts.

Composing with other Generators

TODO

Prompts

1. Project Name

The name for the project. Will be used for the name of the top level directory holding the project.

2. Version

The initial version number to use for the project. Defaults to 0.1.0

3. Description

The description of the project.

4. Author

The author of the project's name.

5. Email

The author's email address.

6. License

The type of license to use for the project. Offers a list of options.

7. Github

Whether to initialise a git repository in the project root.

8. Github user

The Github username to use in generating the repository URL. Only prompts when the option to initialise a git repository was selected. Generates a URL in the form in the package.json:

https://github.com/<github-user>/<project-name>.git

Keywords

FAQs

Package last updated on 26 Feb 2019

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