Skip to content

kazkondo/boilerplate-typescript

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Boilerplate for TypeScript development

A Boilerplate for TypeScript development with Node.js. You can use Visual Studio Code for debug the code.

Quickstart

You need to install Node.js before test the code.

1.Install tools

npm install -g typescript

npm install -g typings

npm install -g gulp

npm install -g mocha

npm install -g istanbul

2.Install related node_mosules

npm install

3.Install typefiles for TypeScript

typings install

4.Build

npm run build

5.Start using npm

npm start

You can also run and debug the code using Visual Studio Code.

Other commands

Test

npm test

Show test coverage

npm run test-coverage

Build

gulp build

Build with watch

gulp watch

Clean

gulp clean

Rebuild

gulp rebuild

Build typescript definitions

gulp build-ts-def

About

A Boilerplate for TypeScript development with Node.js.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 66.0%
  • TypeScript 34.0%