Skip to content

Commit

Permalink
feature(design): 在线制作添加查看和修改JSON模块
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacker233 committed Feb 21, 2024
1 parent a826263 commit 1cd4212
Show file tree
Hide file tree
Showing 7 changed files with 763 additions and 732 deletions.
2 changes: 2 additions & 0 deletions build/vite/plugin/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { configSvgIconsPlugin } from './svgIcons';
import OptimizationPersist from 'vite-plugin-optimize-persist';
import PkgConfig from 'vite-plugin-package-config';
import DefineOptions from 'unplugin-vue-define-options/vite';
import { viteCommonjs } from '@originjs/vite-plugin-commonjs';

export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
const { VITE_BUILD_COMPRESS, VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE } = viteEnv;
Expand All @@ -31,6 +32,7 @@ export function createVitePlugins(viteEnv: ViteEnv, isBuild: boolean) {
vitePlugins.push(PkgConfig());

vitePlugins.push(OptimizationPersist());
vitePlugins.push(viteCommonjs());

// The following plugins only work in the production environment
if (isBuild) {
Expand Down
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,66 +31,68 @@
"@codemirror/theme-one-dark": "^6.0.0",
"@element-plus/icons-vue": "^1.1.4",
"@types/qs": "^6.9.7",
"@vueuse/core": "^8.2.0",
"@vueuse/core": "^8.4.2",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12",
"autoprefixer": "10.4.5",
"axios": "^0.26.1",
"c-scrollbar": "^1.0.2",
"colorpicker-v3": "^2.10.2",
"default-passive-events": "^2.0.0",
"element-plus": "^2.1.11",
"element-plus": "^2.2.25",
"fast-glob": "^3.2.12",
"file-saver": "^2.0.5",
"github-markdown-css": "^5.2.0",
"html2canvas": "^1.4.1",
"image-conversion": "^2.1.1",
"increase-memory-limit": "^1.0.7",
"json-editor-vue3": "^1.0.9",
"jspdf": "^1.4.1",
"lodash": "^4.17.21",
"moment": "^2.29.3",
"pinia": "^2.0.12",
"pinia": "^2.0.14",
"qrcode.vue": "^3.3.3",
"qs": "^6.11.0",
"v-contextmenu": "^3.0.0",
"v-viewer": "^3.0.11",
"viewerjs": "^1.11.1",
"vue": "^3.2.25",
"vue": "^3.2.33",
"vue-clipboard3": "^2.0.0",
"vue-codemirror": "^6.0.1",
"vue-dompurify-html": "^3.1.1",
"vue-json-viewer": "3",
"vue-router": "^4.0.14",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.0.15",
"vue-uuid": "^3.0.0",
"vue3-colorpicker": "^2.1.2",
"vue3-count-to": "^1.1.2",
"vuedraggable": "^4.1.0"
},
"devDependencies": {
"@commitlint/cli": "^16.2.3",
"@commitlint/config-conventional": "^16.2.1",
"@commitlint/cli": "^16.2.4",
"@commitlint/config-conventional": "^16.2.4",
"@originjs/vite-plugin-commonjs": "^1.0.3",
"@types/file-saver": "^2.0.5",
"@types/jspdf": "^2.0.0",
"@types/lodash": "^4.14.182",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0",
"@vitejs/plugin-vue": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"@vitejs/plugin-vue": "^2.3.2",
"codemirror": "~6.0.1",
"commitizen": "^4.2.4",
"commitlint-config-cz": "^0.13.3",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"cz-customizable": "^6.3.0",
"eslint": "^8.12.0",
"eslint": "^8.15.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-vue": "^8.5.0",
"eslint-plugin-vue": "^8.7.1",
"husky": "^7.0.4",
"lint-staged": "^12.4.1",
"prettier": "^2.6.1",
"prettier": "^2.6.2",
"sass": "^1.53.0",
"terser": "^5.14.2",
"typescript": "^4.5.4",
"typescript": "^4.6.4",
"unplugin-auto-import": "^0.9.5",
"unplugin-vue-components": "^0.21.2",
"unplugin-vue-define-options": "^0.9.2",
Expand Down
Loading

0 comments on commit 1cd4212

Please sign in to comment.