Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
圆滚滚核心
vue-element-admin
提交
3666148d
V
vue-element-admin
项目概览
圆滚滚核心
/
vue-element-admin
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
V
vue-element-admin
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
3666148d
编写于
10月 31, 2017
作者:
P
Pan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refactor:update package.json
上级
d5683167
变更
4
显示空白变更内容
内联
并排
Showing
4 changed file
with
58 addition
and
49 deletion
+58
-49
.babelrc
.babelrc
+6
-1
build/dev-server.js
build/dev-server.js
+8
-6
build/webpack.prod.conf.js
build/webpack.prod.conf.js
+3
-1
package.json
package.json
+41
-41
未找到文件。
.babelrc
浏览文件 @
3666148d
{
"presets": [
["env", { "modules": false }],
["env", {
"modules": false,
"targets": {
"browsers": ["> 1%", "last 2 versions", "not ie <= 8"]
}
}],
"stage-2"
],
"plugins": ["transform-runtime"],
...
...
build/dev-server.js
浏览文件 @
3666148d
...
...
@@ -34,12 +34,14 @@ var hotMiddleware = require('webpack-hot-middleware')(compiler, {
});
// force page reload when html-webpack-plugin template changes
compiler
.
plugin
(
'
compilation
'
,
function
(
compilation
)
{
compilation
.
plugin
(
'
html-webpack-plugin-after-emit
'
,
function
(
data
,
cb
)
{
hotMiddleware
.
publish
({
action
:
'
reload
'
});
cb
()
})
});
// currently disabled until this is resolved:
// https://github.com/jantimon/html-webpack-plugin/issues/680
// compiler.plugin('compilation', function (compilation) {
// compilation.plugin('html-webpack-plugin-after-emit', function (data, cb) {
// hotMiddleware.publish({ action: 'reload' })
// cb()
// })
// })
// proxy api requests
Object
.
keys
(
proxyTable
).
forEach
(
function
(
context
)
{
...
...
build/webpack.prod.conf.js
浏览文件 @
3666148d
...
...
@@ -30,6 +30,7 @@ var webpackConfig = merge(baseWebpackConfig, {
publicPath
:
config
.
build
.
assetsPublicPath
},
plugins
:
[
new
webpack
.
optimize
.
ModuleConcatenationPlugin
(),
// http://vuejs.github.io/vue-loader/en/workflow/production.html
new
webpack
.
DefinePlugin
({
'
process.env
'
:
env
...
...
@@ -38,7 +39,8 @@ var webpackConfig = merge(baseWebpackConfig, {
compress
:
{
warnings
:
false
},
sourceMap
:
true
sourceMap
:
true
,
parallel
:
true
}),
// extract css into its own file
new
ExtractTextPlugin
({
...
...
package.json
浏览文件 @
3666148d
...
...
@@ -13,80 +13,80 @@
"lint"
:
"eslint --ext .js,.vue src"
},
"dependencies"
:
{
"
axios
"
:
"
0.1
6.2
"
,
"
axios
"
:
"
0.1
7.0
"
,
"
clipboard
"
:
"
1.7.1
"
,
"
codemirror
"
:
"
5.
26
.0
"
,
"
dropzone
"
:
"
5.
1
.0
"
,
"
codemirror
"
:
"
5.
31
.0
"
,
"
dropzone
"
:
"
5.
2
.0
"
,
"
echarts
"
:
"
3.7.2
"
,
"
element-ui
"
:
"
1.4.2
"
,
"
file-saver
"
:
"
1.3.3
"
,
"
font-awesome
"
:
"
^
4.7.0
"
,
"
js-cookie
"
:
"
2.
1.4
"
,
"
font-awesome
"
:
"
4.7.0
"
,
"
js-cookie
"
:
"
2.
2.0
"
,
"
jsonlint
"
:
"
1.6.2
"
,
"
jszip
"
:
"
^
3.1.4
"
,
"
jszip
"
:
"
3.1.4
"
,
"
mockjs
"
:
"
1.0.1-beta3
"
,
"
normalize.css
"
:
"
7.0.0
"
,
"
nprogress
"
:
"
0.2.0
"
,
"
screenfull
"
:
"
3.
2
.2
"
,
"
showdown
"
:
"
1.
7.1
"
,
"
screenfull
"
:
"
3.
3
.2
"
,
"
showdown
"
:
"
1.
8.0
"
,
"
simplemde
"
:
"
1.11.2
"
,
"
sortablejs
"
:
"
1.
5
.1
"
,
"
sortablejs
"
:
"
1.
6
.1
"
,
"
vue
"
:
"
2.4.2
"
,
"
vue-count-to
"
:
"
1.0.5
"
,
"
vue-multiselect
"
:
"
2.0.
2
"
,
"
vue-multiselect
"
:
"
2.0.
6
"
,
"
vue-router
"
:
"
2.7.0
"
,
"
vue-splitpane
"
:
"
^
1.0.0
"
,
"
vue-splitpane
"
:
"
1.0.0
"
,
"
vuedraggable
"
:
"
2.14.1
"
,
"
vuex
"
:
"
2.3.1
"
,
"
xlsx
"
:
"
^0.1
0.8
"
"
xlsx
"
:
"
^0.1
1.7
"
},
"devDependencies"
:
{
"
autoprefixer
"
:
"
7.1.
1
"
,
"
babel-core
"
:
"
6.2
5
.0
"
,
"
babel-eslint
"
:
"
7.2.3
"
,
"
babel-loader
"
:
"
7.
0.0
"
,
"
autoprefixer
"
:
"
7.1.
6
"
,
"
babel-core
"
:
"
6.2
6
.0
"
,
"
babel-eslint
"
:
"
8.0.1
"
,
"
babel-loader
"
:
"
7.
1.2
"
,
"
babel-plugin-transform-runtime
"
:
"
6.23.0
"
,
"
babel-preset-env
"
:
"
1.
5.2
"
,
"
babel-preset-env
"
:
"
1.
6.1
"
,
"
babel-preset-stage-2
"
:
"
6.24.1
"
,
"
babel-register
"
:
"
6.2
4.1
"
,
"
chalk
"
:
"
1.1.3
"
,
"
connect-history-api-fallback
"
:
"
1.
3
.0
"
,
"
copy-webpack-plugin
"
:
"
4.
0.1
"
,
"
cross-env
"
:
"
5.
0
.1
"
,
"
css-loader
"
:
"
0.28.
4
"
,
"
eslint
"
:
"
3.19
.0
"
,
"
babel-register
"
:
"
6.2
6.0
"
,
"
chalk
"
:
"
2.3.0
"
,
"
connect-history-api-fallback
"
:
"
1.
4
.0
"
,
"
copy-webpack-plugin
"
:
"
4.
2.0
"
,
"
cross-env
"
:
"
5.
1
.1
"
,
"
css-loader
"
:
"
0.28.
7
"
,
"
eslint
"
:
"
4.10
.0
"
,
"
eslint-friendly-formatter
"
:
"
3.0.0
"
,
"
eslint-import-resolver-webpack
"
:
"
0.8.
1
"
,
"
eslint-loader
"
:
"
1.
7.1
"
,
"
eslint-plugin-html
"
:
"
3.
0.0
"
,
"
eslint-plugin-import
"
:
"
2.
3
.0
"
,
"
eslint-import-resolver-webpack
"
:
"
0.8.
3
"
,
"
eslint-loader
"
:
"
1.
9.0
"
,
"
eslint-plugin-html
"
:
"
3.
2.2
"
,
"
eslint-plugin-import
"
:
"
2.
8
.0
"
,
"
eventsource-polyfill
"
:
"
0.9.6
"
,
"
express
"
:
"
4.1
5.3
"
,
"
extract-text-webpack-plugin
"
:
"
2.1
.2
"
,
"
express
"
:
"
4.1
6.2
"
,
"
extract-text-webpack-plugin
"
:
"
3.0
.2
"
,
"
file-loader
"
:
"
0.11.2
"
,
"
friendly-errors-webpack-plugin
"
:
"
1.6.1
"
,
"
function-bind
"
:
"
1.1.0
"
,
"
html-webpack-plugin
"
:
"
2.
28
.0
"
,
"
html-webpack-plugin
"
:
"
2.
30
.0
"
,
"
http-proxy-middleware
"
:
"
0.17.4
"
,
"
node-sass
"
:
"
^4.5.0
"
,
"
opn
"
:
"
4.0.2
"
,
"
optimize-css-assets-webpack-plugin
"
:
"
1.3
.0
"
,
"
optimize-css-assets-webpack-plugin
"
:
"
3.2
.0
"
,
"
ora
"
:
"
1.1.0
"
,
"
pushstate-server
"
:
"
2.1.0
"
,
"
rimraf
"
:
"
2.6.0
"
,
"
sass-loader
"
:
"
6.0.
5
"
,
"
script-loader
"
:
"
0.7.
0
"
,
"
sass-loader
"
:
"
6.0.
6
"
,
"
script-loader
"
:
"
0.7.
2
"
,
"
semver
"
:
"
5.3.0
"
,
"
style-loader
"
:
"
0.1
7
.0
"
,
"
style-loader
"
:
"
0.1
9
.0
"
,
"
svg-sprite-loader
"
:
"
3.2.4
"
,
"
url-loader
"
:
"
0.
5.8
"
,
"
url-loader
"
:
"
0.
6.2
"
,
"
vue-loader
"
:
"
13.0.4
"
,
"
vue-style-loader
"
:
"
3.0.
1
"
,
"
vue-style-loader
"
:
"
3.0.
3
"
,
"
vue-template-compiler
"
:
"
2.4.2
"
,
"
webpack
"
:
"
2.6
.1
"
,
"
webpack-bundle-analyzer
"
:
"
2.
8.2
"
,
"
webpack-dev-middleware
"
:
"
1.1
0.2
"
,
"
webpack-hot-middleware
"
:
"
2.
18
.0
"
,
"
webpack
"
:
"
3.8
.1
"
,
"
webpack-bundle-analyzer
"
:
"
2.
9.0
"
,
"
webpack-dev-middleware
"
:
"
1.1
2.0
"
,
"
webpack-hot-middleware
"
:
"
2.
20
.0
"
,
"
webpack-merge
"
:
"
4.1.0
"
},
"engines"
:
{
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录