centaline-data-driven 1.1.51 → 1.1.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.babelrc +12 -12
- package/.editorconfig +9 -9
- package/.gitattributes +63 -63
- package/.postcssrc.js +10 -10
- package/Centaline.Front_End.DataDriven.csproj +37 -37
- package/Centaline.Front_End.DataDriven.sln +25 -25
- package/Properties/launchSettings.json +26 -26
- package/README.md +140 -140
- package/build/build.js +41 -41
- package/build/centaline/centaline.path.js +59 -59
- package/build/centaline/webpack.centaline.conf.js +106 -106
- package/build/check-versions.js +54 -54
- package/build/utils.js +102 -102
- package/build/vue-loader.conf.js +22 -22
- package/build/webpack.base.conf.js +82 -82
- package/build/webpack.dev.conf.js +111 -111
- package/build/webpack.prod.conf.js +145 -145
- package/config/dev.env.js +12 -12
- package/config/index.js +73 -73
- package/config/prod.env.js +4 -4
- package/index.html +14 -14
- package/package.json +75 -75
- package/src/App.vue +10 -10
- package/src/Detail.vue +26 -26
- package/src/Edit.vue +32 -66
- package/src/Form.vue +29 -30
- package/src/SearchList.vue +40 -40
- package/src/SearchTree.vue +51 -51
- package/src/Tabs.vue +19 -19
- package/src/centaline/api/index.js +249 -249
- package/src/centaline/comfirm/index.js +11 -11
- package/src/centaline/comfirm/src/comfirm.vue +44 -44
- package/src/centaline/common/index.js +738 -738
- package/src/centaline/css/common.css +749 -738
- package/src/centaline/css/max.css +208 -204
- package/src/centaline/dialogList/index.js +11 -11
- package/src/centaline/dialogList/src/dialog.vue +210 -207
- package/src/centaline/dialogList/src/dialogList.vue +65 -65
- package/src/centaline/dialogList/src/dialogNew.vue +78 -78
- package/src/centaline/dialogList/src/drag.js +77 -77
- package/src/centaline/directives/index.js +23 -23
- package/src/centaline/dynamicBtn/index.js +11 -11
- package/src/centaline/dynamicBtn/src/dynamicBtn.vue +100 -100
- package/src/centaline/dynamicCb/index.js +11 -11
- package/src/centaline/dynamicCb/src/dynamicCb.vue +72 -72
- package/src/centaline/dynamicCheckbox/index.js +11 -11
- package/src/centaline/dynamicCheckbox/src/dynamicCheckbox.vue +128 -128
- package/src/centaline/dynamicComboBoxWithTextBox/index.js +11 -11
- package/src/centaline/dynamicComboBoxWithTextBox/src/dynamicComboBoxWithTextBox.vue +240 -240
- package/src/centaline/dynamicD/index.js +11 -11
- package/src/centaline/dynamicD/src/dynamicD.vue +92 -92
- package/src/centaline/dynamicDetail/index.js +10 -10
- package/src/centaline/dynamicDetail/src/dynamicDetail.vue +40 -40
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailOFI.vue +1280 -1280
- package/src/centaline/dynamicDetail/src/dynamicPropertyDetailRET.vue +1293 -1295
- package/src/centaline/dynamicDrop/index.js +11 -11
- package/src/centaline/dynamicDrop/src/dynamicDrop.vue +54 -54
- package/src/centaline/dynamicDtd/index.js +11 -11
- package/src/centaline/dynamicDtd/src/dynamicDtd.vue +125 -125
- package/src/centaline/dynamicDtd/src/dynamicDtdOld.vue +93 -93
- package/src/centaline/dynamicFile/index.js +11 -11
- package/src/centaline/dynamicFile/src/dynamicFile.vue +288 -283
- package/src/centaline/dynamicForm/index.js +24 -24
- package/src/centaline/dynamicForm/src/dynamicForm.vue +564 -536
- package/src/centaline/dynamicForm/src/dynamicFormList.vue +209 -209
- package/src/centaline/dynamicForm/src/dynamicFormListTable.vue +376 -376
- package/src/centaline/dynamicGp/index.js +11 -11
- package/src/centaline/dynamicGp/src/dynamicGp.vue +27 -27
- package/src/centaline/dynamicHyperLink/index.js +11 -11
- package/src/centaline/dynamicHyperLink/src/dynamicHyperLink.vue +54 -54
- package/src/centaline/dynamicInput/index.js +35 -35
- package/src/centaline/dynamicInput/src/dynamicInput.vue +35 -35
- package/src/centaline/dynamicInputNumber/index.js +11 -11
- package/src/centaline/dynamicInputNumber/src/dynamicInputNumber.vue +157 -157
- package/src/centaline/dynamicIti/index.js +11 -11
- package/src/centaline/dynamicIti/src/dynamicIti.vue +148 -148
- package/src/centaline/dynamicL/index.js +11 -11
- package/src/centaline/dynamicL/src/dynamicL.vue +37 -37
- package/src/centaline/dynamicLabel/index.js +11 -11
- package/src/centaline/dynamicLabel/src/dynamicLabel.vue +73 -73
- package/src/centaline/dynamicLs/index.js +22 -22
- package/src/centaline/dynamicLs/src/dynamicLs.vue +233 -233
- package/src/centaline/dynamicMo/index.js +13 -13
- package/src/centaline/dynamicMo/src/dynamicMo.vue +421 -421
- package/src/centaline/dynamicMt/index.js +11 -11
- package/src/centaline/dynamicMt/src/dynamicMt.vue +44 -44
- package/src/centaline/dynamicPlaceHolder/index.js +11 -11
- package/src/centaline/dynamicPlaceHolder/src/dynamicPlaceHolder.vue +29 -29
- package/src/centaline/dynamicPopupSearchList/index.js +11 -11
- package/src/centaline/dynamicPopupSearchList/src/dynamicPopupSearchList.vue +157 -157
- package/src/centaline/dynamicPopupSearchList/src/dynamicPopupSearchListTable.vue +239 -237
- package/src/centaline/dynamicRichText/index.js +11 -11
- package/src/centaline/dynamicRichText/src/dynamicRichText.vue +33 -33
- package/src/centaline/dynamicSearchList/index.js +11 -11
- package/src/centaline/dynamicSearchList/src/dynamicSearchCategory.vue +121 -121
- package/src/centaline/dynamicSearchList/src/dynamicSearchList.vue +135 -135
- package/src/centaline/dynamicSearchList/src/dynamicSearchScreen.vue +206 -206
- package/src/centaline/dynamicSearchList/src/dynamicSearchTable.vue +1069 -1069
- package/src/centaline/dynamicSearchList/src/dynamicTableStatistics.vue +41 -41
- package/src/centaline/dynamicSearchList/src/dynamicTableTip.vue +46 -46
- package/src/centaline/dynamicSearchList/src/dynamicTableToolbar.vue +61 -61
- package/src/centaline/dynamicSeg/index.js +11 -11
- package/src/centaline/dynamicSeg/src/dynamicSeg.vue +100 -100
- package/src/centaline/dynamicSensitiveEye/index.js +11 -11
- package/src/centaline/dynamicSensitiveEye/src/dynamicSensitiveEye.vue +74 -74
- package/src/centaline/dynamicSo/index.js +14 -14
- package/src/centaline/dynamicSo/src/dynamicSo.vue +328 -328
- package/src/centaline/dynamicSo/src/dynamicSo/345/211/257/346/234/254.vue +69 -69
- package/src/centaline/dynamicSos/index.js +14 -14
- package/src/centaline/dynamicSos/src/dynamicSos - /345/244/215/345/210/266.vue" +223 -223
- package/src/centaline/dynamicSos/src/dynamicSos.vue +260 -260
- package/src/centaline/dynamicSw/index.js +11 -11
- package/src/centaline/dynamicSw/src/dynamicSw.vue +74 -74
- package/src/centaline/dynamicT/index.js +11 -11
- package/src/centaline/dynamicT/src/dynamicT.vue +79 -79
- package/src/centaline/dynamicTab/index.js +11 -11
- package/src/centaline/dynamicTab/src/dynamicTab.vue +49 -49
- package/src/centaline/dynamicTabs/index.js +11 -11
- package/src/centaline/dynamicTabs/src/dynamicTabs.vue +69 -69
- package/src/centaline/dynamicTags/index.js +13 -13
- package/src/centaline/dynamicTags/src/dynamicTags - /345/244/215/345/210/266.vue" +391 -391
- package/src/centaline/dynamicTags/src/dynamicTags.vue +427 -427
- package/src/centaline/dynamicTimeSelect/index.js +11 -11
- package/src/centaline/dynamicTimeSelect/src/dynamicTimeSelect.vue +141 -141
- package/src/centaline/dynamicTree/index.js +11 -11
- package/src/centaline/dynamicTree/src/dynamicSearchTree.vue +66 -66
- package/src/centaline/dynamicTree/src/dynamicTree.vue +233 -233
- package/src/centaline/dynamicTree/src/dynamicTreeList.vue +74 -74
- package/src/centaline/formData/index.js +290 -290
- package/src/centaline/imgPreview/index.js +42 -42
- package/src/centaline/imgPreview/src/imgPreview.vue +26 -26
- package/src/centaline/index.js +51 -51
- package/src/centaline/loader/index.js +157 -157
- package/src/centaline/loader/src/ctl/Base.js +261 -261
- package/src/centaline/loader/src/ctl/Button.js +44 -44
- package/src/centaline/loader/src/ctl/Cb.js +27 -27
- package/src/centaline/loader/src/ctl/Checkbox.js +107 -107
- package/src/centaline/loader/src/ctl/ComboBoxWithTextBox.js +162 -162
- package/src/centaline/loader/src/ctl/D.js +31 -31
- package/src/centaline/loader/src/ctl/Detail.js +175 -175
- package/src/centaline/loader/src/ctl/Dtd.js +115 -115
- package/src/centaline/loader/src/ctl/DtdOld.js +129 -129
- package/src/centaline/loader/src/ctl/File.js +292 -292
- package/src/centaline/loader/src/ctl/Form.js +380 -363
- package/src/centaline/loader/src/ctl/FormList.js +428 -428
- package/src/centaline/loader/src/ctl/GM.js +20 -20
- package/src/centaline/loader/src/ctl/Gp.js +9 -9
- package/src/centaline/loader/src/ctl/Hd.js +13 -13
- package/src/centaline/loader/src/ctl/HyperLink.js +24 -24
- package/src/centaline/loader/src/ctl/InputNumber.js +51 -51
- package/src/centaline/loader/src/ctl/Iti.js +108 -108
- package/src/centaline/loader/src/ctl/L.js +18 -18
- package/src/centaline/loader/src/ctl/Mo.js +183 -183
- package/src/centaline/loader/src/ctl/Mt.js +20 -20
- package/src/centaline/loader/src/ctl/PlaceHolder.js +17 -17
- package/src/centaline/loader/src/ctl/Router.js +273 -273
- package/src/centaline/loader/src/ctl/SearchCategory.js +54 -54
- package/src/centaline/loader/src/ctl/SearchScreen.js +236 -236
- package/src/centaline/loader/src/ctl/SearchTable.js +772 -772
- package/src/centaline/loader/src/ctl/Seg.js +37 -37
- package/src/centaline/loader/src/ctl/SensitiveEye.js +65 -65
- package/src/centaline/loader/src/ctl/So.js +117 -117
- package/src/centaline/loader/src/ctl/Sos.js +128 -128
- package/src/centaline/loader/src/ctl/Sw.js +27 -27
- package/src/centaline/loader/src/ctl/T.js +65 -65
- package/src/centaline/loader/src/ctl/Tabs.js +57 -57
- package/src/centaline/loader/src/ctl/Tags.js +191 -191
- package/src/centaline/loader/src/ctl/TimeSelect.js +87 -87
- package/src/centaline/loader/src/ctl/Tree.js +151 -151
- package/src/centaline/loader/src/ctl/Ttts.js +78 -78
- package/src/centaline/loader/src/ctl/lib/Enum.js +563 -563
- package/src/centaline/loader/src/ctl/lib/LibFunction.js +364 -364
- package/src/centaline/loader/src/ctl.js +36 -35
- package/src/centaline/mixins/dynamicElement.js +151 -151
- package/src/centaline/mixins/dynamicSelect.js +84 -84
- package/src/centaline/mixins/emitter.js +33 -33
- package/src/centaline/progress/index.js +11 -11
- package/src/centaline/progress/src/progress.vue +70 -70
- package/src/centaline/quickInput/src/quickInput.vue +64 -64
- package/src/centaline/selectOption/src/selectOption.vue +61 -61
- package/src/centaline/selectOption/src/selectOptionVertical.vue +80 -80
- package/src/centaline/templateControls/index.js +17 -17
- package/src/centaline/templateControls/src/dynamicTableA.vue +20 -20
- package/src/centaline/templateControls/src/dynamicTableCurrency.vue +62 -62
- package/src/centaline/templateControls/src/dynamicTableImg.vue +25 -25
- package/src/centaline/templates/index.js +34 -34
- package/src/centaline/templates/src/ContractSearch.js +67 -67
- package/src/centaline/templates/src/test.js +44 -44
- package/src/centaline/validate/index.js +332 -332
- package/src/main.js +46 -48
- package/src/router/index.js +44 -44
- package/wwwroot/static/centaline/centaline-data-driven.js +1 -1
- package/wwwroot/static/centaline/centaline-data-driven.js.map +1 -1
|
@@ -1,145 +1,145 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
const path = require('path')
|
|
3
|
-
const utils = require('./utils')
|
|
4
|
-
const webpack = require('webpack')
|
|
5
|
-
const config = require('../config')
|
|
6
|
-
const merge = require('webpack-merge')
|
|
7
|
-
const baseWebpackConfig = require('./webpack.base.conf')
|
|
8
|
-
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
|
9
|
-
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
10
|
-
const ExtractTextPlugin = require('extract-text-webpack-plugin')
|
|
11
|
-
const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
|
|
12
|
-
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
|
|
13
|
-
|
|
14
|
-
const env = require('../config/prod.env')
|
|
15
|
-
|
|
16
|
-
const webpackConfig = merge(baseWebpackConfig, {
|
|
17
|
-
module: {
|
|
18
|
-
rules: utils.styleLoaders({
|
|
19
|
-
sourceMap: config.build.productionSourceMap,
|
|
20
|
-
extract: true,
|
|
21
|
-
usePostCSS: true
|
|
22
|
-
})
|
|
23
|
-
},
|
|
24
|
-
devtool: config.build.productionSourceMap ? config.build.devtool : false,
|
|
25
|
-
output: {
|
|
26
|
-
path: config.build.assetsRoot,
|
|
27
|
-
filename: utils.assetsPath('js/[name].[chunkhash].js'),
|
|
28
|
-
chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
|
|
29
|
-
},
|
|
30
|
-
plugins: [
|
|
31
|
-
// http://vuejs.github.io/vue-loader/en/workflow/production.html
|
|
32
|
-
new webpack.DefinePlugin({
|
|
33
|
-
'process.env': env
|
|
34
|
-
}),
|
|
35
|
-
new UglifyJsPlugin({
|
|
36
|
-
uglifyOptions: {
|
|
37
|
-
compress: {
|
|
38
|
-
warnings: false
|
|
39
|
-
}
|
|
40
|
-
},
|
|
41
|
-
sourceMap: config.build.productionSourceMap,
|
|
42
|
-
parallel: true
|
|
43
|
-
}),
|
|
44
|
-
// extract css into its own file
|
|
45
|
-
new ExtractTextPlugin({
|
|
46
|
-
filename: utils.assetsPath('css/[name].[contenthash].css'),
|
|
47
|
-
// Setting the following option to `false` will not extract CSS from codesplit chunks.
|
|
48
|
-
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
|
|
49
|
-
// It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
|
|
50
|
-
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
|
|
51
|
-
allChunks: true,
|
|
52
|
-
}),
|
|
53
|
-
// Compress extracted CSS. We are using this plugin so that possible
|
|
54
|
-
// duplicated CSS from different components can be deduped.
|
|
55
|
-
new OptimizeCSSPlugin({
|
|
56
|
-
cssProcessorOptions: config.build.productionSourceMap
|
|
57
|
-
? { safe: true, map: { inline: false } }
|
|
58
|
-
: { safe: true }
|
|
59
|
-
}),
|
|
60
|
-
// generate dist index.html with correct asset hash for caching.
|
|
61
|
-
// you can customize output by editing /index.html
|
|
62
|
-
// see https://github.com/ampedandwired/html-webpack-plugin
|
|
63
|
-
new HtmlWebpackPlugin({
|
|
64
|
-
filename: config.build.index,
|
|
65
|
-
template: 'index.html',
|
|
66
|
-
inject: true,
|
|
67
|
-
minify: {
|
|
68
|
-
removeComments: true,
|
|
69
|
-
collapseWhitespace: true,
|
|
70
|
-
removeAttributeQuotes: true
|
|
71
|
-
// more options:
|
|
72
|
-
// https://github.com/kangax/html-minifier#options-quick-reference
|
|
73
|
-
},
|
|
74
|
-
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
|
|
75
|
-
chunksSortMode: 'dependency'
|
|
76
|
-
}),
|
|
77
|
-
// keep module.id stable when vendor modules does not change
|
|
78
|
-
new webpack.HashedModuleIdsPlugin(),
|
|
79
|
-
// enable scope hoisting
|
|
80
|
-
new webpack.optimize.ModuleConcatenationPlugin(),
|
|
81
|
-
// split vendor js into its own file
|
|
82
|
-
new webpack.optimize.CommonsChunkPlugin({
|
|
83
|
-
name: 'vendor',
|
|
84
|
-
minChunks (module) {
|
|
85
|
-
// any required modules inside node_modules are extracted to vendor
|
|
86
|
-
return (
|
|
87
|
-
module.resource &&
|
|
88
|
-
/\.js$/.test(module.resource) &&
|
|
89
|
-
module.resource.indexOf(
|
|
90
|
-
path.join(__dirname, '../node_modules')
|
|
91
|
-
) === 0
|
|
92
|
-
)
|
|
93
|
-
}
|
|
94
|
-
}),
|
|
95
|
-
// extract webpack runtime and module manifest to its own file in order to
|
|
96
|
-
// prevent vendor hash from being updated whenever app bundle is updated
|
|
97
|
-
new webpack.optimize.CommonsChunkPlugin({
|
|
98
|
-
name: 'manifest',
|
|
99
|
-
minChunks: Infinity
|
|
100
|
-
}),
|
|
101
|
-
// This instance extracts shared chunks from code splitted chunks and bundles them
|
|
102
|
-
// in a separate chunk, similar to the vendor chunk
|
|
103
|
-
// see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk
|
|
104
|
-
new webpack.optimize.CommonsChunkPlugin({
|
|
105
|
-
name: 'app',
|
|
106
|
-
async: 'vendor-async',
|
|
107
|
-
children: true,
|
|
108
|
-
minChunks: 3
|
|
109
|
-
}),
|
|
110
|
-
|
|
111
|
-
// copy custom static assets
|
|
112
|
-
new CopyWebpackPlugin([
|
|
113
|
-
{
|
|
114
|
-
from: path.resolve(__dirname, '../static'),
|
|
115
|
-
to: config.build.assetsSubDirectory,
|
|
116
|
-
ignore: ['.*']
|
|
117
|
-
}
|
|
118
|
-
])
|
|
119
|
-
]
|
|
120
|
-
})
|
|
121
|
-
|
|
122
|
-
if (config.build.productionGzip) {
|
|
123
|
-
const CompressionWebpackPlugin = require('compression-webpack-plugin')
|
|
124
|
-
|
|
125
|
-
webpackConfig.plugins.push(
|
|
126
|
-
new CompressionWebpackPlugin({
|
|
127
|
-
asset: '[path].gz[query]',
|
|
128
|
-
algorithm: 'gzip',
|
|
129
|
-
test: new RegExp(
|
|
130
|
-
'\\.(' +
|
|
131
|
-
config.build.productionGzipExtensions.join('|') +
|
|
132
|
-
')$'
|
|
133
|
-
),
|
|
134
|
-
threshold: 10240,
|
|
135
|
-
minRatio: 0.8
|
|
136
|
-
})
|
|
137
|
-
)
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
if (config.build.bundleAnalyzerReport) {
|
|
141
|
-
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
|
142
|
-
webpackConfig.plugins.push(new BundleAnalyzerPlugin())
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
module.exports = webpackConfig
|
|
1
|
+
'use strict'
|
|
2
|
+
const path = require('path')
|
|
3
|
+
const utils = require('./utils')
|
|
4
|
+
const webpack = require('webpack')
|
|
5
|
+
const config = require('../config')
|
|
6
|
+
const merge = require('webpack-merge')
|
|
7
|
+
const baseWebpackConfig = require('./webpack.base.conf')
|
|
8
|
+
const CopyWebpackPlugin = require('copy-webpack-plugin')
|
|
9
|
+
const HtmlWebpackPlugin = require('html-webpack-plugin')
|
|
10
|
+
const ExtractTextPlugin = require('extract-text-webpack-plugin')
|
|
11
|
+
const OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')
|
|
12
|
+
const UglifyJsPlugin = require('uglifyjs-webpack-plugin')
|
|
13
|
+
|
|
14
|
+
const env = require('../config/prod.env')
|
|
15
|
+
|
|
16
|
+
const webpackConfig = merge(baseWebpackConfig, {
|
|
17
|
+
module: {
|
|
18
|
+
rules: utils.styleLoaders({
|
|
19
|
+
sourceMap: config.build.productionSourceMap,
|
|
20
|
+
extract: true,
|
|
21
|
+
usePostCSS: true
|
|
22
|
+
})
|
|
23
|
+
},
|
|
24
|
+
devtool: config.build.productionSourceMap ? config.build.devtool : false,
|
|
25
|
+
output: {
|
|
26
|
+
path: config.build.assetsRoot,
|
|
27
|
+
filename: utils.assetsPath('js/[name].[chunkhash].js'),
|
|
28
|
+
chunkFilename: utils.assetsPath('js/[id].[chunkhash].js')
|
|
29
|
+
},
|
|
30
|
+
plugins: [
|
|
31
|
+
// http://vuejs.github.io/vue-loader/en/workflow/production.html
|
|
32
|
+
new webpack.DefinePlugin({
|
|
33
|
+
'process.env': env
|
|
34
|
+
}),
|
|
35
|
+
new UglifyJsPlugin({
|
|
36
|
+
uglifyOptions: {
|
|
37
|
+
compress: {
|
|
38
|
+
warnings: false
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
sourceMap: config.build.productionSourceMap,
|
|
42
|
+
parallel: true
|
|
43
|
+
}),
|
|
44
|
+
// extract css into its own file
|
|
45
|
+
new ExtractTextPlugin({
|
|
46
|
+
filename: utils.assetsPath('css/[name].[contenthash].css'),
|
|
47
|
+
// Setting the following option to `false` will not extract CSS from codesplit chunks.
|
|
48
|
+
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
|
|
49
|
+
// It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
|
|
50
|
+
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
|
|
51
|
+
allChunks: true,
|
|
52
|
+
}),
|
|
53
|
+
// Compress extracted CSS. We are using this plugin so that possible
|
|
54
|
+
// duplicated CSS from different components can be deduped.
|
|
55
|
+
new OptimizeCSSPlugin({
|
|
56
|
+
cssProcessorOptions: config.build.productionSourceMap
|
|
57
|
+
? { safe: true, map: { inline: false } }
|
|
58
|
+
: { safe: true }
|
|
59
|
+
}),
|
|
60
|
+
// generate dist index.html with correct asset hash for caching.
|
|
61
|
+
// you can customize output by editing /index.html
|
|
62
|
+
// see https://github.com/ampedandwired/html-webpack-plugin
|
|
63
|
+
new HtmlWebpackPlugin({
|
|
64
|
+
filename: config.build.index,
|
|
65
|
+
template: 'index.html',
|
|
66
|
+
inject: true,
|
|
67
|
+
minify: {
|
|
68
|
+
removeComments: true,
|
|
69
|
+
collapseWhitespace: true,
|
|
70
|
+
removeAttributeQuotes: true
|
|
71
|
+
// more options:
|
|
72
|
+
// https://github.com/kangax/html-minifier#options-quick-reference
|
|
73
|
+
},
|
|
74
|
+
// necessary to consistently work with multiple chunks via CommonsChunkPlugin
|
|
75
|
+
chunksSortMode: 'dependency'
|
|
76
|
+
}),
|
|
77
|
+
// keep module.id stable when vendor modules does not change
|
|
78
|
+
new webpack.HashedModuleIdsPlugin(),
|
|
79
|
+
// enable scope hoisting
|
|
80
|
+
new webpack.optimize.ModuleConcatenationPlugin(),
|
|
81
|
+
// split vendor js into its own file
|
|
82
|
+
new webpack.optimize.CommonsChunkPlugin({
|
|
83
|
+
name: 'vendor',
|
|
84
|
+
minChunks (module) {
|
|
85
|
+
// any required modules inside node_modules are extracted to vendor
|
|
86
|
+
return (
|
|
87
|
+
module.resource &&
|
|
88
|
+
/\.js$/.test(module.resource) &&
|
|
89
|
+
module.resource.indexOf(
|
|
90
|
+
path.join(__dirname, '../node_modules')
|
|
91
|
+
) === 0
|
|
92
|
+
)
|
|
93
|
+
}
|
|
94
|
+
}),
|
|
95
|
+
// extract webpack runtime and module manifest to its own file in order to
|
|
96
|
+
// prevent vendor hash from being updated whenever app bundle is updated
|
|
97
|
+
new webpack.optimize.CommonsChunkPlugin({
|
|
98
|
+
name: 'manifest',
|
|
99
|
+
minChunks: Infinity
|
|
100
|
+
}),
|
|
101
|
+
// This instance extracts shared chunks from code splitted chunks and bundles them
|
|
102
|
+
// in a separate chunk, similar to the vendor chunk
|
|
103
|
+
// see: https://webpack.js.org/plugins/commons-chunk-plugin/#extra-async-commons-chunk
|
|
104
|
+
new webpack.optimize.CommonsChunkPlugin({
|
|
105
|
+
name: 'app',
|
|
106
|
+
async: 'vendor-async',
|
|
107
|
+
children: true,
|
|
108
|
+
minChunks: 3
|
|
109
|
+
}),
|
|
110
|
+
|
|
111
|
+
// copy custom static assets
|
|
112
|
+
new CopyWebpackPlugin([
|
|
113
|
+
{
|
|
114
|
+
from: path.resolve(__dirname, '../static'),
|
|
115
|
+
to: config.build.assetsSubDirectory,
|
|
116
|
+
ignore: ['.*']
|
|
117
|
+
}
|
|
118
|
+
])
|
|
119
|
+
]
|
|
120
|
+
})
|
|
121
|
+
|
|
122
|
+
if (config.build.productionGzip) {
|
|
123
|
+
const CompressionWebpackPlugin = require('compression-webpack-plugin')
|
|
124
|
+
|
|
125
|
+
webpackConfig.plugins.push(
|
|
126
|
+
new CompressionWebpackPlugin({
|
|
127
|
+
asset: '[path].gz[query]',
|
|
128
|
+
algorithm: 'gzip',
|
|
129
|
+
test: new RegExp(
|
|
130
|
+
'\\.(' +
|
|
131
|
+
config.build.productionGzipExtensions.join('|') +
|
|
132
|
+
')$'
|
|
133
|
+
),
|
|
134
|
+
threshold: 10240,
|
|
135
|
+
minRatio: 0.8
|
|
136
|
+
})
|
|
137
|
+
)
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
if (config.build.bundleAnalyzerReport) {
|
|
141
|
+
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
|
|
142
|
+
webpackConfig.plugins.push(new BundleAnalyzerPlugin())
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
module.exports = webpackConfig
|
package/config/dev.env.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
const merge = require('webpack-merge')
|
|
3
|
-
const prodEnv = require('./prod.env')
|
|
4
|
-
|
|
5
|
-
module.exports = merge(prodEnv, {
|
|
6
|
-
NODE_ENV: '"development"',
|
|
7
|
-
// BASE_API: '"http://10.88.1.151:8085/v1/form/router"',//aplus黄兰
|
|
8
|
-
BASE_API: '"http://10.88.22.46:7070/v1/form/router"',//max本地
|
|
9
|
-
//BASE_API: '"http://10.88.22.71:5008/api/doaction/router"',
|
|
10
|
-
// BASE_API: '"http://tjcptest.centaline.com.cn/v1/form/router"',
|
|
11
|
-
// BASE_API: '"http://10.88.200.31:5000/gateway/redirect"',
|
|
12
|
-
})
|
|
1
|
+
'use strict'
|
|
2
|
+
const merge = require('webpack-merge')
|
|
3
|
+
const prodEnv = require('./prod.env')
|
|
4
|
+
|
|
5
|
+
module.exports = merge(prodEnv, {
|
|
6
|
+
NODE_ENV: '"development"',
|
|
7
|
+
// BASE_API: '"http://10.88.1.151:8085/v1/form/router"',//aplus黄兰
|
|
8
|
+
BASE_API: '"http://10.88.22.46:7070/v1/form/router"',//max本地
|
|
9
|
+
//BASE_API: '"http://10.88.22.71:5008/api/doaction/router"',
|
|
10
|
+
// BASE_API: '"http://tjcptest.centaline.com.cn/v1/form/router"',
|
|
11
|
+
// BASE_API: '"http://10.88.200.31:5000/gateway/redirect"',
|
|
12
|
+
})
|
package/config/index.js
CHANGED
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
// Template version: 1.3.1
|
|
3
|
-
// see http://vuejs-templates.github.io/webpack for documentation.
|
|
4
|
-
|
|
5
|
-
const path = require('path')
|
|
6
|
-
|
|
7
|
-
module.exports = {
|
|
8
|
-
dev: {
|
|
9
|
-
|
|
10
|
-
// Paths
|
|
11
|
-
assetsSubDirectory: 'static',
|
|
12
|
-
assetsPublicPath: '/',
|
|
13
|
-
proxyTable: {},
|
|
14
|
-
|
|
15
|
-
// Various Dev Server settings
|
|
16
|
-
disableHostCheck: true,
|
|
17
|
-
host: "0.0.0.0",
|
|
18
|
-
//proxy: {
|
|
19
|
-
// "**": "http://127.0.0.1:8040"//代理本地服务器
|
|
20
|
-
//},
|
|
21
|
-
port: 3333, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
|
22
|
-
autoOpenBrowser: false,
|
|
23
|
-
errorOverlay: true,
|
|
24
|
-
notifyOnErrors: true,
|
|
25
|
-
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* Source Maps
|
|
30
|
-
*/
|
|
31
|
-
|
|
32
|
-
// https://webpack.js.org/configuration/devtool/#development
|
|
33
|
-
devtool: 'cheap-module-eval-source-map',
|
|
34
|
-
|
|
35
|
-
// If you have problems debugging vue-files in devtools,
|
|
36
|
-
// set this to false - it *may* help
|
|
37
|
-
// https://vue-loader.vuejs.org/en/options.html#cachebusting
|
|
38
|
-
cacheBusting: true,
|
|
39
|
-
|
|
40
|
-
cssSourceMap: true
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
build: {
|
|
44
|
-
// Template for index.html
|
|
45
|
-
index: path.resolve(__dirname, '../wwwroot/index.html'),
|
|
46
|
-
|
|
47
|
-
// Paths
|
|
48
|
-
assetsRoot: path.resolve(__dirname, '../wwwroot'),
|
|
49
|
-
assetsSubDirectory: 'static',
|
|
50
|
-
assetsPublicPath: '/',
|
|
51
|
-
|
|
52
|
-
/**
|
|
53
|
-
* Source Maps
|
|
54
|
-
*/
|
|
55
|
-
|
|
56
|
-
productionSourceMap: true,
|
|
57
|
-
// https://webpack.js.org/configuration/devtool/#production
|
|
58
|
-
devtool: '#source-map',
|
|
59
|
-
|
|
60
|
-
// Gzip off by default as many popular static hosts such as
|
|
61
|
-
// Surge or Netlify already gzip all static assets for you.
|
|
62
|
-
// Before setting to `true`, make sure to:
|
|
63
|
-
// npm install --save-dev compression-webpack-plugin
|
|
64
|
-
productionGzip: false,
|
|
65
|
-
productionGzipExtensions: ['js', 'css'],
|
|
66
|
-
|
|
67
|
-
// Run the build command with an extra argument to
|
|
68
|
-
// View the bundle analyzer report after build finishes:
|
|
69
|
-
// `npm run build --report`
|
|
70
|
-
// Set to `true` or `false` to always turn it on or off
|
|
71
|
-
bundleAnalyzerReport: process.env.npm_config_report
|
|
72
|
-
}
|
|
73
|
-
}
|
|
1
|
+
'use strict'
|
|
2
|
+
// Template version: 1.3.1
|
|
3
|
+
// see http://vuejs-templates.github.io/webpack for documentation.
|
|
4
|
+
|
|
5
|
+
const path = require('path')
|
|
6
|
+
|
|
7
|
+
module.exports = {
|
|
8
|
+
dev: {
|
|
9
|
+
|
|
10
|
+
// Paths
|
|
11
|
+
assetsSubDirectory: 'static',
|
|
12
|
+
assetsPublicPath: '/',
|
|
13
|
+
proxyTable: {},
|
|
14
|
+
|
|
15
|
+
// Various Dev Server settings
|
|
16
|
+
disableHostCheck: true,
|
|
17
|
+
host: "0.0.0.0",
|
|
18
|
+
//proxy: {
|
|
19
|
+
// "**": "http://127.0.0.1:8040"//代理本地服务器
|
|
20
|
+
//},
|
|
21
|
+
port: 3333, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
|
|
22
|
+
autoOpenBrowser: false,
|
|
23
|
+
errorOverlay: true,
|
|
24
|
+
notifyOnErrors: true,
|
|
25
|
+
poll: false, // https://webpack.js.org/configuration/dev-server/#devserver-watchoptions-
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* Source Maps
|
|
30
|
+
*/
|
|
31
|
+
|
|
32
|
+
// https://webpack.js.org/configuration/devtool/#development
|
|
33
|
+
devtool: 'cheap-module-eval-source-map',
|
|
34
|
+
|
|
35
|
+
// If you have problems debugging vue-files in devtools,
|
|
36
|
+
// set this to false - it *may* help
|
|
37
|
+
// https://vue-loader.vuejs.org/en/options.html#cachebusting
|
|
38
|
+
cacheBusting: true,
|
|
39
|
+
|
|
40
|
+
cssSourceMap: true
|
|
41
|
+
},
|
|
42
|
+
|
|
43
|
+
build: {
|
|
44
|
+
// Template for index.html
|
|
45
|
+
index: path.resolve(__dirname, '../wwwroot/index.html'),
|
|
46
|
+
|
|
47
|
+
// Paths
|
|
48
|
+
assetsRoot: path.resolve(__dirname, '../wwwroot'),
|
|
49
|
+
assetsSubDirectory: 'static',
|
|
50
|
+
assetsPublicPath: '/',
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Source Maps
|
|
54
|
+
*/
|
|
55
|
+
|
|
56
|
+
productionSourceMap: true,
|
|
57
|
+
// https://webpack.js.org/configuration/devtool/#production
|
|
58
|
+
devtool: '#source-map',
|
|
59
|
+
|
|
60
|
+
// Gzip off by default as many popular static hosts such as
|
|
61
|
+
// Surge or Netlify already gzip all static assets for you.
|
|
62
|
+
// Before setting to `true`, make sure to:
|
|
63
|
+
// npm install --save-dev compression-webpack-plugin
|
|
64
|
+
productionGzip: false,
|
|
65
|
+
productionGzipExtensions: ['js', 'css'],
|
|
66
|
+
|
|
67
|
+
// Run the build command with an extra argument to
|
|
68
|
+
// View the bundle analyzer report after build finishes:
|
|
69
|
+
// `npm run build --report`
|
|
70
|
+
// Set to `true` or `false` to always turn it on or off
|
|
71
|
+
bundleAnalyzerReport: process.env.npm_config_report
|
|
72
|
+
}
|
|
73
|
+
}
|
package/config/prod.env.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
'use strict'
|
|
2
|
-
module.exports = {
|
|
3
|
-
NODE_ENV: '"production"'
|
|
4
|
-
}
|
|
1
|
+
'use strict'
|
|
2
|
+
module.exports = {
|
|
3
|
+
NODE_ENV: '"production"'
|
|
4
|
+
}
|
package/index.html
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="utf-8">
|
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
6
|
-
<meta name="renderer" content="webkit">
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
8
|
-
<title>ccaiweb</title>
|
|
9
|
-
</head>
|
|
10
|
-
<body>
|
|
11
|
-
<div id="app"></div>
|
|
12
|
-
<!-- built files will be auto injected -->
|
|
13
|
-
</body>
|
|
14
|
-
</html>
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
|
6
|
+
<meta name="renderer" content="webkit">
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
|
8
|
+
<title>ccaiweb</title>
|
|
9
|
+
</head>
|
|
10
|
+
<body>
|
|
11
|
+
<div id="app"></div>
|
|
12
|
+
<!-- built files will be auto injected -->
|
|
13
|
+
</body>
|
|
14
|
+
</html>
|
package/package.json
CHANGED
|
@@ -1,75 +1,75 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "centaline-data-driven",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "ccai",
|
|
5
|
-
"author": "hjc <3226136347@qq.com>",
|
|
6
|
-
"private": false,
|
|
7
|
-
"main": "./wwwroot/static/centaline/centaline-data-driven.js",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"dev": "webpack-dev-server --inline --progress --host 0.0.0.0 --config build/webpack.dev.conf.js",
|
|
10
|
-
"start": "npm run dev",
|
|
11
|
-
"centaline": "webpack --progress --hide-modules --config build/centaline/webpack.centaline.conf.js",
|
|
12
|
-
"build": "webpack --progress --hide-modules --config build/centaline/webpack.centaline.conf.js"
|
|
13
|
-
},
|
|
14
|
-
"dependencies": {
|
|
15
|
-
"axios": "^0.24.0",
|
|
16
|
-
"babel-polyfill": "^6.26.0",
|
|
17
|
-
"compression-webpack-plugin": "^2.0.0",
|
|
18
|
-
"element-ui": "^2.15.7",
|
|
19
|
-
"sass": "^1.34.0",
|
|
20
|
-
"save": "^2.4.0",
|
|
21
|
-
"vue": "2.5.17"
|
|
22
|
-
},
|
|
23
|
-
"peerDependencies": {
|
|
24
|
-
"element-ui": "^2.15.7",
|
|
25
|
-
"vue": "2.5.17"
|
|
26
|
-
},
|
|
27
|
-
"devDependencies": {
|
|
28
|
-
"autoprefixer": "^7.1.2",
|
|
29
|
-
"babel-core": "^6.22.1",
|
|
30
|
-
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
31
|
-
"babel-loader": "^7.1.1",
|
|
32
|
-
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
33
|
-
"babel-plugin-transform-runtime": "^6.22.0",
|
|
34
|
-
"babel-plugin-transform-vue-jsx": "^3.5.0",
|
|
35
|
-
"babel-preset-env": "^1.3.2",
|
|
36
|
-
"babel-preset-stage-2": "^6.22.0",
|
|
37
|
-
"chalk": "^2.0.1",
|
|
38
|
-
"copy-webpack-plugin": "^4.0.1",
|
|
39
|
-
"css-loader": "^0.28.0",
|
|
40
|
-
"extract-text-webpack-plugin": "^3.0.0",
|
|
41
|
-
"file-loader": "^1.1.4",
|
|
42
|
-
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
43
|
-
"html-webpack-plugin": "^2.30.1",
|
|
44
|
-
"node-notifier": "^5.1.2",
|
|
45
|
-
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
46
|
-
"ora": "^1.2.0",
|
|
47
|
-
"portfinder": "^1.0.13",
|
|
48
|
-
"postcss-import": "^11.0.0",
|
|
49
|
-
"postcss-loader": "^2.0.8",
|
|
50
|
-
"postcss-url": "^7.2.1",
|
|
51
|
-
"rimraf": "^2.6.0",
|
|
52
|
-
"sass-loader": "^7.3.1",
|
|
53
|
-
"semver": "^5.3.0",
|
|
54
|
-
"shelljs": "^0.7.6",
|
|
55
|
-
"uglifyjs-webpack-plugin": "^1.1.1",
|
|
56
|
-
"url-loader": "^0.5.8",
|
|
57
|
-
"vue-loader": "^13.3.0",
|
|
58
|
-
"vue-router": "^3.0.1",
|
|
59
|
-
"vue-style-loader": "^3.1.2",
|
|
60
|
-
"vue-template-compiler": "2.5.17",
|
|
61
|
-
"webpack": "^3.6.0",
|
|
62
|
-
"webpack-bundle-analyzer": "^2.9.0",
|
|
63
|
-
"webpack-dev-server": "^2.9.1",
|
|
64
|
-
"webpack-merge": "^4.1.0"
|
|
65
|
-
},
|
|
66
|
-
"engines": {
|
|
67
|
-
"node": ">= 6.0.0",
|
|
68
|
-
"npm": ">= 3.0.0"
|
|
69
|
-
},
|
|
70
|
-
"browserslist": [
|
|
71
|
-
"> 1%",
|
|
72
|
-
"last 2 versions",
|
|
73
|
-
"not ie <= 8"
|
|
74
|
-
]
|
|
75
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "centaline-data-driven",
|
|
3
|
+
"version": "1.1.55",
|
|
4
|
+
"description": "ccai",
|
|
5
|
+
"author": "hjc <3226136347@qq.com>",
|
|
6
|
+
"private": false,
|
|
7
|
+
"main": "./wwwroot/static/centaline/centaline-data-driven.js",
|
|
8
|
+
"scripts": {
|
|
9
|
+
"dev": "webpack-dev-server --inline --progress --host 0.0.0.0 --config build/webpack.dev.conf.js",
|
|
10
|
+
"start": "npm run dev",
|
|
11
|
+
"centaline": "webpack --progress --hide-modules --config build/centaline/webpack.centaline.conf.js",
|
|
12
|
+
"build": "webpack --progress --hide-modules --config build/centaline/webpack.centaline.conf.js"
|
|
13
|
+
},
|
|
14
|
+
"dependencies": {
|
|
15
|
+
"axios": "^0.24.0",
|
|
16
|
+
"babel-polyfill": "^6.26.0",
|
|
17
|
+
"compression-webpack-plugin": "^2.0.0",
|
|
18
|
+
"element-ui": "^2.15.7",
|
|
19
|
+
"sass": "^1.34.0",
|
|
20
|
+
"save": "^2.4.0",
|
|
21
|
+
"vue": "2.5.17"
|
|
22
|
+
},
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"element-ui": "^2.15.7",
|
|
25
|
+
"vue": "2.5.17"
|
|
26
|
+
},
|
|
27
|
+
"devDependencies": {
|
|
28
|
+
"autoprefixer": "^7.1.2",
|
|
29
|
+
"babel-core": "^6.22.1",
|
|
30
|
+
"babel-helper-vue-jsx-merge-props": "^2.0.3",
|
|
31
|
+
"babel-loader": "^7.1.1",
|
|
32
|
+
"babel-plugin-syntax-jsx": "^6.18.0",
|
|
33
|
+
"babel-plugin-transform-runtime": "^6.22.0",
|
|
34
|
+
"babel-plugin-transform-vue-jsx": "^3.5.0",
|
|
35
|
+
"babel-preset-env": "^1.3.2",
|
|
36
|
+
"babel-preset-stage-2": "^6.22.0",
|
|
37
|
+
"chalk": "^2.0.1",
|
|
38
|
+
"copy-webpack-plugin": "^4.0.1",
|
|
39
|
+
"css-loader": "^0.28.0",
|
|
40
|
+
"extract-text-webpack-plugin": "^3.0.0",
|
|
41
|
+
"file-loader": "^1.1.4",
|
|
42
|
+
"friendly-errors-webpack-plugin": "^1.6.1",
|
|
43
|
+
"html-webpack-plugin": "^2.30.1",
|
|
44
|
+
"node-notifier": "^5.1.2",
|
|
45
|
+
"optimize-css-assets-webpack-plugin": "^3.2.0",
|
|
46
|
+
"ora": "^1.2.0",
|
|
47
|
+
"portfinder": "^1.0.13",
|
|
48
|
+
"postcss-import": "^11.0.0",
|
|
49
|
+
"postcss-loader": "^2.0.8",
|
|
50
|
+
"postcss-url": "^7.2.1",
|
|
51
|
+
"rimraf": "^2.6.0",
|
|
52
|
+
"sass-loader": "^7.3.1",
|
|
53
|
+
"semver": "^5.3.0",
|
|
54
|
+
"shelljs": "^0.7.6",
|
|
55
|
+
"uglifyjs-webpack-plugin": "^1.1.1",
|
|
56
|
+
"url-loader": "^0.5.8",
|
|
57
|
+
"vue-loader": "^13.3.0",
|
|
58
|
+
"vue-router": "^3.0.1",
|
|
59
|
+
"vue-style-loader": "^3.1.2",
|
|
60
|
+
"vue-template-compiler": "2.5.17",
|
|
61
|
+
"webpack": "^3.6.0",
|
|
62
|
+
"webpack-bundle-analyzer": "^2.9.0",
|
|
63
|
+
"webpack-dev-server": "^2.9.1",
|
|
64
|
+
"webpack-merge": "^4.1.0"
|
|
65
|
+
},
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">= 6.0.0",
|
|
68
|
+
"npm": ">= 3.0.0"
|
|
69
|
+
},
|
|
70
|
+
"browserslist": [
|
|
71
|
+
"> 1%",
|
|
72
|
+
"last 2 versions",
|
|
73
|
+
"not ie <= 8"
|
|
74
|
+
]
|
|
75
|
+
}
|