1.3.2 • Published 2 years ago

create-typescript-application v1.3.2

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

Create Typescript Application

Quickly create a new Typescript application for the NodeJS runtime. :rocket:

Quick Overview

npx create-typescript-application

We recommend running through npx so that you always use the latest version.

Creating an App

Executing npx create-typescript-application creates a new directory with the chosen app name inside the current folder and install the basic template dependencies via npm.

The new application project structure looks like:

my-new-app
├── README.md
├── tsconfig.json
├── package.json
├── .gitignore
├── .npmrc
├── .eslintrc.json
├── src
    └── index.ts
└── test
    └── index.spec.ts

Once the installation is done, you can open your project folder:

cd my-new-app

Inside the newly created project you can run your new application:

npm start

You have a basic test setup with Mocha:

npm test

What’s Included?

Your new project will have everything you need to start creating a modern application: :sunglasses:

  • Typescript configuration with reasonable defaults;
  • Auxiliary npm scripts to build, test and develop your application locally:
    • npm run start:dev
    • npm run test:dev
  • VsCode integration that allows you to debug your code and tests with breakpoints;
  • Testing configuration via Sinon, Mocha and Chai;
  • Lint configuration via ESLint and typescript plugins.

Issues

If something doesn’t work, please open an issue.

License

Create Typescript Application is open source software licensed as MIT.

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago