Derik Whittaker

Syndication

News


Getting Typescript setup on your build server

In my prior post I talked about how to compile all your typescript files down to a single .js file.  One issue I did not mention was that if you are going to use this AND you have a build server you will need to setup the Typescript installer.

This can be done 2 ways.

  1. Install the Visual Studio 2012 plugin – But I hate having my ide on my build box so this is not my preferred approach
  2. Install the command line tools – This is my preferred approach.

How to get this installed on your build server?

  1. Open a command prompt and ensure you do not have the node package manager installed by typing npm, you should see something like

    image
  2. If you do not have the npm installed head over to the download page to install it
  3. Once you have npm installed open up command prompt and install the typescript compiler using

    npm install –g typescript
  4. now that you have typescript installed you should be able to type tsc on the command line and see below

    image


Now that you have node and typescript installed you should be able to build your projects via your build server.

Till next time,


Posted 12-10-2012 6:05 AM by Derik Whittaker
Filed under: ,

[Advertisement]

Comments

Kori wrote re: Getting Typescript setup on your build server
on 12-11-2012 9:22 AM

If only this worked for TFSPreview (visualstudio.com). :(

buy viagra online wrote re: Getting Typescript setup on your build server
on 02-02-2013 8:44 AM

Oze4T2 Awesome post.Really thank you!

About The CodeBetter.Com Blog Network
CodeBetter.Com FAQ

Our Mission

Advertisers should contact Brendan

Subscribe
Google Reader or Homepage

del.icio.us CodeBetter.com Latest Items
Add to My Yahoo!
Subscribe with Bloglines
Subscribe in NewsGator Online
Subscribe with myFeedster
Add to My AOL
Furl CodeBetter.com Latest Items
Subscribe in Rojo

Member Projects
DimeCasts.Net - Derik Whittaker

Friends of Devlicio.us
Red-Gate Tools For SQL and .NET

NDepend

SlickEdit
 
SmartInspect .NET Logging
NGEDIT: ViEmu and Codekana
LiteAccounting.Com
DevExpress
Fixx
NHibernate Profiler
Unfuddle
Balsamiq Mockups
Scrumy
JetBrains - ReSharper
Umbraco
NServiceBus
RavenDb
Web Sequence Diagrams
Ducksboard<-- NEW Friend!

 



Site Copyright © 2007 CodeBetter.Com
Content Copyright Individual Bloggers

 

Community Server (Commercial Edition)