Skip to content

merzak7/LearnBlog

Repository files navigation

Learning Blog

A simple project to learn TypeScript. (deprecated)

Initialize

npm i -g express gulp tsd typescript nodemon bower
npm install
bower install
tsd install
gulp build

Usage

Start node server and watch for file changes
input: ./build/server/go.js

gulp serve
# or
npm start

Compile *.ts to *.js
input: ./server
output: ./build/server

gulp build
# or
gulp tsc

Watch for *.ts file chages and compile to *.js
input: ./server or ./public
output: ./build/server

gulp watch:server #watch for server .ts changes
gulp watch:public #watch for ./public

Build files for distribution
input: ./server
output: ./dist/server

gulp dist

Cleanup

gulp clean:build   # cleanup ./build
gulp clean:dist    # cleanup ./dist
gulp clean         # cleanup both

About

A simple project to learn TypeScript.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published