From b3eb189ec37a4102f4eaaef7241ebffbf3dde53d Mon Sep 17 00:00:00 2001 From: Foxandxss Date: Sat, 12 Mar 2016 20:46:47 +0100 Subject: [PATCH] docs(quickstart): make a few corrections closes #956 --- .../docs/_examples/quickstart/ts/app/main.ts | 4 ++-- public/docs/ts/latest/quickstart.jade | 18 ++++++++---------- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/public/docs/_examples/quickstart/ts/app/main.ts b/public/docs/_examples/quickstart/ts/app/main.ts index effe7c896f..761e41bc8f 100644 --- a/public/docs/_examples/quickstart/ts/app/main.ts +++ b/public/docs/_examples/quickstart/ts/app/main.ts @@ -1,7 +1,7 @@ // #docregion -import {bootstrap} from 'angular2/platform/browser' +import {bootstrap} from 'angular2/platform/browser'; // #docregion app-component -import {AppComponent} from './app.component' +import {AppComponent} from './app.component'; // #enddocregion app-component bootstrap(AppComponent); diff --git a/public/docs/ts/latest/quickstart.jade b/public/docs/ts/latest/quickstart.jade index 85de3a236c..f5cf27c6a0 100644 --- a/public/docs/ts/latest/quickstart.jade +++ b/public/docs/ts/latest/quickstart.jade @@ -119,22 +119,20 @@ a(id="package-json") Here's what these scripts do: - * `npm start` - run the compiler and a server at the same time, both in "watch mode" + * `npm start` - runs the compiler and a server at the same time, both in "watch mode" - * `npm run tsc` - run the TypeScript compiler once + * `npm run tsc` - runs the TypeScript compiler once - * `npm run tsc:w` - run the TypeScript compiler in watch mode; - the process keeps running, awaiting changes to TypeScript files and re-compiling when it sees them. + * `npm run tsc:w` - runs the TypeScript compiler in watch mode; + the process keeps running, awaiting changes to TypeScript files and re-compiling when it sees them - * `npm run lite` - run the lite-server, - a light-weight, static file server, written and maintained by - John Papa - with excellent support for Angular apps that use routing. + * `npm run lite` - runs the lite-server, + a light-weight, static file server with excellent support for Angular apps that use routing * `npm run typings` - runs the [*typings* tool](#typings) - * `npm postinstall` - called by *npm* automatically *after* it successfully completes package installation. - This script installs the [TypeScript definition files](#typings) this app requires. + * `npm run postinstall` - called by *npm* automatically *after* it successfully completes package installation. + This script installs the [TypeScript definition files](#typings) defined in `typings.json` :marked **Install these packages** by entering the following *npm* command in a terminal window (command window in Windows):