Skip to content
This repository was archived by the owner on Dec 21, 2017. It is now read-only.

Commit 7d8314b

Browse files
edward pantojaedward pantoja
authored andcommitted
Modified config files for Angular2 RC6
1 parent 3b541cf commit 7d8314b

4 files changed

Lines changed: 24 additions & 21 deletions

File tree

package.json

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,27 +22,31 @@
2222
"author": "Tom Wayson <tom@tomwayson.com>",
2323
"license": "MIT",
2424
"dependencies": {
25-
"@angular/common": "2.0.0-rc.5",
26-
"@angular/compiler": "2.0.0-rc.5",
27-
"@angular/core": "2.0.0-rc.5",
28-
"@angular/forms": "0.3.0",
29-
"@angular/http": "2.0.0-rc.5",
30-
"@angular/platform-browser": "2.0.0-rc.5",
31-
"@angular/platform-browser-dynamic": "2.0.0-rc.5",
32-
"@angular/router": "3.0.0-rc.1",
33-
"@angular/router-deprecated": "2.0.0-rc.2",
34-
"@angular/upgrade": "2.0.0-rc.5",
35-
"core-js": "^2.4.0",
25+
"@angular/common": "2.0.0-rc.6",
26+
"@angular/compiler": "2.0.0-rc.6",
27+
"@angular/core": "2.0.0-rc.6",
28+
"@angular/forms": "2.0.0-rc.6",
29+
"@angular/http": "2.0.0-rc.6",
30+
"@angular/platform-browser": "2.0.0-rc.6",
31+
"@angular/platform-browser-dynamic": "2.0.0-rc.6",
32+
"@angular/router": "3.0.0-rc.2",
33+
"@angular/upgrade": "2.0.0-rc.6",
34+
35+
"core-js": "^2.4.1",
3636
"reflect-metadata": "^0.1.3",
37-
"rxjs": "5.0.0-beta.6",
38-
"zone.js": "^0.6.12"
37+
"rxjs": "5.0.0-beta.11",
38+
"systemjs": "0.19.27",
39+
"zone.js": "^0.6.17",
40+
41+
"angular2-in-memory-web-api": "0.0.18",
42+
"bootstrap": "^3.3.6"
3943
},
4044
"devDependencies": {
4145
"concurrently": "^2.0.0",
4246
"lite-server": "^2.2.0",
4347
"ts-loader": "^0.8.2",
4448
"typescript": "^1.8.10",
45-
"typings": "^1.0.4",
49+
"typings": "^1.3.2",
4650
"webpack": "^1.13.1"
4751
}
4852
}

systemjs.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
var map = {
66
'app': 'app', // 'dist',
77
'@angular': 'node_modules/@angular',
8+
'angular2-in-memory-web-api': 'node_modules/angular2-in-memory-web-api',
89
'rxjs': 'node_modules/rxjs'
910
};
1011

1112
// packages tells the System loader how to load when no filename and/or no extension
1213
var packages = {
1314
'app': { main: 'boot.js', defaultExtension: 'js' },
15+
'angular2-in-memory-web-api': {main: './index.js',defaultExtension:'js'},
1416
'rxjs': { defaultExtension: 'js' },
1517
'esri': { defaultExtension: 'js' }
1618
};
@@ -21,9 +23,7 @@
2123
'http',
2224
'platform-browser',
2325
'platform-browser-dynamic',
24-
'router',
25-
'router-deprecated',
26-
'upgrade',
26+
'router'
2727
];
2828
// Add package entries for angular packages
2929
ngPackageNames.forEach(function(pkgName) {

tsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"compilerOptions": {
33
"target": "es5",
4-
"module": "amd",
4+
"module": "commonjs",
55
"moduleResolution": "node",
66
"sourceMap": true,
77
"emitDecoratorMetadata": true,

webpack.config.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,13 @@ module.exports = {
1212
"rxjs",
1313
"zone.js",
1414
'@angular/core',
15+
'@angular/common',
1516
"@angular/compiler",
1617
"@angular/core",
1718
"@angular/http",
1819
"@angular/platform-browser",
1920
"@angular/platform-browser-dynamic",
20-
"@angular/router",
21-
"@angular/router-deprecated",
22-
"@angular/upgrade"
21+
"@angular/router"
2322
]
2423
},
2524
output: {

0 commit comments

Comments
 (0)