Skip to content

Commit 0957782

Browse files
committed
chore: move unused core dependencies to devDependencies
* Moves the `router` and `platform-browser-dynamic` to the `devDependencies` since they're only used in tests and the demo app. * Removes a duplicate `@types/selenium-webdriver` which probably got into the `package.json` due to a faulty merge.
1 parent 3cf25a0 commit 0957782

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@
3131
"@angular/forms": "^2.2.0",
3232
"@angular/http": "^2.2.0",
3333
"@angular/platform-browser": "^2.2.0",
34-
"@angular/platform-browser-dynamic": "^2.2.0",
35-
"@angular/router": "^3.2.0",
3634
"core-js": "^2.4.1",
3735
"hammerjs": "^2.0.8",
3836
"rxjs": "5.0.0-beta.12",
@@ -42,6 +40,8 @@
4240
"devDependencies": {
4341
"@angular/compiler-cli": "^2.2.0",
4442
"@angular/platform-server": "^2.2.0",
43+
"@angular/platform-browser-dynamic": "^2.2.0",
44+
"@angular/router": "^3.2.0",
4545
"@types/glob": "^5.0.29",
4646
"@types/gulp": "^3.8.29",
4747
"@types/hammerjs": "^2.0.30",
@@ -55,7 +55,6 @@
5555
"@types/selenium-webdriver": "^2.53.36",
5656
"axe-core": "^2.0.7",
5757
"axe-webdriverjs": "^0.4.0",
58-
"@types/selenium-webdriver": "^2.53.36",
5958
"conventional-changelog": "^1.1.0",
6059
"dgeni": "^0.4.2",
6160
"dgeni-packages": "^0.16.2",

src/lib/system-config-spec.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ System.config({
1818
'@angular/http/testing': 'vendor/@angular/http/bundles/http-testing.umd.js',
1919
'@angular/forms': 'vendor/@angular/forms/bundles/forms.umd.js',
2020
'@angular/forms/testing': 'vendor/@angular/forms/bundles/forms-testing.umd.js',
21-
'@angular/router': 'vendor/@angular/router/bundles/router.umd.js',
22-
'@angular/router/testing': 'vendor/@angular/router/bundles/router-testing.umd.js',
2321
'@angular/platform-browser': 'vendor/@angular/platform-browser/bundles/platform-browser.umd.js',
2422
'@angular/platform-browser/testing':
2523
'vendor/@angular/platform-browser/bundles/platform-browser-testing.umd.js',

0 commit comments

Comments
 (0)