Skip to content

Commit 10eed22

Browse files
authored
Merge pull request #78 from NativeScript/lini/remove-webpack-deps
chor: update webpack and remove unneeded dependencies
2 parents fac3f7b + a9e2849 commit 10eed22

File tree

3 files changed

+24
-50
lines changed

3 files changed

+24
-50
lines changed

demo-angular/package.json

Lines changed: 13 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
}
1313
},
1414
"dependencies": {
15-
"@angular/common": "~6.0.0",
16-
"@angular/compiler": "~6.0.0",
17-
"@angular/core": "~6.0.0",
18-
"@angular/forms": "~6.0.0",
19-
"@angular/http": "~6.0.0",
20-
"@angular/platform-browser": "~6.0.0",
21-
"@angular/platform-browser-dynamic": "~6.0.0",
22-
"@angular/router": "~6.0.0",
23-
"nativescript-angular": "^6.0.0",
15+
"@angular/common": "~6.0.6",
16+
"@angular/compiler": "~6.0.6",
17+
"@angular/core": "~6.0.6",
18+
"@angular/forms": "~6.0.6",
19+
"@angular/http": "~6.0.6",
20+
"@angular/platform-browser": "~6.0.6",
21+
"@angular/platform-browser-dynamic": "~6.0.6",
22+
"@angular/router": "~6.0.6",
23+
"nativescript-angular": "~6.0.6",
2424
"nativescript-fresco": "../src",
2525
"nativescript-theme-core": "^1.0.4",
2626
"nativescript-ui-listview": "^3.5.0",
@@ -30,16 +30,10 @@
3030
},
3131
"devDependencies": {
3232
"htmlparser2": "^3.9.2",
33-
"@angular-devkit/core": "~0.5.5",
34-
"@angular/compiler-cli": "~6.0.0",
35-
"@ngtools/webpack": "~6.0.0",
33+
"@angular/compiler-cli": "~6.1.0-beta.1",
3634
"babel-traverse": "6.24.1",
3735
"babel-types": "6.24.1",
3836
"babylon": "6.16.1",
39-
"clean-webpack-plugin": "~0.1.19",
40-
"copy-webpack-plugin": "~4.5.1",
41-
"css-loader": "~0.28.7",
42-
"extract-text-webpack-plugin": "~3.0.2",
4337
"filewalker": "0.1.2",
4438
"jasmine-core": "^2.5.2",
4539
"karma": "^1.3.0",
@@ -48,19 +42,12 @@
4842
"lazy": "1.0.11",
4943
"nativescript-css-loader": "~0.26.0",
5044
"nativescript-dev-typescript": "^0.7.1",
51-
"nativescript-dev-webpack": "^0.12.0",
52-
"nativescript-worker-loader": "~0.8.1",
53-
"raw-loader": "~0.5.1",
54-
"resolve-url-loader": "~2.3.0",
45+
"nativescript-dev-webpack": "~0.14.0",
5546
"tns-platform-declarations": "^3.0.0",
5647
"tslint": "~5.4.3",
5748
"typescript": "~2.7.2",
58-
"uglifyjs-webpack-plugin": "~1.2.4",
59-
"webpack": "~4.5.0",
60-
"webpack-bundle-analyzer": "^2.9.1",
61-
"webpack-cli": "~2.0.14",
62-
"webpack-sources": "~1.1.0",
63-
"zone.js": "^0.8.4"
49+
"zone.js": "^0.8.4",
50+
"@angular-devkit/build-angular": "~0.7.0-rc.0"
6451
},
6552
"scripts": {
6653
"build.plugin": "cd ../src && npm run build",

demo/package.json

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,14 @@
1616
"tns-core-modules": "^4.1.0"
1717
},
1818
"devDependencies": {
19-
"awesome-typescript-loader": "~5.0.0",
2019
"babel-traverse": "6.26.0",
2120
"babel-types": "6.26.0",
2221
"babylon": "6.18.0",
23-
"clean-webpack-plugin": "~0.1.19",
24-
"copy-webpack-plugin": "~4.5.1",
25-
"css-loader": "~0.28.7",
26-
"extract-text-webpack-plugin": "~3.0.2",
2722
"lazy": "1.0.11",
2823
"nativescript-dev-typescript": "^0.7.1",
29-
"nativescript-dev-webpack": "^0.12.0",
30-
"nativescript-worker-loader": "~0.8.1",
31-
"raw-loader": "~0.5.1",
32-
"resolve-url-loader": "~2.3.0",
24+
"nativescript-dev-webpack": "~0.14.0",
3325
"typescript": "~2.7.2",
3426
"tns-platform-declarations": "^4.1.0",
35-
"uglifyjs-webpack-plugin": "~1.2.4",
36-
"webpack": "~4.5.0",
37-
"webpack-bundle-analyzer": "^2.9.1",
38-
"webpack-cli": "~2.0.14",
39-
"webpack-sources": "~1.1.0",
4027
"tslint": "^5.0.0"
4128
},
4229
"scripts": {

src/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@
2424
}
2525
},
2626
"devDependencies": {
27-
"@angular/common": "~6.0.0",
28-
"@angular/compiler": "~6.0.0",
29-
"@angular/compiler-cli": "~6.0.0",
30-
"@angular/core": "~6.0.0",
31-
"@angular/forms": "~6.0.0",
32-
"@angular/http": "~6.0.0",
33-
"@angular/platform-browser": "~6.0.0",
34-
"@angular/platform-browser-dynamic": "~6.0.0",
27+
"@angular/common": "~6.0.6",
28+
"@angular/compiler": "~6.0.6",
29+
"@angular/compiler-cli": "~6.0.6",
30+
"@angular/core": "~6.0.6",
31+
"@angular/forms": "~6.0.6",
32+
"@angular/http": "~6.0.6",
33+
"@angular/platform-browser": "~6.0.6",
34+
"@angular/platform-browser-dynamic": "~6.0.6",
3535
"@angular/router": "~6.0.0",
36-
"nativescript-angular": "^6.0.0",
36+
"nativescript-angular": "~6.0.6",
3737
"rxjs": "~6.1.0",
3838
"rimraf": "^2.5.0",
3939
"tns-core-modules": "4.1.0",
4040
"tns-platform-declarations": "4.1.0",
4141
"typescript": "~2.7.2",
42-
"zone.js": "0.8.4",
42+
"zone.js": "~0.8.26",
4343
"tslint": "^5.0.0"
4444
},
4545
"peerDependencies": {

0 commit comments

Comments
 (0)