0.3.2 • Published 5 years ago

generator-simple-ts v0.3.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

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. Git

Whether to initialise a git repository in the project root.

8. Git provider

The Git provider for the remote repo. Currently supports: Github, Gitlab and Bitbucket.

9. Git user

The Git 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
0.3.2

5 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.2.0

5 years ago

0.1.0

5 years ago