1.4.1 • Published 3 years ago

ts-babel-generator v1.4.1

Weekly downloads
18
License
MIT
Repository
github
Last release
3 years ago

NPM version Known Vulnerabilities npm NPM downloads Gitter

Why

I got tired of either having to clone the sample repo provided or run through the steps myself everytime I wanted to set up a project.

Install

To install ts-babel-generator as a global command, you can use:

$ npm install -g ts-babel-generator

Usage

To use ts-babel-generator, you can call the command with the name of the project you want to create like so:

$ ts-babel-generator helloworld

This will create a project called 'helloworld' in the current directory that you are in.

Flags

To customize the output project, you can use a combination of the flags below:

ts-babel-generator [options]

-o, --output        Specify the directory to save the the project (current working directory)
-w, --webpack       Indicates whether webpack should be used for this project. (false)
-g, --git           Indicates that this project is going to be using git and adds a .gitignore file to it. (true)
-c, --changelog     Indicates whether a basic CHANGELOG file should be created or not. (true)
-r, --rollup        Indicates whether rollup should be used for this project. (false)
-s, --silent        Indicates whether output should be hidden or not.

Examples

Creating a webpack project:

$ ts-babel-generator hellowebpack -w

Creating a rollup project:

$ ts-babel-generator hellorollup -r

Test

To run the tests available, use:

$ npm run test

Note: The tests take a while to complete as there are generous timeouts to ensure that files have been created and packages have been installed.

License

MIT

1.4.1

3 years ago

1.4.0

3 years ago

1.3.0

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.3.1

5 years ago

0.3.0

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago