From 78dfb00c899a5f8b9f4169fbf0922079508fceba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A6=99=E8=9B=99=E7=A7=8D=E5=AD=90?= Date: Mon, 4 Feb 2019 09:18:48 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=E4=B8=80?= =?UTF-8?q?=E4=B8=AApackage.json=E7=9A=84=E4=BE=9D=E8=B5=96=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/vuejs/vue-cli/issues/3407,需要使用terser: 3.14.1 --- package.json | 2 +- src/gx-cli/files/package.json | 36 ++++++++++++++++++----------------- 2 files changed, 20 insertions(+), 18 deletions(-) diff --git a/package.json b/package.json index cc57335..238a7f2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "gaoxin-cli", - "version": "1.0.0-rc.2", + "version": "1.0.0-rc.1", "description": "高信ng的脚手架", "author": "zhangjunlong", "repository": { diff --git a/src/gx-cli/files/package.json b/src/gx-cli/files/package.json index e92582f..383f7ab 100644 --- a/src/gx-cli/files/package.json +++ b/src/gx-cli/files/package.json @@ -37,16 +37,19 @@ "not ie <= 10", "not ie_mob <= 10" ], + "resolutions": { + "terser": "3.14.1" + }, "dependencies": { - "@angular/animations": "~7.2.0", - "@angular/common": "~7.2.0", - "@angular/compiler": "~7.2.0", - "@angular/core": "~7.2.0", - "@angular/forms": "~7.2.0", - "@angular/http": "~7.2.0", - "@angular/platform-browser": "~7.2.0", - "@angular/platform-browser-dynamic": "~7.2.0", - "@angular/router": "~7.2.0", + "@angular/animations": "~7.0.0", + "@angular/common": "~7.0.0", + "@angular/compiler": "~7.0.0", + "@angular/core": "~7.0.0", + "@angular/forms": "~7.0.0", + "@angular/http": "~7.0.0", + "@angular/platform-browser": "~7.0.0", + "@angular/platform-browser-dynamic": "~7.0.0", + "@angular/router": "~7.0.0", "@antv/data-set": "^0.8.8", "@antv/g2": "^3.0.11", "@antv/g2-plugin-slider": "^2.0.2", @@ -77,10 +80,10 @@ "zone.js": "^0.8.26" }, "devDependencies": { - "@angular-devkit/build-angular": "~0.12.0", - "@angular/cli": "~7.2.0", - "@angular/compiler-cli": "~7.2.0", - "@angular/language-service": "~7.2.0", + "@angular-devkit/build-angular": "~0.10.0", + "@angular/cli": "^7.0.0", + "@angular/compiler-cli": "~7.0.0", + "@angular/language-service": "~7.0.0", "@angularclass/hmr": "^2.1.3", "@types/jasmine": "~2.8.6", "@types/jasminewd2": "~2.0.3", @@ -88,7 +91,7 @@ "@types/mockjs": "^1.0.2", "@types/node": "~8.9.4", "codecov": "^3.0.2", - "codelyzer": "~4.2.1", + "codelyzer": "~4.5.0", "editorconfig-tools": "^0.1.1", "gh-pages": "^1.1.0", "jasmine-core": "~2.99.1", @@ -109,8 +112,7 @@ "ts-node": "~5.0.1", "tslint": "~5.9.1", "tslint-config-prettier": "^1.17.0", - "tslint-language-service": "^0.9.9", - "typescript": "~3.2.2", + "typescript": "~3.1.1", "webpack-bundle-analyzer": "^3.0.3", "xlsx": "^0.14.1" }, @@ -130,4 +132,4 @@ "git add" ] } -} +} \ No newline at end of file