Skip to content

Commit d6c14c8

Browse files
authored
Merge pull request #196 from NativeScript/lini/remove-webpack-deps
chor: update webpack and remove unneeded dependencies
2 parents fc5ea15 + a8f42d4 commit d6c14c8

File tree

2 files changed

+15
-41
lines changed

2 files changed

+15
-41
lines changed

demo-angular/package.json

+13-26
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@
99
}
1010
},
1111
"dependencies": {
12-
"@angular/common": "~6.0.0",
13-
"@angular/compiler": "~6.0.0",
14-
"@angular/core": "~6.0.0",
15-
"@angular/forms": "~6.0.0",
16-
"@angular/http": "~6.0.0",
17-
"@angular/platform-browser": "~6.0.0",
18-
"@angular/platform-browser-dynamic": "~6.0.0",
19-
"@angular/router": "~6.0.0",
20-
"nativescript-angular": "^6.0.0",
12+
"@angular/common": "~6.0.6",
13+
"@angular/compiler": "~6.0.6",
14+
"@angular/core": "~6.0.6",
15+
"@angular/forms": "~6.0.6",
16+
"@angular/http": "~6.0.6",
17+
"@angular/platform-browser": "~6.0.6",
18+
"@angular/platform-browser-dynamic": "~6.0.6",
19+
"@angular/router": "~6.0.6",
20+
"nativescript-angular": "~6.0.6",
2121
"nativescript-imagepicker": "../src",
2222
"nativescript-theme-core": "^1.0.4",
2323
"nativescript-unit-test-runner": "^0.3.4",
@@ -26,16 +26,10 @@
2626
"tns-core-modules": "^4.0.0"
2727
},
2828
"devDependencies": {
29-
"@angular-devkit/core": "~0.5.5",
30-
"@angular/compiler-cli": "~6.0.0",
31-
"@ngtools/webpack": "~6.0.0",
29+
"@angular/compiler-cli": "~6.1.0-beta.1",
3230
"babel-traverse": "6.24.1",
3331
"babel-types": "6.24.1",
3432
"babylon": "6.16.1",
35-
"clean-webpack-plugin": "~0.1.19",
36-
"copy-webpack-plugin": "~4.5.1",
37-
"css-loader": "~0.28.7",
38-
"extract-text-webpack-plugin": "~3.0.2",
3933
"filewalker": "0.1.2",
4034
"jasmine-core": "^2.5.2",
4135
"karma": "^1.3.0",
@@ -44,19 +38,12 @@
4438
"lazy": "1.0.11",
4539
"nativescript-css-loader": "~0.26.0",
4640
"nativescript-dev-typescript": "^0.6.0",
47-
"nativescript-dev-webpack": "^0.12.0",
48-
"nativescript-worker-loader": "~0.8.1",
49-
"raw-loader": "~0.5.1",
50-
"resolve-url-loader": "~2.3.0",
41+
"nativescript-dev-webpack": "~0.14.0",
5142
"tns-platform-declarations": "^3.0.0",
5243
"tslint": "~5.4.3",
5344
"typescript": "~2.7.2",
54-
"uglifyjs-webpack-plugin": "~1.2.4",
55-
"webpack": "~4.5.0",
56-
"webpack-bundle-analyzer": "^2.9.1",
57-
"webpack-cli": "~2.0.14",
58-
"webpack-sources": "~1.1.0",
59-
"zone.js": "^0.8.4"
45+
"zone.js": "^0.8.4",
46+
"@angular-devkit/build-angular": "~0.7.0-rc.0"
6047
},
6148
"scripts": {
6249
"build.plugin": "cd ../src && npm run build",

demo/package.json

+2-15
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,11 @@
1818
"@types/chai": "^4.0.2",
1919
"@types/mocha": "^2.2.41",
2020
"@types/node": "^7.0.5",
21-
"awesome-typescript-loader": "~5.0.0",
2221
"babel-traverse": "6.24.1",
2322
"babel-types": "6.24.1",
2423
"babylon": "6.16.1",
2524
"chai": "~4.1.1",
2625
"chai-as-promised": "~7.1.1",
27-
"clean-webpack-plugin": "~0.1.19",
28-
"copy-webpack-plugin": "~4.5.1",
29-
"css-loader": "~0.28.7",
30-
"extract-text-webpack-plugin": "~3.0.2",
3126
"filewalker": "0.1.2",
3227
"jasmine-core": "^2.5.2",
3328
"karma": "^1.3.0",
@@ -40,18 +35,10 @@
4035
"nativescript-css-loader": "~0.26.0",
4136
"nativescript-dev-appium": "3.1.0",
4237
"nativescript-dev-typescript": "^0.6.0",
43-
"nativescript-dev-webpack": "^0.12.0",
44-
"nativescript-worker-loader": "~0.8.1",
45-
"raw-loader": "~0.5.1",
46-
"resolve-url-loader": "~2.3.0",
38+
"nativescript-dev-webpack": "~0.14.0",
4739
"tns-platform-declarations": "^3.0.0",
4840
"tslint": "~5.4.3",
49-
"typescript": "~2.7.0",
50-
"uglifyjs-webpack-plugin": "~1.2.4",
51-
"webpack": "~4.5.0",
52-
"webpack-bundle-analyzer": "^2.9.1",
53-
"webpack-cli": "~2.0.14",
54-
"webpack-sources": "~1.1.0"
41+
"typescript": "~2.7.0"
5542
},
5643
"scripts": {
5744
"build.plugin": "cd ../src && npm run build",

0 commit comments

Comments
 (0)