Skip to content

Commit

Permalink
perf: 同步本地最新代码
Browse files Browse the repository at this point in the history
  • Loading branch information
BoBoooooo committed Oct 19, 2020
1 parent 915255a commit 8f51560
Show file tree
Hide file tree
Showing 45 changed files with 4,359 additions and 1,130 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ module.exports = {
extends: [
'plugin:vue/essential',
'@vue/airbnb',
'@vue/typescript',
],
// 修改airbnb部分变态规则
rules: {
Expand Down
11 changes: 7 additions & 4 deletions examples/App.vue
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
<template>
<div id="app">
<FormDesigner></FormDesigner>
<FormDesigner></FormDesigner>
</div>
</template>

<script>
export default {
name: 'app',
};
</script>

<style>
html,
body {
height: 100%;
}
#app {
font-family: 'Avenir', Helvetica, Arial, sans-serif;
font-family: "Avenir", Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
height: 100%;
}
</style>
File renamed without changes.
60 changes: 32 additions & 28 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,46 +15,31 @@
},
"dependencies": {
"@riophae/vue-treeselect": "^0.3.0",
"axios": "^0.19.0",
"clipboard": "^2.0.4",
"axios": "^0.19.2",
"compressing": "^1.4.0",
"core-js": "2.6.5",
"core-js": "3.6.5",
"dayjs": "1.8.20",
"driver.js": "0.9.5",
"echarts": "4.6.0",
"element-ui": "2.12.0",
"gojs": "2.0.4",
"element-ui": "^2.13.2",
"inquirer": "^6.5.2",
"jsoneditor": "8.5.3",
"lodash": "^4.17.14",
"normalize.css": "^8.0.1",
"pinyin-match": "^1.0.9",
"svg-sprite-loader": "^4.1.6",
"v-contextmenu": "^2.8.1",
"vue": "2.6.10",
"vue": "2.6.11",
"vue-awesome": "^3.5.4",
"vue-router": "^3.0.7",
"vue-runtime-helpers": "^1.1.2",
"vue-waterfall2": "^1.9.6",
"vuedraggable": "^2.23.0",
"vuex": "^3.1.1",
"vuex-persistedstate": "^2.5.4"
"vue-router": "3.4.3",
"vuedraggable": "^2.23.2",
"vuex": "3.5.1",
"vuex-persistedstate": "3.1.0"
},
"devDependencies": {
"@vue/cli-plugin-babel": "^3.9.2",
"@vue/cli-plugin-eslint": "^3.9.2",
"@vue/cli-plugin-unit-mocha": "^3.9.0",
"@vue/cli-service": "^3.9.2",
"@vue/eslint-config-airbnb": "^4.0.1",
"@vue/test-utils": "^1.0.0-beta.20",
"babel-eslint": "^10.0.2",
"chai": "^4.2.0",
"husky": "^3.0.9",
"commitizen": "^4.0.3",
"commitlint": "^8.2.0",
"conventional-changelog-cli": "^2.0.28",
"compression-webpack-plugin": "^3.0.1",
"electron": "^5.0.6",
"vue-class-component": "^7.2.3",
"vue-property-decorator": "^8.5.0",
"eslint": "^6.0.1",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-vue": "^5.2.3",
Expand All @@ -64,12 +49,31 @@
"node-sass": "^4.12.0",
"sass-loader": "^7.1.0",
"vue-cli-plugin-axios": "0.0.4",
"vue-cli-plugin-electron-builder": "^1.3.5",
"vue-cli-plugin-element": "^1.0.1",
"vue-template-compiler": "2.6.10",
"vue-template-compiler": "2.6.11",
"webpack": "^4.35.3",
"typescript": "~3.8.3",
"webpack-bundle-analyzer": "^3.3.2",
"svgo-loader": "2.2.1"
"@vue/cli-plugin-babel": "4.5.4",
"@vue/cli-plugin-eslint": "4.5.4",
"@vue/cli-plugin-typescript": "4.5.4",
"@vue/cli-plugin-unit-mocha": "4.5.4",
"@vue/cli-service": "^3.9.2",
"@vue/eslint-config-airbnb": "^4.0.1",
"@vue/eslint-config-typescript": "^5.0.2",
"@typescript-eslint/eslint-plugin": "^2.26.0",
"@typescript-eslint/parser": "^2.26.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,vue,ts}": [
"npm run lint",
"git add"
]
},
"postcss": {
"plugins": {
Expand Down
8 changes: 4 additions & 4 deletions packages/test/index.js → packages/CrudTable/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
*/

// 导入组件,组件必须声明 name
import Test from './src/test.vue';
import CrudTable from './src/CrudTable.vue';

// 为组件添加 install 方法,用于按需引入
// eslint-disable-next-line func-names
Test.install = function (Vue) {
Vue.component(Test.name, Test);
CrudTable.install = function (Vue) {
Vue.component(CrudTable.name, CrudTable);
};

export default Test;
export default CrudTable;
Loading

0 comments on commit 8f51560

Please sign in to comment.