You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+43-23Lines changed: 43 additions & 23 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,17 +2,6 @@
2
2
3
3
[TypeScript](http://www.typescriptlang.org/) is a language for application-scale JavaScript. TypeScript adds optional types, classes, and modules to JavaScript. TypeScript supports tools for large-scale JavaScript applications for any browser, for any host, on any OS. TypeScript compiles to readable, standards-based JavaScript. Try it out at the [playground](http://www.typescriptlang.org/Playground), and stay up to date via [our blog](http://blogs.msdn.com/typescript) and [twitter account](https://twitter.com/typescriptlang).
4
4
5
-
## Installation
6
-
7
-
```shell
8
-
npm install -g typescript
9
-
```
10
-
11
-
## Usage
12
-
13
-
```shell
14
-
tsc hello.ts
15
-
```
16
5
17
6
## Contribute
18
7
@@ -34,18 +23,49 @@ There are many ways to [contribute](https://github.com/Microsoft/TypeScript/blob
34
23
35
24
## Building
36
25
37
-
1. Install [node](http://nodejs.org/) if you haven't already
38
-
2. Install dependencies ([Jake](https://github.com/mde/jake), [mocha](http://visionmedia.github.io/mocha/), [Chai](http://chaijs.com/) and [browserify](http://browserify.org/) the tool we use to build our compiler. To do this, run `npm install`.
39
-
3. To use jake, run one of the following commands:
40
-
- jake local - This builds the compiler. The output is in built/local in the public directory
41
-
- jake clean - deletes the build compiler
42
-
- jake LKG - This replaces the LKG (last known good) version of the compiler with the built one.
43
-
- This is a bootstrapping step to be executed whenever the built compiler reaches a stable state.
44
-
- jake tests - This builds the test infrastructure, using the built compiler.
45
-
- jake runtests - This runs the tests, using the built compiler and built test infrastructure.
46
-
- You can also override the host or specify a test for this command. Use host=<hostName> or tests=<testPath>.
47
-
- jake baseline-accept - This replaces the baseline test results with the results obtained from jake runtests.
48
-
- jake -T lists the above commands.
26
+
In order to build the TypeScript compiler, ensure that you have [Git](http://git-scm.com/downloads) and [Node.js]((http://nodejs.org/) installed.
0 commit comments