正在显示
5 个修改的文件
包含
296 行增加
和
128 行删除
| ... | @@ -24,7 +24,7 @@ else build() | ... | @@ -24,7 +24,7 @@ else build() |
| 24 | 24 | ||
| 25 | function clean () { | 25 | function clean () { |
| 26 | del.sync(['build/*', '!build/icons', '!build/icons/icon.*']) | 26 | del.sync(['build/*', '!build/icons', '!build/icons/icon.*']) |
| 27 | - console.log(`\n${doneLog}\n`) | 27 | + console.log(`\n${doneLog}clear done`) |
| 28 | process.exit() | 28 | process.exit() |
| 29 | } | 29 | } |
| 30 | 30 | ... | ... |
| ... | @@ -7,6 +7,7 @@ const { dependencies } = require('../package.json') | ... | @@ -7,6 +7,7 @@ const { dependencies } = require('../package.json') |
| 7 | const webpack = require('webpack') | 7 | const webpack = require('webpack') |
| 8 | 8 | ||
| 9 | const MinifyPlugin = require("babel-minify-webpack-plugin"); | 9 | const MinifyPlugin = require("babel-minify-webpack-plugin"); |
| 10 | +const { CleanWebpackPlugin } = require('clean-webpack-plugin') | ||
| 10 | 11 | ||
| 11 | function resolve(dir) { | 12 | function resolve(dir) { |
| 12 | return path.join(__dirname, '..', dir) | 13 | return path.join(__dirname, '..', dir) |
| ... | @@ -53,7 +54,10 @@ let mainConfig = { | ... | @@ -53,7 +54,10 @@ let mainConfig = { |
| 53 | path: path.join(__dirname, '../dist/electron') | 54 | path: path.join(__dirname, '../dist/electron') |
| 54 | }, | 55 | }, |
| 55 | plugins: [ | 56 | plugins: [ |
| 56 | - new webpack.NoEmitOnErrorsPlugin() | 57 | + new webpack.NoEmitOnErrorsPlugin(), |
| 58 | + new CleanWebpackPlugin({ | ||
| 59 | + cleanOnceBeforeBuildPatterns: resolve('dist/electron') | ||
| 60 | + }) | ||
| 57 | ], | 61 | ], |
| 58 | resolve: { | 62 | resolve: { |
| 59 | alias: { | 63 | alias: { | ... | ... |
| ... | @@ -26,17 +26,17 @@ | ... | @@ -26,17 +26,17 @@ |
| 26 | } | 26 | } |
| 27 | }, | 27 | }, |
| 28 | "@babel/core": { | 28 | "@babel/core": { |
| 29 | - "version": "7.6.0", | 29 | + "version": "7.6.2", |
| 30 | - "resolved": "https://registry.npm.taobao.org/@babel/core/download/@babel/core-7.6.0.tgz?cache=0&sync_timestamp=1567791337396&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fcore%2Fdownload%2F%40babel%2Fcore-7.6.0.tgz", | 30 | + "resolved": "https://registry.npm.taobao.org/@babel/core/download/@babel/core-7.6.2.tgz", |
| 31 | - "integrity": "sha1-mwD3NVTt1nvryG34MD72eL49e0g=", | 31 | + "integrity": "sha1-Bpp3bo1enu//diNryIRVZr0x3ZE=", |
| 32 | "dev": true, | 32 | "dev": true, |
| 33 | "requires": { | 33 | "requires": { |
| 34 | "@babel/code-frame": "^7.5.5", | 34 | "@babel/code-frame": "^7.5.5", |
| 35 | - "@babel/generator": "^7.6.0", | 35 | + "@babel/generator": "^7.6.2", |
| 36 | - "@babel/helpers": "^7.6.0", | 36 | + "@babel/helpers": "^7.6.2", |
| 37 | - "@babel/parser": "^7.6.0", | 37 | + "@babel/parser": "^7.6.2", |
| 38 | "@babel/template": "^7.6.0", | 38 | "@babel/template": "^7.6.0", |
| 39 | - "@babel/traverse": "^7.6.0", | 39 | + "@babel/traverse": "^7.6.2", |
| 40 | "@babel/types": "^7.6.0", | 40 | "@babel/types": "^7.6.0", |
| 41 | "convert-source-map": "^1.1.0", | 41 | "convert-source-map": "^1.1.0", |
| 42 | "debug": "^4.1.0", | 42 | "debug": "^4.1.0", |
| ... | @@ -48,22 +48,21 @@ | ... | @@ -48,22 +48,21 @@ |
| 48 | }, | 48 | }, |
| 49 | "dependencies": { | 49 | "dependencies": { |
| 50 | "@babel/generator": { | 50 | "@babel/generator": { |
| 51 | - "version": "7.6.0", | 51 | + "version": "7.6.2", |
| 52 | - "resolved": "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.6.0.tgz", | 52 | + "resolved": "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.6.2.tgz", |
| 53 | - "integrity": "sha1-4sIe+/0yk62BmiNZtEjwAr/f2lY=", | 53 | + "integrity": "sha1-2sijwt8RgzTCop/zRG2hY2qPjAM=", |
| 54 | "dev": true, | 54 | "dev": true, |
| 55 | "requires": { | 55 | "requires": { |
| 56 | "@babel/types": "^7.6.0", | 56 | "@babel/types": "^7.6.0", |
| 57 | "jsesc": "^2.5.1", | 57 | "jsesc": "^2.5.1", |
| 58 | "lodash": "^4.17.13", | 58 | "lodash": "^4.17.13", |
| 59 | - "source-map": "^0.5.0", | 59 | + "source-map": "^0.5.0" |
| 60 | - "trim-right": "^1.0.1" | ||
| 61 | } | 60 | } |
| 62 | }, | 61 | }, |
| 63 | "@babel/parser": { | 62 | "@babel/parser": { |
| 64 | - "version": "7.6.0", | 63 | + "version": "7.6.2", |
| 65 | - "resolved": "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.6.0.tgz?cache=0&sync_timestamp=1568410685100&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.6.0.tgz", | 64 | + "resolved": "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.6.2.tgz?cache=0&sync_timestamp=1569286082477&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.6.2.tgz", |
| 66 | - "integrity": "sha1-PgXQZHQyqDJsso0N4DiVrlpX85s=", | 65 | + "integrity": "sha1-IF6cleFro7i5YJBnemfJ1gdbcKE=", |
| 67 | "dev": true | 66 | "dev": true |
| 68 | }, | 67 | }, |
| 69 | "@babel/template": { | 68 | "@babel/template": { |
| ... | @@ -78,16 +77,16 @@ | ... | @@ -78,16 +77,16 @@ |
| 78 | } | 77 | } |
| 79 | }, | 78 | }, |
| 80 | "@babel/traverse": { | 79 | "@babel/traverse": { |
| 81 | - "version": "7.6.0", | 80 | + "version": "7.6.2", |
| 82 | - "resolved": "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.6.0.tgz?cache=0&sync_timestamp=1567791335639&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftraverse%2Fdownload%2F%40babel%2Ftraverse-7.6.0.tgz", | 81 | + "resolved": "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.6.2.tgz", |
| 83 | - "integrity": "sha1-OJOR1RD3m+fOLd1nF75m0/7UtRY=", | 82 | + "integrity": "sha1-sOK/1AHTOc4ObAVpAgbR4RUCziw=", |
| 84 | "dev": true, | 83 | "dev": true, |
| 85 | "requires": { | 84 | "requires": { |
| 86 | "@babel/code-frame": "^7.5.5", | 85 | "@babel/code-frame": "^7.5.5", |
| 87 | - "@babel/generator": "^7.6.0", | 86 | + "@babel/generator": "^7.6.2", |
| 88 | "@babel/helper-function-name": "^7.1.0", | 87 | "@babel/helper-function-name": "^7.1.0", |
| 89 | "@babel/helper-split-export-declaration": "^7.4.4", | 88 | "@babel/helper-split-export-declaration": "^7.4.4", |
| 90 | - "@babel/parser": "^7.6.0", | 89 | + "@babel/parser": "^7.6.2", |
| 91 | "@babel/types": "^7.6.0", | 90 | "@babel/types": "^7.6.0", |
| 92 | "debug": "^4.1.0", | 91 | "debug": "^4.1.0", |
| 93 | "globals": "^11.1.0", | 92 | "globals": "^11.1.0", |
| ... | @@ -342,33 +341,32 @@ | ... | @@ -342,33 +341,32 @@ |
| 342 | } | 341 | } |
| 343 | }, | 342 | }, |
| 344 | "@babel/helpers": { | 343 | "@babel/helpers": { |
| 345 | - "version": "7.6.0", | 344 | + "version": "7.6.2", |
| 346 | - "resolved": "https://registry.npm.taobao.org/@babel/helpers/download/@babel/helpers-7.6.0.tgz?cache=0&sync_timestamp=1567791337064&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelpers%2Fdownload%2F%40babel%2Fhelpers-7.6.0.tgz", | 345 | + "resolved": "https://registry.npm.taobao.org/@babel/helpers/download/@babel/helpers-7.6.2.tgz?cache=0&sync_timestamp=1569285140727&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fhelpers%2Fdownload%2F%40babel%2Fhelpers-7.6.2.tgz", |
| 347 | - "integrity": "sha1-IZYdFsajw6tZcyXDTEZcCIfTHG4=", | 346 | + "integrity": "sha1-aB/+SJ6k3MVfI85GnljlnBwEUVM=", |
| 348 | "dev": true, | 347 | "dev": true, |
| 349 | "requires": { | 348 | "requires": { |
| 350 | "@babel/template": "^7.6.0", | 349 | "@babel/template": "^7.6.0", |
| 351 | - "@babel/traverse": "^7.6.0", | 350 | + "@babel/traverse": "^7.6.2", |
| 352 | "@babel/types": "^7.6.0" | 351 | "@babel/types": "^7.6.0" |
| 353 | }, | 352 | }, |
| 354 | "dependencies": { | 353 | "dependencies": { |
| 355 | "@babel/generator": { | 354 | "@babel/generator": { |
| 356 | - "version": "7.6.0", | 355 | + "version": "7.6.2", |
| 357 | - "resolved": "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.6.0.tgz", | 356 | + "resolved": "https://registry.npm.taobao.org/@babel/generator/download/@babel/generator-7.6.2.tgz", |
| 358 | - "integrity": "sha1-4sIe+/0yk62BmiNZtEjwAr/f2lY=", | 357 | + "integrity": "sha1-2sijwt8RgzTCop/zRG2hY2qPjAM=", |
| 359 | "dev": true, | 358 | "dev": true, |
| 360 | "requires": { | 359 | "requires": { |
| 361 | "@babel/types": "^7.6.0", | 360 | "@babel/types": "^7.6.0", |
| 362 | "jsesc": "^2.5.1", | 361 | "jsesc": "^2.5.1", |
| 363 | "lodash": "^4.17.13", | 362 | "lodash": "^4.17.13", |
| 364 | - "source-map": "^0.5.0", | 363 | + "source-map": "^0.5.0" |
| 365 | - "trim-right": "^1.0.1" | ||
| 366 | } | 364 | } |
| 367 | }, | 365 | }, |
| 368 | "@babel/parser": { | 366 | "@babel/parser": { |
| 369 | - "version": "7.6.0", | 367 | + "version": "7.6.2", |
| 370 | - "resolved": "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.6.0.tgz?cache=0&sync_timestamp=1568410685100&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.6.0.tgz", | 368 | + "resolved": "https://registry.npm.taobao.org/@babel/parser/download/@babel/parser-7.6.2.tgz?cache=0&sync_timestamp=1569286082477&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fparser%2Fdownload%2F%40babel%2Fparser-7.6.2.tgz", |
| 371 | - "integrity": "sha1-PgXQZHQyqDJsso0N4DiVrlpX85s=", | 369 | + "integrity": "sha1-IF6cleFro7i5YJBnemfJ1gdbcKE=", |
| 372 | "dev": true | 370 | "dev": true |
| 373 | }, | 371 | }, |
| 374 | "@babel/template": { | 372 | "@babel/template": { |
| ... | @@ -383,16 +381,16 @@ | ... | @@ -383,16 +381,16 @@ |
| 383 | } | 381 | } |
| 384 | }, | 382 | }, |
| 385 | "@babel/traverse": { | 383 | "@babel/traverse": { |
| 386 | - "version": "7.6.0", | 384 | + "version": "7.6.2", |
| 387 | - "resolved": "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.6.0.tgz?cache=0&sync_timestamp=1567791335639&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Ftraverse%2Fdownload%2F%40babel%2Ftraverse-7.6.0.tgz", | 385 | + "resolved": "https://registry.npm.taobao.org/@babel/traverse/download/@babel/traverse-7.6.2.tgz", |
| 388 | - "integrity": "sha1-OJOR1RD3m+fOLd1nF75m0/7UtRY=", | 386 | + "integrity": "sha1-sOK/1AHTOc4ObAVpAgbR4RUCziw=", |
| 389 | "dev": true, | 387 | "dev": true, |
| 390 | "requires": { | 388 | "requires": { |
| 391 | "@babel/code-frame": "^7.5.5", | 389 | "@babel/code-frame": "^7.5.5", |
| 392 | - "@babel/generator": "^7.6.0", | 390 | + "@babel/generator": "^7.6.2", |
| 393 | "@babel/helper-function-name": "^7.1.0", | 391 | "@babel/helper-function-name": "^7.1.0", |
| 394 | "@babel/helper-split-export-declaration": "^7.4.4", | 392 | "@babel/helper-split-export-declaration": "^7.4.4", |
| 395 | - "@babel/parser": "^7.6.0", | 393 | + "@babel/parser": "^7.6.2", |
| 396 | "@babel/types": "^7.6.0", | 394 | "@babel/types": "^7.6.0", |
| 397 | "debug": "^4.1.0", | 395 | "debug": "^4.1.0", |
| 398 | "globals": "^11.1.0", | 396 | "globals": "^11.1.0", |
| ... | @@ -594,9 +592,9 @@ | ... | @@ -594,9 +592,9 @@ |
| 594 | } | 592 | } |
| 595 | }, | 593 | }, |
| 596 | "@babel/plugin-proposal-object-rest-spread": { | 594 | "@babel/plugin-proposal-object-rest-spread": { |
| 597 | - "version": "7.5.5", | 595 | + "version": "7.6.2", |
| 598 | - "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.5.5.tgz", | 596 | + "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-object-rest-spread/download/@babel/plugin-proposal-object-rest-spread-7.6.2.tgz?cache=0&sync_timestamp=1569301656680&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-object-rest-spread%2Fdownload%2F%40babel%2Fplugin-proposal-object-rest-spread-7.6.2.tgz", |
| 599 | - "integrity": "sha1-YZOXRPcbp2o65Gte6hilTBbSLlg=", | 597 | + "integrity": "sha1-j/zMjzplRen3iYi2v0/ogbiOgJY=", |
| 600 | "dev": true, | 598 | "dev": true, |
| 601 | "requires": { | 599 | "requires": { |
| 602 | "@babel/helper-plugin-utils": "^7.0.0", | 600 | "@babel/helper-plugin-utils": "^7.0.0", |
| ... | @@ -644,14 +642,14 @@ | ... | @@ -644,14 +642,14 @@ |
| 644 | } | 642 | } |
| 645 | }, | 643 | }, |
| 646 | "@babel/plugin-proposal-unicode-property-regex": { | 644 | "@babel/plugin-proposal-unicode-property-regex": { |
| 647 | - "version": "7.4.4", | 645 | + "version": "7.6.2", |
| 648 | - "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-unicode-property-regex/download/@babel/plugin-proposal-unicode-property-regex-7.4.4.tgz", | 646 | + "resolved": "https://registry.npm.taobao.org/@babel/plugin-proposal-unicode-property-regex/download/@babel/plugin-proposal-unicode-property-regex-7.6.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-proposal-unicode-property-regex%2Fdownload%2F%40babel%2Fplugin-proposal-unicode-property-regex-7.6.2.tgz", |
| 649 | - "integrity": "sha1-UB/9mCbAuR2iJpByByKsfLHKnHg=", | 647 | + "integrity": "sha1-BUE3YolPQb/kK5pegJGb1XXcyAI=", |
| 650 | "dev": true, | 648 | "dev": true, |
| 651 | "requires": { | 649 | "requires": { |
| 652 | "@babel/helper-plugin-utils": "^7.0.0", | 650 | "@babel/helper-plugin-utils": "^7.0.0", |
| 653 | "@babel/helper-regex": "^7.4.4", | 651 | "@babel/helper-regex": "^7.4.4", |
| 654 | - "regexpu-core": "^4.5.4" | 652 | + "regexpu-core": "^4.6.0" |
| 655 | } | 653 | } |
| 656 | }, | 654 | }, |
| 657 | "@babel/plugin-syntax-async-generators": { | 655 | "@babel/plugin-syntax-async-generators": { |
| ... | @@ -846,9 +844,9 @@ | ... | @@ -846,9 +844,9 @@ |
| 846 | } | 844 | } |
| 847 | }, | 845 | }, |
| 848 | "@babel/plugin-transform-block-scoping": { | 846 | "@babel/plugin-transform-block-scoping": { |
| 849 | - "version": "7.6.0", | 847 | + "version": "7.6.2", |
| 850 | - "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoping/download/@babel/plugin-transform-block-scoping-7.6.0.tgz", | 848 | + "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-block-scoping/download/@babel/plugin-transform-block-scoping-7.6.2.tgz", |
| 851 | - "integrity": "sha1-xJ4hIoxLvUBoo1Zn5tlRx1Q5sdw=", | 849 | + "integrity": "sha1-lsM6uXqa5QDMb1sZ4Ep+ZVM2Cnk=", |
| 852 | "dev": true, | 850 | "dev": true, |
| 853 | "requires": { | 851 | "requires": { |
| 854 | "@babel/helper-plugin-utils": "^7.0.0", | 852 | "@babel/helper-plugin-utils": "^7.0.0", |
| ... | @@ -890,14 +888,14 @@ | ... | @@ -890,14 +888,14 @@ |
| 890 | } | 888 | } |
| 891 | }, | 889 | }, |
| 892 | "@babel/plugin-transform-dotall-regex": { | 890 | "@babel/plugin-transform-dotall-regex": { |
| 893 | - "version": "7.4.4", | 891 | + "version": "7.6.2", |
| 894 | - "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-dotall-regex/download/@babel/plugin-transform-dotall-regex-7.4.4.tgz", | 892 | + "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-dotall-regex/download/@babel/plugin-transform-dotall-regex-7.6.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-dotall-regex%2Fdownload%2F%40babel%2Fplugin-transform-dotall-regex-7.6.2.tgz", |
| 895 | - "integrity": "sha1-NhoUi8lRREMSxpRG127R6o5EUMM=", | 893 | + "integrity": "sha1-RKu5SLiPAZmmJwJOFQisr43Jsvk=", |
| 896 | "dev": true, | 894 | "dev": true, |
| 897 | "requires": { | 895 | "requires": { |
| 898 | "@babel/helper-plugin-utils": "^7.0.0", | 896 | "@babel/helper-plugin-utils": "^7.0.0", |
| 899 | "@babel/helper-regex": "^7.4.4", | 897 | "@babel/helper-regex": "^7.4.4", |
| 900 | - "regexpu-core": "^4.5.4" | 898 | + "regexpu-core": "^4.6.0" |
| 901 | } | 899 | } |
| 902 | }, | 900 | }, |
| 903 | "@babel/plugin-transform-duplicate-keys": { | 901 | "@babel/plugin-transform-duplicate-keys": { |
| ... | @@ -1001,12 +999,12 @@ | ... | @@ -1001,12 +999,12 @@ |
| 1001 | } | 999 | } |
| 1002 | }, | 1000 | }, |
| 1003 | "@babel/plugin-transform-named-capturing-groups-regex": { | 1001 | "@babel/plugin-transform-named-capturing-groups-regex": { |
| 1004 | - "version": "7.6.0", | 1002 | + "version": "7.6.2", |
| 1005 | - "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-named-capturing-groups-regex/download/@babel/plugin-transform-named-capturing-groups-regex-7.6.0.tgz", | 1003 | + "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-named-capturing-groups-regex/download/@babel/plugin-transform-named-capturing-groups-regex-7.6.2.tgz", |
| 1006 | - "integrity": "sha1-Hm5mMJeBO7T1PULfB1DPKK07s/E=", | 1004 | + "integrity": "sha1-wcoLuEuU84XKMCw5MuhwsPsOUis=", |
| 1007 | "dev": true, | 1005 | "dev": true, |
| 1008 | "requires": { | 1006 | "requires": { |
| 1009 | - "regexp-tree": "^0.1.13" | 1007 | + "regexpu-core": "^4.6.0" |
| 1010 | } | 1008 | } |
| 1011 | }, | 1009 | }, |
| 1012 | "@babel/plugin-transform-new-target": { | 1010 | "@babel/plugin-transform-new-target": { |
| ... | @@ -1067,9 +1065,9 @@ | ... | @@ -1067,9 +1065,9 @@ |
| 1067 | } | 1065 | } |
| 1068 | }, | 1066 | }, |
| 1069 | "@babel/plugin-transform-runtime": { | 1067 | "@babel/plugin-transform-runtime": { |
| 1070 | - "version": "7.6.0", | 1068 | + "version": "7.6.2", |
| 1071 | - "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-runtime/download/@babel/plugin-transform-runtime-7.6.0.tgz", | 1069 | + "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-runtime/download/@babel/plugin-transform-runtime-7.6.2.tgz?cache=0&sync_timestamp=1569301654841&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fplugin-transform-runtime%2Fdownload%2F%40babel%2Fplugin-transform-runtime-7.6.2.tgz", |
| 1072 | - "integrity": "sha1-haPM5AKyhYYTjjaPziCrMBm5cT4=", | 1070 | + "integrity": "sha1-Jmn2fB+uCujYv2luQmOtUsuYtvg=", |
| 1073 | "dev": true, | 1071 | "dev": true, |
| 1074 | "requires": { | 1072 | "requires": { |
| 1075 | "@babel/helper-module-imports": "^7.0.0", | 1073 | "@babel/helper-module-imports": "^7.0.0", |
| ... | @@ -1088,9 +1086,9 @@ | ... | @@ -1088,9 +1086,9 @@ |
| 1088 | } | 1086 | } |
| 1089 | }, | 1087 | }, |
| 1090 | "@babel/plugin-transform-spread": { | 1088 | "@babel/plugin-transform-spread": { |
| 1091 | - "version": "7.2.2", | 1089 | + "version": "7.6.2", |
| 1092 | - "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-spread/download/@babel/plugin-transform-spread-7.2.2.tgz", | 1090 | + "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-spread/download/@babel/plugin-transform-spread-7.6.2.tgz", |
| 1093 | - "integrity": "sha1-MQOpq+IvdCttQG7NPNSbd0kZtAY=", | 1091 | + "integrity": "sha1-/HfPeYsksQxG4bUbG4jCv2YbuN0=", |
| 1094 | "dev": true, | 1092 | "dev": true, |
| 1095 | "requires": { | 1093 | "requires": { |
| 1096 | "@babel/helper-plugin-utils": "^7.0.0" | 1094 | "@babel/helper-plugin-utils": "^7.0.0" |
| ... | @@ -1126,14 +1124,14 @@ | ... | @@ -1126,14 +1124,14 @@ |
| 1126 | } | 1124 | } |
| 1127 | }, | 1125 | }, |
| 1128 | "@babel/plugin-transform-unicode-regex": { | 1126 | "@babel/plugin-transform-unicode-regex": { |
| 1129 | - "version": "7.4.4", | 1127 | + "version": "7.6.2", |
| 1130 | - "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-unicode-regex/download/@babel/plugin-transform-unicode-regex-7.4.4.tgz", | 1128 | + "resolved": "https://registry.npm.taobao.org/@babel/plugin-transform-unicode-regex/download/@babel/plugin-transform-unicode-regex-7.6.2.tgz", |
| 1131 | - "integrity": "sha1-q0Y0u08U02cov1l4Mis1WHeHlw8=", | 1129 | + "integrity": "sha1-tpKq2Iin6NixshS+a53APVAx9pg=", |
| 1132 | "dev": true, | 1130 | "dev": true, |
| 1133 | "requires": { | 1131 | "requires": { |
| 1134 | "@babel/helper-plugin-utils": "^7.0.0", | 1132 | "@babel/helper-plugin-utils": "^7.0.0", |
| 1135 | "@babel/helper-regex": "^7.4.4", | 1133 | "@babel/helper-regex": "^7.4.4", |
| 1136 | - "regexpu-core": "^4.5.4" | 1134 | + "regexpu-core": "^4.6.0" |
| 1137 | } | 1135 | } |
| 1138 | }, | 1136 | }, |
| 1139 | "@babel/polyfill": { | 1137 | "@babel/polyfill": { |
| ... | @@ -1155,9 +1153,9 @@ | ... | @@ -1155,9 +1153,9 @@ |
| 1155 | } | 1153 | } |
| 1156 | }, | 1154 | }, |
| 1157 | "@babel/preset-env": { | 1155 | "@babel/preset-env": { |
| 1158 | - "version": "7.6.0", | 1156 | + "version": "7.6.2", |
| 1159 | - "resolved": "https://registry.npm.taobao.org/@babel/preset-env/download/@babel/preset-env-7.6.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fpreset-env%2Fdownload%2F%40babel%2Fpreset-env-7.6.0.tgz", | 1157 | + "resolved": "https://registry.npm.taobao.org/@babel/preset-env/download/@babel/preset-env-7.6.2.tgz?cache=0&sync_timestamp=1569273953853&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fpreset-env%2Fdownload%2F%40babel%2Fpreset-env-7.6.2.tgz", |
| 1160 | - "integrity": "sha1-quQUHFBhALsr+qSsKlwSs5VhnlA=", | 1158 | + "integrity": "sha1-q7s+14XH/kIg1MgqU2IdcfwMddM=", |
| 1161 | "dev": true, | 1159 | "dev": true, |
| 1162 | "requires": { | 1160 | "requires": { |
| 1163 | "@babel/helper-module-imports": "^7.0.0", | 1161 | "@babel/helper-module-imports": "^7.0.0", |
| ... | @@ -1165,9 +1163,9 @@ | ... | @@ -1165,9 +1163,9 @@ |
| 1165 | "@babel/plugin-proposal-async-generator-functions": "^7.2.0", | 1163 | "@babel/plugin-proposal-async-generator-functions": "^7.2.0", |
| 1166 | "@babel/plugin-proposal-dynamic-import": "^7.5.0", | 1164 | "@babel/plugin-proposal-dynamic-import": "^7.5.0", |
| 1167 | "@babel/plugin-proposal-json-strings": "^7.2.0", | 1165 | "@babel/plugin-proposal-json-strings": "^7.2.0", |
| 1168 | - "@babel/plugin-proposal-object-rest-spread": "^7.5.5", | 1166 | + "@babel/plugin-proposal-object-rest-spread": "^7.6.2", |
| 1169 | "@babel/plugin-proposal-optional-catch-binding": "^7.2.0", | 1167 | "@babel/plugin-proposal-optional-catch-binding": "^7.2.0", |
| 1170 | - "@babel/plugin-proposal-unicode-property-regex": "^7.4.4", | 1168 | + "@babel/plugin-proposal-unicode-property-regex": "^7.6.2", |
| 1171 | "@babel/plugin-syntax-async-generators": "^7.2.0", | 1169 | "@babel/plugin-syntax-async-generators": "^7.2.0", |
| 1172 | "@babel/plugin-syntax-dynamic-import": "^7.2.0", | 1170 | "@babel/plugin-syntax-dynamic-import": "^7.2.0", |
| 1173 | "@babel/plugin-syntax-json-strings": "^7.2.0", | 1171 | "@babel/plugin-syntax-json-strings": "^7.2.0", |
| ... | @@ -1176,11 +1174,11 @@ | ... | @@ -1176,11 +1174,11 @@ |
| 1176 | "@babel/plugin-transform-arrow-functions": "^7.2.0", | 1174 | "@babel/plugin-transform-arrow-functions": "^7.2.0", |
| 1177 | "@babel/plugin-transform-async-to-generator": "^7.5.0", | 1175 | "@babel/plugin-transform-async-to-generator": "^7.5.0", |
| 1178 | "@babel/plugin-transform-block-scoped-functions": "^7.2.0", | 1176 | "@babel/plugin-transform-block-scoped-functions": "^7.2.0", |
| 1179 | - "@babel/plugin-transform-block-scoping": "^7.6.0", | 1177 | + "@babel/plugin-transform-block-scoping": "^7.6.2", |
| 1180 | "@babel/plugin-transform-classes": "^7.5.5", | 1178 | "@babel/plugin-transform-classes": "^7.5.5", |
| 1181 | "@babel/plugin-transform-computed-properties": "^7.2.0", | 1179 | "@babel/plugin-transform-computed-properties": "^7.2.0", |
| 1182 | "@babel/plugin-transform-destructuring": "^7.6.0", | 1180 | "@babel/plugin-transform-destructuring": "^7.6.0", |
| 1183 | - "@babel/plugin-transform-dotall-regex": "^7.4.4", | 1181 | + "@babel/plugin-transform-dotall-regex": "^7.6.2", |
| 1184 | "@babel/plugin-transform-duplicate-keys": "^7.5.0", | 1182 | "@babel/plugin-transform-duplicate-keys": "^7.5.0", |
| 1185 | "@babel/plugin-transform-exponentiation-operator": "^7.2.0", | 1183 | "@babel/plugin-transform-exponentiation-operator": "^7.2.0", |
| 1186 | "@babel/plugin-transform-for-of": "^7.4.4", | 1184 | "@babel/plugin-transform-for-of": "^7.4.4", |
| ... | @@ -1191,7 +1189,7 @@ | ... | @@ -1191,7 +1189,7 @@ |
| 1191 | "@babel/plugin-transform-modules-commonjs": "^7.6.0", | 1189 | "@babel/plugin-transform-modules-commonjs": "^7.6.0", |
| 1192 | "@babel/plugin-transform-modules-systemjs": "^7.5.0", | 1190 | "@babel/plugin-transform-modules-systemjs": "^7.5.0", |
| 1193 | "@babel/plugin-transform-modules-umd": "^7.2.0", | 1191 | "@babel/plugin-transform-modules-umd": "^7.2.0", |
| 1194 | - "@babel/plugin-transform-named-capturing-groups-regex": "^7.6.0", | 1192 | + "@babel/plugin-transform-named-capturing-groups-regex": "^7.6.2", |
| 1195 | "@babel/plugin-transform-new-target": "^7.4.4", | 1193 | "@babel/plugin-transform-new-target": "^7.4.4", |
| 1196 | "@babel/plugin-transform-object-super": "^7.5.5", | 1194 | "@babel/plugin-transform-object-super": "^7.5.5", |
| 1197 | "@babel/plugin-transform-parameters": "^7.4.4", | 1195 | "@babel/plugin-transform-parameters": "^7.4.4", |
| ... | @@ -1199,11 +1197,11 @@ | ... | @@ -1199,11 +1197,11 @@ |
| 1199 | "@babel/plugin-transform-regenerator": "^7.4.5", | 1197 | "@babel/plugin-transform-regenerator": "^7.4.5", |
| 1200 | "@babel/plugin-transform-reserved-words": "^7.2.0", | 1198 | "@babel/plugin-transform-reserved-words": "^7.2.0", |
| 1201 | "@babel/plugin-transform-shorthand-properties": "^7.2.0", | 1199 | "@babel/plugin-transform-shorthand-properties": "^7.2.0", |
| 1202 | - "@babel/plugin-transform-spread": "^7.2.0", | 1200 | + "@babel/plugin-transform-spread": "^7.6.2", |
| 1203 | "@babel/plugin-transform-sticky-regex": "^7.2.0", | 1201 | "@babel/plugin-transform-sticky-regex": "^7.2.0", |
| 1204 | "@babel/plugin-transform-template-literals": "^7.4.4", | 1202 | "@babel/plugin-transform-template-literals": "^7.4.4", |
| 1205 | "@babel/plugin-transform-typeof-symbol": "^7.2.0", | 1203 | "@babel/plugin-transform-typeof-symbol": "^7.2.0", |
| 1206 | - "@babel/plugin-transform-unicode-regex": "^7.4.4", | 1204 | + "@babel/plugin-transform-unicode-regex": "^7.6.2", |
| 1207 | "@babel/types": "^7.6.0", | 1205 | "@babel/types": "^7.6.0", |
| 1208 | "browserslist": "^4.6.0", | 1206 | "browserslist": "^4.6.0", |
| 1209 | "core-js-compat": "^3.1.1", | 1207 | "core-js-compat": "^3.1.1", |
| ... | @@ -1226,9 +1224,9 @@ | ... | @@ -1226,9 +1224,9 @@ |
| 1226 | } | 1224 | } |
| 1227 | }, | 1225 | }, |
| 1228 | "@babel/register": { | 1226 | "@babel/register": { |
| 1229 | - "version": "7.6.0", | 1227 | + "version": "7.6.2", |
| 1230 | - "resolved": "https://registry.npm.taobao.org/@babel/register/download/@babel/register-7.6.0.tgz", | 1228 | + "resolved": "https://registry.npm.taobao.org/@babel/register/download/@babel/register-7.6.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2F%40babel%2Fregister%2Fdownload%2F%40babel%2Fregister-7.6.2.tgz", |
| 1231 | - "integrity": "sha1-drb0ZnFGgPS+yv1Fvusqe4dDGr8=", | 1229 | + "integrity": "sha1-JXZakiICywb4vaxaOx5wzWvz3UU=", |
| 1232 | "dev": true, | 1230 | "dev": true, |
| 1233 | "requires": { | 1231 | "requires": { |
| 1234 | "find-cache-dir": "^2.0.0", | 1232 | "find-cache-dir": "^2.0.0", |
| ... | @@ -1239,9 +1237,9 @@ | ... | @@ -1239,9 +1237,9 @@ |
| 1239 | } | 1237 | } |
| 1240 | }, | 1238 | }, |
| 1241 | "@babel/runtime": { | 1239 | "@babel/runtime": { |
| 1242 | - "version": "7.6.0", | 1240 | + "version": "7.6.2", |
| 1243 | - "resolved": "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.6.0.tgz", | 1241 | + "resolved": "https://registry.npm.taobao.org/@babel/runtime/download/@babel/runtime-7.6.2.tgz", |
| 1244 | - "integrity": "sha1-T8HWQqn9Apl1Totd5ixjHPVWggU=", | 1242 | + "integrity": "sha1-w9bkGzBO8Q3PE3d6M+dpTsSppt0=", |
| 1245 | "dev": true, | 1243 | "dev": true, |
| 1246 | "requires": { | 1244 | "requires": { |
| 1247 | "regenerator-runtime": "^0.13.2" | 1245 | "regenerator-runtime": "^0.13.2" |
| ... | @@ -1362,6 +1360,12 @@ | ... | @@ -1362,6 +1360,12 @@ |
| 1362 | "defer-to-connect": "^1.0.1" | 1360 | "defer-to-connect": "^1.0.1" |
| 1363 | } | 1361 | } |
| 1364 | }, | 1362 | }, |
| 1363 | + "@types/anymatch": { | ||
| 1364 | + "version": "1.3.1", | ||
| 1365 | + "resolved": "http://r.cnpmjs.org/@types/anymatch/download/@types/anymatch-1.3.1.tgz", | ||
| 1366 | + "integrity": "sha1-M2utwb7sudrMOL6izzKt9ieoQho=", | ||
| 1367 | + "dev": true | ||
| 1368 | + }, | ||
| 1365 | "@types/debug": { | 1369 | "@types/debug": { |
| 1366 | "version": "4.1.5", | 1370 | "version": "4.1.5", |
| 1367 | "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.5.tgz", | 1371 | "resolved": "https://registry.npmjs.org/@types/debug/-/debug-4.1.5.tgz", |
| ... | @@ -1397,6 +1401,76 @@ | ... | @@ -1397,6 +1401,76 @@ |
| 1397 | "integrity": "sha512-dyYO+f6ihZEtNPDcWNR1fkoTDf3zAK3lAABDze3mz6POyIercH0lEUawUFXlG8xaQZmm1yEBON/4TsYv/laDYg==", | 1401 | "integrity": "sha512-dyYO+f6ihZEtNPDcWNR1fkoTDf3zAK3lAABDze3mz6POyIercH0lEUawUFXlG8xaQZmm1yEBON/4TsYv/laDYg==", |
| 1398 | "dev": true | 1402 | "dev": true |
| 1399 | }, | 1403 | }, |
| 1404 | + "@types/source-list-map": { | ||
| 1405 | + "version": "0.1.2", | ||
| 1406 | + "resolved": "http://r.cnpmjs.org/@types/source-list-map/download/@types/source-list-map-0.1.2.tgz", | ||
| 1407 | + "integrity": "sha1-AHiDYGP/rxdBI0m7o2QIfgrALsk=", | ||
| 1408 | + "dev": true | ||
| 1409 | + }, | ||
| 1410 | + "@types/tapable": { | ||
| 1411 | + "version": "1.0.4", | ||
| 1412 | + "resolved": "http://r.cnpmjs.org/@types/tapable/download/@types/tapable-1.0.4.tgz", | ||
| 1413 | + "integrity": "sha1-tP/H3Je0mMlps2CkHu4kf4JhY3A=", | ||
| 1414 | + "dev": true | ||
| 1415 | + }, | ||
| 1416 | + "@types/uglify-js": { | ||
| 1417 | + "version": "3.0.4", | ||
| 1418 | + "resolved": "http://r.cnpmjs.org/@types/uglify-js/download/@types/uglify-js-3.0.4.tgz", | ||
| 1419 | + "integrity": "sha1-lr6uI99vVhhiqDC0KIpJ6GuqwII=", | ||
| 1420 | + "dev": true, | ||
| 1421 | + "requires": { | ||
| 1422 | + "source-map": "^0.6.1" | ||
| 1423 | + }, | ||
| 1424 | + "dependencies": { | ||
| 1425 | + "source-map": { | ||
| 1426 | + "version": "0.6.1", | ||
| 1427 | + "resolved": "http://r.cnpmjs.org/source-map/download/source-map-0.6.1.tgz", | ||
| 1428 | + "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", | ||
| 1429 | + "dev": true | ||
| 1430 | + } | ||
| 1431 | + } | ||
| 1432 | + }, | ||
| 1433 | + "@types/webpack": { | ||
| 1434 | + "version": "4.39.1", | ||
| 1435 | + "resolved": "http://r.cnpmjs.org/@types/webpack/download/@types/webpack-4.39.1.tgz", | ||
| 1436 | + "integrity": "sha1-12zVUcyFEZj2f3X/PiZVHSBFMOk=", | ||
| 1437 | + "dev": true, | ||
| 1438 | + "requires": { | ||
| 1439 | + "@types/anymatch": "*", | ||
| 1440 | + "@types/node": "*", | ||
| 1441 | + "@types/tapable": "*", | ||
| 1442 | + "@types/uglify-js": "*", | ||
| 1443 | + "@types/webpack-sources": "*", | ||
| 1444 | + "source-map": "^0.6.0" | ||
| 1445 | + }, | ||
| 1446 | + "dependencies": { | ||
| 1447 | + "source-map": { | ||
| 1448 | + "version": "0.6.1", | ||
| 1449 | + "resolved": "http://r.cnpmjs.org/source-map/download/source-map-0.6.1.tgz", | ||
| 1450 | + "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", | ||
| 1451 | + "dev": true | ||
| 1452 | + } | ||
| 1453 | + } | ||
| 1454 | + }, | ||
| 1455 | + "@types/webpack-sources": { | ||
| 1456 | + "version": "0.1.5", | ||
| 1457 | + "resolved": "http://r.cnpmjs.org/@types/webpack-sources/download/@types/webpack-sources-0.1.5.tgz", | ||
| 1458 | + "integrity": "sha1-vkfBD3g9PW7+FHH/fwQmEb1GSpI=", | ||
| 1459 | + "dev": true, | ||
| 1460 | + "requires": { | ||
| 1461 | + "@types/node": "*", | ||
| 1462 | + "@types/source-list-map": "*", | ||
| 1463 | + "source-map": "^0.6.1" | ||
| 1464 | + }, | ||
| 1465 | + "dependencies": { | ||
| 1466 | + "source-map": { | ||
| 1467 | + "version": "0.6.1", | ||
| 1468 | + "resolved": "http://r.cnpmjs.org/source-map/download/source-map-0.6.1.tgz", | ||
| 1469 | + "integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM=", | ||
| 1470 | + "dev": true | ||
| 1471 | + } | ||
| 1472 | + } | ||
| 1473 | + }, | ||
| 1400 | "@vue/component-compiler-utils": { | 1474 | "@vue/component-compiler-utils": { |
| 1401 | "version": "3.0.0", | 1475 | "version": "3.0.0", |
| 1402 | "resolved": "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-3.0.0.tgz", | 1476 | "resolved": "https://registry.npmjs.org/@vue/component-compiler-utils/-/component-compiler-utils-3.0.0.tgz", |
| ... | @@ -3643,6 +3717,66 @@ | ... | @@ -3643,6 +3717,66 @@ |
| 3643 | "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", | 3717 | "integrity": "sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==", |
| 3644 | "dev": true | 3718 | "dev": true |
| 3645 | }, | 3719 | }, |
| 3720 | + "clean-webpack-plugin": { | ||
| 3721 | + "version": "3.0.0", | ||
| 3722 | + "resolved": "http://r.cnpmjs.org/clean-webpack-plugin/download/clean-webpack-plugin-3.0.0.tgz", | ||
| 3723 | + "integrity": "sha1-qZ2Ow0wcYopFQVZ6p7RXRGRgxis=", | ||
| 3724 | + "dev": true, | ||
| 3725 | + "requires": { | ||
| 3726 | + "@types/webpack": "^4.4.31", | ||
| 3727 | + "del": "^4.1.1" | ||
| 3728 | + }, | ||
| 3729 | + "dependencies": { | ||
| 3730 | + "del": { | ||
| 3731 | + "version": "4.1.1", | ||
| 3732 | + "resolved": "http://r.cnpmjs.org/del/download/del-4.1.1.tgz", | ||
| 3733 | + "integrity": "sha1-no8RciLqRKMf86FWwEm5kFKp8LQ=", | ||
| 3734 | + "dev": true, | ||
| 3735 | + "requires": { | ||
| 3736 | + "@types/glob": "^7.1.1", | ||
| 3737 | + "globby": "^6.1.0", | ||
| 3738 | + "is-path-cwd": "^2.0.0", | ||
| 3739 | + "is-path-in-cwd": "^2.0.0", | ||
| 3740 | + "p-map": "^2.0.0", | ||
| 3741 | + "pify": "^4.0.1", | ||
| 3742 | + "rimraf": "^2.6.3" | ||
| 3743 | + } | ||
| 3744 | + }, | ||
| 3745 | + "globby": { | ||
| 3746 | + "version": "6.1.0", | ||
| 3747 | + "resolved": "http://r.cnpmjs.org/globby/download/globby-6.1.0.tgz", | ||
| 3748 | + "integrity": "sha1-9abXDoOV4hyFj7BInWTfAkJNUGw=", | ||
| 3749 | + "dev": true, | ||
| 3750 | + "requires": { | ||
| 3751 | + "array-union": "^1.0.1", | ||
| 3752 | + "glob": "^7.0.3", | ||
| 3753 | + "object-assign": "^4.0.1", | ||
| 3754 | + "pify": "^2.0.0", | ||
| 3755 | + "pinkie-promise": "^2.0.0" | ||
| 3756 | + }, | ||
| 3757 | + "dependencies": { | ||
| 3758 | + "pify": { | ||
| 3759 | + "version": "2.3.0", | ||
| 3760 | + "resolved": "http://r.cnpmjs.org/pify/download/pify-2.3.0.tgz", | ||
| 3761 | + "integrity": "sha1-7RQaasBDqEnqWISY59yosVMw6Qw=", | ||
| 3762 | + "dev": true | ||
| 3763 | + } | ||
| 3764 | + } | ||
| 3765 | + }, | ||
| 3766 | + "p-map": { | ||
| 3767 | + "version": "2.1.0", | ||
| 3768 | + "resolved": "http://r.cnpmjs.org/p-map/download/p-map-2.1.0.tgz", | ||
| 3769 | + "integrity": "sha1-MQko/u+cnsxltosXaTAYpmXOoXU=", | ||
| 3770 | + "dev": true | ||
| 3771 | + }, | ||
| 3772 | + "pify": { | ||
| 3773 | + "version": "4.0.1", | ||
| 3774 | + "resolved": "http://r.cnpmjs.org/pify/download/pify-4.0.1.tgz", | ||
| 3775 | + "integrity": "sha1-SyzSXFDVmHNcUCkiJP2MbfQeMjE=", | ||
| 3776 | + "dev": true | ||
| 3777 | + } | ||
| 3778 | + } | ||
| 3779 | + }, | ||
| 3646 | "cli-boxes": { | 3780 | "cli-boxes": { |
| 3647 | "version": "2.2.0", | 3781 | "version": "2.2.0", |
| 3648 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz", | 3782 | "resolved": "https://registry.npmjs.org/cli-boxes/-/cli-boxes-2.2.0.tgz", |
| ... | @@ -4090,12 +4224,31 @@ | ... | @@ -4090,12 +4224,31 @@ |
| 4090 | } | 4224 | } |
| 4091 | }, | 4225 | }, |
| 4092 | "cross-env": { | 4226 | "cross-env": { |
| 4093 | - "version": "5.2.1", | 4227 | + "version": "6.0.0", |
| 4094 | - "resolved": "https://registry.npm.taobao.org/cross-env/download/cross-env-5.2.1.tgz", | 4228 | + "resolved": "https://registry.npm.taobao.org/cross-env/download/cross-env-6.0.0.tgz", |
| 4095 | - "integrity": "sha1-ssdsHKet1m3IdNEXmEZglPVRs00=", | 4229 | + "integrity": "sha1-PI5xRA6iCqb6r1rsVBI178Vl2sY=", |
| 4096 | "dev": true, | 4230 | "dev": true, |
| 4097 | "requires": { | 4231 | "requires": { |
| 4098 | - "cross-spawn": "^6.0.5" | 4232 | + "cross-spawn": "^7.0.0" |
| 4233 | + }, | ||
| 4234 | + "dependencies": { | ||
| 4235 | + "cross-spawn": { | ||
| 4236 | + "version": "7.0.0", | ||
| 4237 | + "resolved": "https://registry.npm.taobao.org/cross-spawn/download/cross-spawn-7.0.0.tgz?cache=0&sync_timestamp=1567511270254&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fcross-spawn%2Fdownload%2Fcross-spawn-7.0.0.tgz", | ||
| 4238 | + "integrity": "sha1-Ie+UcEQyYvM9uoCycFqR25WbLgM=", | ||
| 4239 | + "dev": true, | ||
| 4240 | + "requires": { | ||
| 4241 | + "path-key": "^3.1.0", | ||
| 4242 | + "shebang-command": "^1.2.0", | ||
| 4243 | + "which": "^1.2.9" | ||
| 4244 | + } | ||
| 4245 | + }, | ||
| 4246 | + "path-key": { | ||
| 4247 | + "version": "3.1.0", | ||
| 4248 | + "resolved": "https://registry.npm.taobao.org/path-key/download/path-key-3.1.0.tgz", | ||
| 4249 | + "integrity": "sha1-maENhwqAO91e5vBHDljfzS+aVNM=", | ||
| 4250 | + "dev": true | ||
| 4251 | + } | ||
| 4099 | } | 4252 | } |
| 4100 | }, | 4253 | }, |
| 4101 | "cross-spawn": { | 4254 | "cross-spawn": { |
| ... | @@ -4724,9 +4877,9 @@ | ... | @@ -4724,9 +4877,9 @@ |
| 4724 | "dev": true | 4877 | "dev": true |
| 4725 | }, | 4878 | }, |
| 4726 | "electron": { | 4879 | "electron": { |
| 4727 | - "version": "6.0.9", | 4880 | + "version": "6.0.10", |
| 4728 | - "resolved": "https://registry.npm.taobao.org/electron/download/electron-6.0.9.tgz", | 4881 | + "resolved": "https://registry.npm.taobao.org/electron/download/electron-6.0.10.tgz", |
| 4729 | - "integrity": "sha1-/qFen+wykkjbUAszumVEom/gJaM=", | 4882 | + "integrity": "sha1-NGhUdkDJjtRgYHEcpw9D0LLkCBg=", |
| 4730 | "dev": true, | 4883 | "dev": true, |
| 4731 | "requires": { | 4884 | "requires": { |
| 4732 | "@types/node": "^10.12.18", | 4885 | "@types/node": "^10.12.18", |
| ... | @@ -4850,9 +5003,9 @@ | ... | @@ -4850,9 +5003,9 @@ |
| 4850 | } | 5003 | } |
| 4851 | }, | 5004 | }, |
| 4852 | "electron-to-chromium": { | 5005 | "electron-to-chromium": { |
| 4853 | - "version": "1.3.260", | 5006 | + "version": "1.3.264", |
| 4854 | - "resolved": "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.260.tgz?cache=0&sync_timestamp=1568606601679&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Felectron-to-chromium%2Fdownload%2Felectron-to-chromium-1.3.260.tgz", | 5007 | + "resolved": "https://registry.npm.taobao.org/electron-to-chromium/download/electron-to-chromium-1.3.264.tgz", |
| 4855 | - "integrity": "sha1-/9aGtIELqw4aQo569fCMIf58H6I=", | 5008 | + "integrity": "sha1-7YN/RFJNBgGnsre279huNXU9Dic=", |
| 4856 | "dev": true | 5009 | "dev": true |
| 4857 | }, | 5010 | }, |
| 4858 | "element-ui": { | 5011 | "element-ui": { |
| ... | @@ -5112,9 +5265,9 @@ | ... | @@ -5112,9 +5265,9 @@ |
| 5112 | } | 5265 | } |
| 5113 | }, | 5266 | }, |
| 5114 | "eslint-config-standard": { | 5267 | "eslint-config-standard": { |
| 5115 | - "version": "13.0.1", | 5268 | + "version": "14.1.0", |
| 5116 | - "resolved": "https://registry.npmjs.org/eslint-config-standard/-/eslint-config-standard-13.0.1.tgz", | 5269 | + "resolved": "https://registry.npm.taobao.org/eslint-config-standard/download/eslint-config-standard-14.1.0.tgz?cache=0&sync_timestamp=1566945938020&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Feslint-config-standard%2Fdownload%2Feslint-config-standard-14.1.0.tgz", |
| 5117 | - "integrity": "sha512-zLKp4QOgq6JFgRm1dDCVv1Iu0P5uZ4v5Wa4DTOkg2RFMxdCX/9Qf7lz9ezRj2dBRa955cWQF/O/LWEiYWAHbTw==", | 5270 | + "integrity": "sha1-sj2it2/louumaDdPJGRU5wWPFdQ=", |
| 5118 | "dev": true | 5271 | "dev": true |
| 5119 | }, | 5272 | }, |
| 5120 | "eslint-friendly-formatter": { | 5273 | "eslint-friendly-formatter": { |
| ... | @@ -5176,16 +5329,27 @@ | ... | @@ -5176,16 +5329,27 @@ |
| 5176 | } | 5329 | } |
| 5177 | }, | 5330 | }, |
| 5178 | "eslint-loader": { | 5331 | "eslint-loader": { |
| 5179 | - "version": "2.2.1", | 5332 | + "version": "3.0.0", |
| 5180 | - "resolved": "https://registry.npmjs.org/eslint-loader/-/eslint-loader-2.2.1.tgz", | 5333 | + "resolved": "https://registry.npm.taobao.org/eslint-loader/download/eslint-loader-3.0.0.tgz", |
| 5181 | - "integrity": "sha512-RLgV9hoCVsMLvOxCuNjdqOrUqIj9oJg8hF44vzJaYqsAHuY9G2YAeN3joQ9nxP0p5Th9iFSIpKo+SD8KISxXRg==", | 5334 | + "integrity": "sha1-+3C8LVUqZ09D8H9eZXUIPlZeeQ0=", |
| 5182 | "dev": true, | 5335 | "dev": true, |
| 5183 | "requires": { | 5336 | "requires": { |
| 5184 | - "loader-fs-cache": "^1.0.0", | 5337 | + "loader-fs-cache": "^1.0.2", |
| 5185 | - "loader-utils": "^1.0.2", | 5338 | + "loader-utils": "^1.2.3", |
| 5186 | - "object-assign": "^4.0.1", | 5339 | + "object-hash": "^1.3.1", |
| 5187 | - "object-hash": "^1.1.4", | 5340 | + "schema-utils": "^2.1.0" |
| 5188 | - "rimraf": "^2.6.1" | 5341 | + }, |
| 5342 | + "dependencies": { | ||
| 5343 | + "schema-utils": { | ||
| 5344 | + "version": "2.2.0", | ||
| 5345 | + "resolved": "https://registry.npm.taobao.org/schema-utils/download/schema-utils-2.2.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fschema-utils%2Fdownload%2Fschema-utils-2.2.0.tgz", | ||
| 5346 | + "integrity": "sha1-SKBlziGeDKz0YxRzFZA3ssGugto=", | ||
| 5347 | + "dev": true, | ||
| 5348 | + "requires": { | ||
| 5349 | + "ajv": "^6.10.2", | ||
| 5350 | + "ajv-keywords": "^3.4.1" | ||
| 5351 | + } | ||
| 5352 | + } | ||
| 5189 | } | 5353 | } |
| 5190 | }, | 5354 | }, |
| 5191 | "eslint-module-utils": { | 5355 | "eslint-module-utils": { |
| ... | @@ -8287,8 +8451,8 @@ | ... | @@ -8287,8 +8451,8 @@ |
| 8287 | }, | 8451 | }, |
| 8288 | "loader-fs-cache": { | 8452 | "loader-fs-cache": { |
| 8289 | "version": "1.0.2", | 8453 | "version": "1.0.2", |
| 8290 | - "resolved": "https://registry.npmjs.org/loader-fs-cache/-/loader-fs-cache-1.0.2.tgz", | 8454 | + "resolved": "https://registry.npm.taobao.org/loader-fs-cache/download/loader-fs-cache-1.0.2.tgz", |
| 8291 | - "integrity": "sha512-70IzT/0/L+M20jUlEqZhZyArTU6VKLRTYRDAYN26g4jfzpJqjipLL3/hgYpySqI9PwsVRHHFja0LfEmsx9X2Cw==", | 8455 | + "integrity": "sha1-VM7fa3J+F3n9jwEgXwX26IcG8IY=", |
| 8292 | "dev": true, | 8456 | "dev": true, |
| 8293 | "requires": { | 8457 | "requires": { |
| 8294 | "find-cache-dir": "^0.1.1", | 8458 | "find-cache-dir": "^0.1.1", |
| ... | @@ -9316,9 +9480,9 @@ | ... | @@ -9316,9 +9480,9 @@ |
| 9316 | "dev": true | 9480 | "dev": true |
| 9317 | }, | 9481 | }, |
| 9318 | "node-releases": { | 9482 | "node-releases": { |
| 9319 | - "version": "1.1.30", | 9483 | + "version": "1.1.32", |
| 9320 | - "resolved": "https://registry.npm.taobao.org/node-releases/download/node-releases-1.1.30.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fnode-releases%2Fdownload%2Fnode-releases-1.1.30.tgz", | 9484 | + "resolved": "https://registry.npm.taobao.org/node-releases/download/node-releases-1.1.32.tgz", |
| 9321 | - "integrity": "sha1-Ne6/Epxjuuttjd7aPDWwWr/Tf38=", | 9485 | + "integrity": "sha1-SFs1wb+bTYuqEF14L4ynMeUYJ24=", |
| 9322 | "dev": true, | 9486 | "dev": true, |
| 9323 | "requires": { | 9487 | "requires": { |
| 9324 | "semver": "^5.3.0" | 9488 | "semver": "^5.3.0" |
| ... | @@ -9601,8 +9765,8 @@ | ... | @@ -9601,8 +9765,8 @@ |
| 9601 | }, | 9765 | }, |
| 9602 | "object-hash": { | 9766 | "object-hash": { |
| 9603 | "version": "1.3.1", | 9767 | "version": "1.3.1", |
| 9604 | - "resolved": "https://registry.npmjs.org/object-hash/-/object-hash-1.3.1.tgz", | 9768 | + "resolved": "https://registry.npm.taobao.org/object-hash/download/object-hash-1.3.1.tgz", |
| 9605 | - "integrity": "sha512-OSuu/pU4ENM9kmREg0BdNrUDIl1heYa4mBZacJc+vVWz4GtAwu7jO8s4AIt2aGRUTqxykpWzI3Oqnsm13tTMDA==", | 9769 | + "integrity": "sha1-/eRSCYqVHLFF8Dm7fUVUSd3BJt8=", |
| 9606 | "dev": true | 9770 | "dev": true |
| 9607 | }, | 9771 | }, |
| 9608 | "object-is": { | 9772 | "object-is": { |
| ... | @@ -10969,12 +11133,6 @@ | ... | @@ -10969,12 +11133,6 @@ |
| 10969 | } | 11133 | } |
| 10970 | } | 11134 | } |
| 10971 | }, | 11135 | }, |
| 10972 | - "regexp-tree": { | ||
| 10973 | - "version": "0.1.13", | ||
| 10974 | - "resolved": "https://registry.npm.taobao.org/regexp-tree/download/regexp-tree-0.1.13.tgz?cache=0&sync_timestamp=1567187869909&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fregexp-tree%2Fdownload%2Fregexp-tree-0.1.13.tgz", | ||
| 10975 | - "integrity": "sha1-Wxmrk3ftxovDZ5JWhAuymvwVjX8=", | ||
| 10976 | - "dev": true | ||
| 10977 | - }, | ||
| 10978 | "regexp.prototype.flags": { | 11136 | "regexp.prototype.flags": { |
| 10979 | "version": "1.2.0", | 11137 | "version": "1.2.0", |
| 10980 | "resolved": "https://registry.npm.taobao.org/regexp.prototype.flags/download/regexp.prototype.flags-1.2.0.tgz", | 11138 | "resolved": "https://registry.npm.taobao.org/regexp.prototype.flags/download/regexp.prototype.flags-1.2.0.tgz", | ... | ... |
| ... | @@ -70,7 +70,7 @@ | ... | @@ -70,7 +70,7 @@ |
| 70 | "vuex-electron": "^1.0.3" | 70 | "vuex-electron": "^1.0.3" |
| 71 | }, | 71 | }, |
| 72 | "devDependencies": { | 72 | "devDependencies": { |
| 73 | - "@babel/core": "^7.6.0", | 73 | + "@babel/core": "^7.6.2", |
| 74 | "@babel/plugin-proposal-class-properties": "^7.0.0", | 74 | "@babel/plugin-proposal-class-properties": "^7.0.0", |
| 75 | "@babel/plugin-proposal-decorators": "^7.6.0", | 75 | "@babel/plugin-proposal-decorators": "^7.6.0", |
| 76 | "@babel/plugin-proposal-do-expressions": "^7.6.0", | 76 | "@babel/plugin-proposal-do-expressions": "^7.6.0", |
| ... | @@ -87,28 +87,29 @@ | ... | @@ -87,28 +87,29 @@ |
| 87 | "@babel/plugin-proposal-throw-expressions": "^7.0.0", | 87 | "@babel/plugin-proposal-throw-expressions": "^7.0.0", |
| 88 | "@babel/plugin-syntax-dynamic-import": "^7.0.0", | 88 | "@babel/plugin-syntax-dynamic-import": "^7.0.0", |
| 89 | "@babel/plugin-syntax-import-meta": "^7.0.0", | 89 | "@babel/plugin-syntax-import-meta": "^7.0.0", |
| 90 | - "@babel/plugin-transform-runtime": "^7.6.0", | 90 | + "@babel/plugin-transform-runtime": "^7.6.2", |
| 91 | "@babel/polyfill": "^7.6.0", | 91 | "@babel/polyfill": "^7.6.0", |
| 92 | - "@babel/preset-env": "^7.6.0", | 92 | + "@babel/preset-env": "^7.6.2", |
| 93 | - "@babel/register": "^7.6.0", | 93 | + "@babel/register": "^7.6.2", |
| 94 | - "@babel/runtime": "^7.6.0", | 94 | + "@babel/runtime": "^7.6.2", |
| 95 | "ajv": "^6.10.2", | 95 | "ajv": "^6.10.2", |
| 96 | "babel-eslint": "^9.0.0", | 96 | "babel-eslint": "^9.0.0", |
| 97 | "babel-loader": "^8.0.6", | 97 | "babel-loader": "^8.0.6", |
| 98 | "babel-minify-webpack-plugin": "^0.3.1", | 98 | "babel-minify-webpack-plugin": "^0.3.1", |
| 99 | "cfonts": "^2.4.5", | 99 | "cfonts": "^2.4.5", |
| 100 | "chalk": "^2.4.2", | 100 | "chalk": "^2.4.2", |
| 101 | + "clean-webpack-plugin": "^3.0.0", | ||
| 101 | "copy-webpack-plugin": "^5.0.4", | 102 | "copy-webpack-plugin": "^5.0.4", |
| 102 | - "cross-env": "^5.2.1", | 103 | + "cross-env": "^6.0.0", |
| 103 | "css-loader": "^3.1.0", | 104 | "css-loader": "^3.1.0", |
| 104 | "del": "^5.0.0", | 105 | "del": "^5.0.0", |
| 105 | - "electron": "^6.0.9", | 106 | + "electron": "^6.0.10", |
| 106 | "electron-builder": "^21.2.0", | 107 | "electron-builder": "^21.2.0", |
| 107 | "electron-devtools-installer": "^2.2.4", | 108 | "electron-devtools-installer": "^2.2.4", |
| 108 | "eslint": "^6.4.0", | 109 | "eslint": "^6.4.0", |
| 109 | - "eslint-config-standard": "^13.0.1", | 110 | + "eslint-config-standard": "^14.1.0", |
| 110 | "eslint-friendly-formatter": "^4.0.1", | 111 | "eslint-friendly-formatter": "^4.0.1", |
| 111 | - "eslint-loader": "^2.2.1", | 112 | + "eslint-loader": "^3.0.0", |
| 112 | "eslint-plugin-html": "^6.0.0", | 113 | "eslint-plugin-html": "^6.0.0", |
| 113 | "eslint-plugin-import": "^2.18.2", | 114 | "eslint-plugin-import": "^2.18.2", |
| 114 | "eslint-plugin-node": "^9.2.0", | 115 | "eslint-plugin-node": "^9.2.0", | ... | ... |
| ... | @@ -4,7 +4,7 @@ import config from '@config' | ... | @@ -4,7 +4,7 @@ import config from '@config' |
| 4 | import setIpc from './ipcMain' | 4 | import setIpc from './ipcMain' |
| 5 | import electronDevtoolsInstaller, { VUEJS_DEVTOOLS } from 'electron-devtools-installer' | 5 | import electronDevtoolsInstaller, { VUEJS_DEVTOOLS } from 'electron-devtools-installer' |
| 6 | 6 | ||
| 7 | -const winURL = process.env.NODE_ENV === 'development' ? `http://localhost:9080` : `file://${__dirname}/index.html` | 7 | +const winURL = process.env.NODE_ENV === 'development' ? 'http://localhost:9080' : `file://${__dirname}/index.html` |
| 8 | var loadWindow = null | 8 | var loadWindow = null |
| 9 | var mainWindow = null | 9 | var mainWindow = null |
| 10 | 10 | ||
| ... | @@ -16,12 +16,17 @@ function createMainWindow () { | ... | @@ -16,12 +16,17 @@ function createMainWindow () { |
| 16 | height: 800, | 16 | height: 800, |
| 17 | useContentSize: true, | 17 | useContentSize: true, |
| 18 | width: 1700, | 18 | width: 1700, |
| 19 | + minWidth: 1366, | ||
| 19 | show: false, | 20 | show: false, |
| 20 | frame: config.IsUseSysTitle, | 21 | frame: config.IsUseSysTitle, |
| 21 | titleBarStyle: 'hidden', | 22 | titleBarStyle: 'hidden', |
| 22 | webPreferences: { | 23 | webPreferences: { |
| 23 | nodeIntegration: true, | 24 | nodeIntegration: true, |
| 24 | - webSecurity: false | 25 | + webSecurity: false, |
| 26 | + // 如果是开发模式可以使用devTools | ||
| 27 | + devTools: process.env.NODE_ENV === 'development', | ||
| 28 | + // 在macos中启用橡皮动画 | ||
| 29 | + scrollBounce: process.platform === 'darwin' | ||
| 25 | } | 30 | } |
| 26 | }) | 31 | }) |
| 27 | 32 | ... | ... |
-
请 注册 或 登录 后发表评论