Showing
- build/utils.js 6 additions, 18 deletionsbuild/utils.js
- build/vue-loader.conf.js 3 additions, 0 deletionsbuild/vue-loader.conf.js
- build/webpack.base.conf.js 10 additions, 11 deletionsbuild/webpack.base.conf.js
- build/webpack.dev.conf.js 7 additions, 32 deletionsbuild/webpack.dev.conf.js
- build/webpack.prod.conf.js 6 additions, 34 deletionsbuild/webpack.prod.conf.js
- config/dev.env.js 6 additions, 0 deletionsconfig/dev.env.js
- config/index.js 6 additions, 0 deletionsconfig/index.js
- config/prod.env.js 6 additions, 0 deletionsconfig/prod.env.js
- config/sit.env.js 3 additions, 0 deletionsconfig/sit.env.js
- docker/docker-entrypoint.sh 4 additions, 0 deletionsdocker/docker-entrypoint.sh
- docker/nginx.conf.tpl 3 additions, 0 deletionsdocker/nginx.conf.tpl
- index.html 5 additions, 0 deletionsindex.html
- package.json 69 additions, 97 deletionspackage.json
- renovate.json 6 additions, 0 deletionsrenovate.json
- src/App.vue 5 additions, 0 deletionssrc/App.vue
- src/api/__mocks__/app.js 10 additions, 0 deletionssrc/api/__mocks__/app.js
- src/api/__mocks__/chat.js 620 additions, 0 deletionssrc/api/__mocks__/chat.js
- src/api/__mocks__/emojiPacks.js 54 additions, 0 deletionssrc/api/__mocks__/emojiPacks.js
- src/api/__mocks__/invites.js 3 additions, 0 deletionssrc/api/__mocks__/invites.js
- src/api/__mocks__/login.js 4 additions, 1 deletionsrc/api/__mocks__/login.js
... | @@ -5,20 +5,13 @@ | ... | @@ -5,20 +5,13 @@ |
"author": "Pan <panfree23@gmail.com>", | "author": "Pan <panfree23@gmail.com>", | ||
"license": "MIT", | "license": "MIT", | ||
"scripts": { | "scripts": { | ||
"dev": "cross-env BABEL_ENV=development webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", | "dev": "cross-env BABEL_ENV=development NODE_OPTIONS=--openssl-legacy-provider webpack-dev-server --inline --progress --config build/webpack.dev.conf.js", | ||
"build:prod": "cross-env NODE_ENV=production env_config=prod node build/build.js", | "build:prod": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production env_config=prod node build/build.js", | ||
"build:sit": "cross-env NODE_ENV=production env_config=sit node build/build.js", | "build:sit": "cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production env_config=sit node build/build.js", | ||
"lint": "eslint --ext .js,.vue src", | "lint": "eslint --ext .js,.vue src", | ||
"test": "jest", | "test": "jest", | ||
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand", | "test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand", | ||
"precommit": "lint-staged", | "svgo": "svgo -f src/icons/svg --config=src/icons/svgo.json" | ||
"svgo": "svgo -f src/icons/svg --config=src/icons/svgo.yml" | |||
}, | |||
"lint-staged": { | |||
"src/**/*.{js,vue}": [ | |||
"eslint --fix", | |||
"git add" | |||
] | |||
}, | }, | ||
"keywords": [ | "keywords": [ | ||
"vue", | "vue", | ||
... | @@ -29,110 +22,88 @@ | ... | @@ -29,110 +22,88 @@ |
], | ], | ||
"repository": { | "repository": { | ||
"type": "git", | "type": "git", | ||
"url": "git+https://github.com/PanJiaChen/vue-element-admin.git" | "url": "git+https://git.pleroma.social/pleroma/admin-fe.git" | ||
}, | |||
"resolutions": { | |||
"prosemirror-model": "1.18.3" | |||
}, | }, | ||
"bugs": { | "bugs": { | ||
"url": "https://github.com/PanJiaChen/vue-element-admin/issues" | "url": "https://git.pleroma.social/pleroma/admin-fe/-/issues" | ||
}, | }, | ||
"dependencies": { | "dependencies": { | ||
"@babel/runtime": "^7.3.4", | "@babel/runtime": "7.19.0", | ||
"axios": "0.18.0", | "axios": "0.27.2", | ||
"clipboard": "1.7.1", | "clipboard": "2.0.11", | ||
"codemirror": "5.39.2", | "element-ui": "2.15.12", | ||
"default-passive-events": "^1.0.10", | "js-cookie": "2.2.1", | ||
"driver.js": "0.8.1", | "localforage": "1.10.0", | ||
"dropzone": "5.2.0", | "lodash": "4.17.21", | ||
"echarts": "4.1.0", | "lodash.debounce": "4.0.8", | ||
"element-ui": "^2.13.0", | "marked": "0.8.2", | ||
"file-saver": "1.3.8", | "luxon": "3.1.1", | ||
"fuse.js": "3.4.2", | |||
"js-cookie": "2.2.0", | |||
"jsonlint": "1.6.3", | |||
"jszip": "3.1.5", | |||
"localforage": "^1.7.3", | |||
"lodash": "^4.17.11", | |||
"lodash.debounce": "^4.0.8", | |||
"marked": "^0.8.0", | |||
"moment": "^2.24.0", | |||
"normalize.css": "7.0.0", | "normalize.css": "7.0.0", | ||
"nprogress": "0.2.0", | "nprogress": "0.2.0", | ||
"numeral": "^2.0.6", | "numeral": "2.0.6", | ||
"screenfull": "4.0.0", | "tiptap": "1.32.2", | ||
"showdown": "1.8.6", | "tiptap-extensions": "1.35.2", | ||
"sortablejs": "1.7.0", | "vue": "2.7.8", | ||
"tui-editor": "1.2.7", | "vue-i18n": "8.28.2", | ||
"vue": "^2.6.8", | "vue-router": "3.6.5", | ||
"vue-count-to": "1.0.13", | "vuex": "3.0.1" | ||
"vue-i18n": "^8.9.0", | |||
"vue-router": "3.0.2", | |||
"vue-splitpane": "1.0.2", | |||
"vuedraggable": "^2.16.0", | |||
"vuex": "3.0.1", | |||
"xlsx": "^0.11.16" | |||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@babel/core": "^7.3.4", | "@babel/core": "7.19.1", | ||
"@babel/plugin-syntax-dynamic-import": "^7.2.0", | "@babel/plugin-syntax-dynamic-import": "7.8.3", | ||
"@babel/plugin-transform-runtime": "^7.3.4", | "@babel/plugin-transform-runtime": "7.19.1", | ||
"@babel/preset-env": "^7.3.4", | "@babel/preset-env": "7.19.1", | ||
"@vue/babel-helper-vue-jsx-merge-props": "^1.0.0-beta.2", | "@vue/babel-helper-vue-jsx-merge-props": "1.4.0", | ||
"@vue/babel-preset-jsx": "^1.0.0-beta.2", | "@vue/babel-preset-jsx": "1.4.0", | ||
"@vue/test-utils": "^1.0.0-beta.29", | "@vue/test-utils": "1.3.3", | ||
"autoprefixer": "8.5.0", | "autoprefixer": "10.4.16", | ||
"babel-eslint": "8.2.6", | "babel-eslint": "8.2.6", | ||
"babel-helper-vue-jsx-merge-props": "2.0.3", | "babel-helper-vue-jsx-merge-props": "2.0.3", | ||
"babel-jest": "^24.1.0", | "babel-jest": "25.5.1", | ||
"babel-loader": "^8.0.5", | "babel-loader": "8.2.5", | ||
"babel-plugin-dynamic-import-node-babel-7": "^2.0.7", | "babel-plugin-dynamic-import-node-babel-7": "2.0.7", | ||
"babel-plugin-transform-es2015-modules-commonjs": "^6.26.2", | "babel-plugin-transform-es2015-modules-commonjs": "6.26.2", | ||
"chalk": "2.4.1", | |||
"compression-webpack-plugin": "2.0.0", | "compression-webpack-plugin": "2.0.0", | ||
"connect": "3.6.6", | "connect": "3.7.0", | ||
"copy-webpack-plugin": "4.5.2", | "cross-env": "7.0.3", | ||
"cross-env": "5.2.0", | "css-loader": "1.0.1", | ||
"css-loader": "1.0.0", | |||
"eslint": "4.19.1", | "eslint": "4.19.1", | ||
"eslint-friendly-formatter": "4.0.1", | "eslint-friendly-formatter": "4.0.1", | ||
"eslint-loader": "2.0.0", | "eslint-loader": "2.2.1", | ||
"eslint-plugin-vue": "4.7.1", | "eslint-plugin-vue": "4.7.1", | ||
"file-loader": "1.1.11", | "file-loader": "1.1.11", | ||
"flush-promises": "^1.0.2", | "flush-promises": "1.0.2", | ||
"friendly-errors-webpack-plugin": "1.7.0", | |||
"hash-sum": "1.0.2", | "hash-sum": "1.0.2", | ||
"html-webpack-plugin": "^3.2.0", | "html-webpack-plugin": "3.2.0", | ||
"husky": "0.14.3", | "jest": "25.5.4", | ||
"jest": "^24.1.0", | "jest-transform-stub": "2.0.0", | ||
"jest-transform-stub": "^2.0.0", | "mini-css-extract-plugin": "0.12.0", | ||
"lint-staged": "7.2.2", | "sass": "1.57.1", | ||
"mini-css-extract-plugin": "0.4.1", | "optimize-css-assets-webpack-plugin": "5.0.8", | ||
"node-notifier": "5.2.1", | "ora": "3.4.0", | ||
"node-sass": "^4.12.0", | |||
"optimize-css-assets-webpack-plugin": "5.0.0", | |||
"ora": "3.0.0", | |||
"path-to-regexp": "2.4.0", | "path-to-regexp": "2.4.0", | ||
"portfinder": "1.0.13", | "postcss": "8.4.20", | ||
"postcss-loader": "2.1.6", | "postcss-loader": "4.3.0", | ||
"postcss-url": "7.3.2", | "postcss-url": "10.1.3", | ||
"rimraf": "2.6.2", | "rimraf": "2.7.1", | ||
"sass-loader": "7.0.3", | "sass-loader": "7.3.1", | ||
"script-ext-html-webpack-plugin": "2.0.1", | |||
"script-loader": "0.7.2", | "script-loader": "0.7.2", | ||
"semver": "5.5.0", | "semver": "5.7.1", | ||
"serve-static": "1.13.2", | "serve-static": "1.15.0", | ||
"shelljs": "0.8.2", | "svg-sprite-loader": "3.9.2", | ||
"svg-sprite-loader": "3.8.0", | "svgo": "2.8.0", | ||
"svgo": "1.0.5", | "uglifyjs-webpack-plugin": "1.3.0", | ||
"uglifyjs-webpack-plugin": "1.2.7", | "vue-jest": "4.0.1", | ||
"url-loader": "1.0.1", | "vue-loader": "15.10.1", | ||
"vue-jest": "4.0.0-beta.2", | "vue-style-loader": "4.1.3", | ||
"vue-loader": "15.3.0", | "vue-template-compiler": "2.7.8", | ||
"vue-style-loader": "4.1.2", | "webpack": "4.46.0", | ||
"vue-template-compiler": "^2.6.8", | "webpack-cli": "3.3.12", | ||
"webpack": "^4.29.6", | "webpack-dev-server": "3.11.3", | ||
"webpack-bundle-analyzer": "2.13.1", | "webpack-merge": "4.2.2" | ||
"webpack-cli": "^3.2.3", | |||
"webpack-dev-server": "3.1.14", | |||
"webpack-merge": "4.1.4" | |||
}, | }, | ||
"engines": { | "engines": { | ||
"node": ">= 6.0.0", | "node": ">= 6.0.0", | ||
... | @@ -144,6 +115,7 @@ | ... | @@ -144,6 +115,7 @@ |
"not ie <= 8" | "not ie <= 8" | ||
], | ], | ||
"jest": { | "jest": { | ||
"coverageReporters": ["cobertura", "text-summary"], | |||
"moduleFileExtensions": [ | "moduleFileExtensions": [ | ||
"js", | "js", | ||
"json", | "json", | ||
... | ... |
renovate.json
0 → 100644
src/api/__mocks__/app.js
0 → 100644
src/api/__mocks__/chat.js
0 → 100644
src/api/__mocks__/emojiPacks.js
0 → 100644