diff --git a/package.json b/package.json index 32fc8d15..502470f3 100644 --- a/package.json +++ b/package.json @@ -21,9 +21,7 @@ "@wangeditor/editor": "^5.1.23", "@wangeditor/editor-for-vue": "^5.1.12", "animate.css": "^4.1.1", - "animejs": "^3.2.1", "axios": "^1.4.0", - "mockjs": "^1.1.0", "pinia": "^2.0.35", "vue": "^3.2.47", "vue-i18n": "^9.3.0-beta.17", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f54b435a..25809c96 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -10,15 +10,9 @@ dependencies: animate.css: specifier: ^4.1.1 version: 4.1.1 - animejs: - specifier: ^3.2.1 - version: 3.2.1 axios: specifier: ^1.4.0 version: 1.4.0 - mockjs: - specifier: ^1.1.0 - version: 1.1.0 pinia: specifier: ^2.0.35 version: 2.0.35(typescript@4.9.3)(vue@3.2.47) @@ -809,10 +803,6 @@ packages: resolution: {integrity: sha512-+mRmCTv6SbCmtYJCN4faJMNFVNN5EuCTTprDTAo7YzIGji2KADmakjVA3+8mVDkZ2Bf09vayB35lSQIex2+QaQ==} dev: false - /animejs@3.2.1: - resolution: {integrity: sha512-sWno3ugFryK5nhiDm/2BKeFCpZv7vzerWUcUPyAZLDhMek3+S/p418ldZJbJXo5ZUOpfm2kP2XRO4NJcULMy9A==} - dev: false - /ansi-regex@5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} @@ -924,6 +914,7 @@ packages: /commander@10.0.1: resolution: {integrity: sha512-y4Mg2tXshplEbSGzx7amzPwKKOCGuoSRP/CjEdwwk0FOGlUbq6lKuoyDZTNZkmxHdJtp54hdfY/JUrdL7Xfdug==} engines: {node: '>=14'} + dev: true /compute-scroll-into-view@1.0.20: resolution: {integrity: sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg==} @@ -1456,6 +1447,7 @@ packages: hasBin: true dependencies: commander: 10.0.1 + dev: true /ms@2.0.0: resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} diff --git a/vite.config.ts b/vite.config.ts index b8a3fa9d..55320911 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -3,8 +3,6 @@ import path, { resolve } from 'path' import vue from '@vitejs/plugin-vue' // 引入 Rollup Plugin Visualizer 打包可视化工具 import { visualizer } from 'rollup-plugin-visualizer' -// 引入 mock-js -// import { viteMockServe } from 'vite-plugin-mock' // https://vitejs.dev/config/ export default defineConfig({