Skip to content

Commit

Permalink
This is my first shot which did not work
Browse files Browse the repository at this point in the history
  • Loading branch information
jrgleason committed May 21, 2016
1 parent d57f5be commit 5de15b6
Show file tree
Hide file tree
Showing 6 changed files with 74 additions and 9 deletions.
3 changes: 2 additions & 1 deletion app/components/app.component.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import {Component} from 'angular2/core';
import {Component} from '@angular/core';

@Component({
selector: 'my-app',
templateUrl: 'components/app.component.html',
Expand Down
9 changes: 9 additions & 0 deletions app/components/app.component.ts.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
import {Component} from 'angular2/core';
@Component({
selector: 'my-app',
templateUrl: 'components/app.component.html',
styleUrls: ['components/app.component.css']
})
export class AppComponent {
name: string = "Angular 2 on Express";
}
2 changes: 1 addition & 1 deletion app/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import {bootstrap} from 'angular2/platform/browser'
import {bootstrap} from '@angular/platform-browser-dynamic';
import {AppComponent} from './components/app.component'

bootstrap(AppComponent);
4 changes: 4 additions & 0 deletions app/main.ts.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import {bootstrap} from 'angular2/platform/browser'
import {AppComponent} from './components/app.component'

bootstrap(AppComponent);
26 changes: 19 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,19 +7,31 @@
"postinstall": "typings install && tsc"
},
"dependencies": {
"angular2": "2.0.0-beta.9",
"systemjs": "0.19.24",
"es6-promise": "^3.0.2",
"es6-shim": "^0.33.3",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.5.15",
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
"express": "~4.13.1",
"jade": "~1.11.0",
"morgan": "~1.6.1",
"serve-favicon": "~2.3.0",
"stylus": "0.42.3",
"@angular/common": "2.0.0-rc.1",
"@angular/compiler": "2.0.0-rc.1",
"@angular/core": "2.0.0-rc.1",
"@angular/http": "2.0.0-rc.1",
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/router": "2.0.0-rc.1",
"@angular/router-deprecated": "2.0.0-rc.1",
"@angular/upgrade": "2.0.0-rc.1",

"systemjs": "0.19.27",
"core-js": "^2.4.0",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.6",
"zone.js": "0.5.15",

"angular2-in-memory-web-api": "0.0.9",
"typings": "^0.6.8",
"typescript": "^1.8.0"
},
Expand Down
39 changes: 39 additions & 0 deletions package.json.bak
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"name": "angular2-express-slim",
"version": "0.0.0",
"private": true,
"scripts": {
"start": "concurrently \"tsc -w\" \"node ./bin/www\" ",
"postinstall": "typings install && tsc"
},
"dependencies": {

"@angular/common": "2.0.0-rc.1",
"@angular/compiler": "2.0.0-rc.1",
"@angular/core": "2.0.0-rc.1",
"@angular/http": "2.0.0-rc.1",
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/router": "2.0.0-rc.1",
"@angular/router-deprecated": "2.0.0-rc.1",
"@angular/upgrade": "2.0.0-rc.1",

"systemjs": "0.19.24",
"es6-promise": "^3.0.2",
"es6-shim": "^0.33.3",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.5.15",
"body-parser": "~1.13.2",
"cookie-parser": "~1.3.5",
"debug": "~2.2.0",
"express": "~4.13.1",
"morgan": "~1.6.1",
"serve-favicon": "~2.3.0",
"typings": "^0.6.8",
"typescript": "^1.8.0"
},
"devDependencies": {
"concurrently": "^2.0.0"
}
}

0 comments on commit 5de15b6

Please sign in to comment.