Commit 4fdc559a by sendya

chore: update library

parent 3b826c2e
'use strict' 'use strict'
const path = require('path') const path = require('path')
function resolve(dir) { function resolve (dir) {
return path.join(__dirname, '.', dir) return path.join(__dirname, '.', dir)
} }
......
{ {
"name": "vue-antd-pro", "name": "vue-antd-pro",
"version": "0.1.0", "version": "1.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"serve": "vue-cli-service serve", "serve": "vue-cli-service serve",
...@@ -8,8 +8,8 @@ ...@@ -8,8 +8,8 @@
"lint": "vue-cli-service lint" "lint": "vue-cli-service lint"
}, },
"dependencies": { "dependencies": {
"@antv/data-set": "^0.9.6", "@antv/data-set": "^0.10.1",
"ant-design-vue": "^1.1.8", "ant-design-vue": "^1.1.10-beta",
"axios": "^0.18.0", "axios": "^0.18.0",
"dayjs": "^1.7.5", "dayjs": "^1.7.5",
"enquire.js": "^2.1.6", "enquire.js": "^2.1.6",
...@@ -25,9 +25,13 @@ ...@@ -25,9 +25,13 @@
"vuex": "^3.0.1" "vuex": "^3.0.1"
}, },
"devDependencies": { "devDependencies": {
"@vue/cli-plugin-babel": "^3.0.1", "@vue/cli-plugin-babel": "^3.2.0",
"@vue/cli-plugin-eslint": "^3.0.1", "@vue/cli-plugin-eslint": "^3.2.0",
"@vue/cli-service": "^3.0.1", "@vue/cli-service": "^3.2.0",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.8.0",
"eslint-plugin-vue": "^5.0.0-0",
"less": "^3.8.1", "less": "^3.8.1",
"less-loader": "^4.1.0", "less-loader": "^4.1.0",
"node-sass": "^4.9.0", "node-sass": "^4.9.0",
...@@ -61,6 +65,14 @@ ...@@ -61,6 +65,14 @@
], ],
"vue/attribute-hyphenation": 0, "vue/attribute-hyphenation": 0,
"vue/html-self-closing": 0, "vue/html-self-closing": 0,
"vue/component-name-in-template-casing": 0,
"vue/html-closing-bracket-spacing": 0,
"vue/singleline-html-element-content-newline": 0,
"vue/no-unused-components": 0,
"vue/multiline-html-element-content-newline": 0,
"vue/no-use-v-if-with-v-for": 0,
"vue/html-closing-bracket-newline": 0,
"vue/no-parsing-error": 0,
"no-console": 0 "no-console": 0
} }
}, },
......
...@@ -23,6 +23,7 @@ module.exports = { ...@@ -23,6 +23,7 @@ module.exports = {
configureWebpack: { configureWebpack: {
}, },
chainWebpack: (config) => { chainWebpack: (config) => {
config.resolve.alias config.resolve.alias
.set('@$', resolve('src')) .set('@$', resolve('src'))
...@@ -33,6 +34,7 @@ module.exports = { ...@@ -33,6 +34,7 @@ module.exports = {
.set('@layout', resolve('src/layout')) .set('@layout', resolve('src/layout'))
.set('@static', resolve('src/static')) .set('@static', resolve('src/static'))
}, },
css: { css: {
loaderOptions: { loaderOptions: {
less: { less: {
...@@ -49,6 +51,7 @@ module.exports = { ...@@ -49,6 +51,7 @@ module.exports = {
} }
} }
}, },
devServer: { devServer: {
proxy: { proxy: {
'/api': { '/api': {
...@@ -66,5 +69,7 @@ module.exports = { ...@@ -66,5 +69,7 @@ module.exports = {
} }
} }
} }
} },
lintOnSave: undefined
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment