mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-05 05:29:29 +08:00
177 lines
5.7 KiB
JSON
177 lines
5.7 KiB
JSON
{
|
|
"name": "meter-sphere",
|
|
"description": "MeterSphere FrontEnd",
|
|
"version": "3.1.0",
|
|
"private": true,
|
|
"author": "MeterSphere Team",
|
|
"license": "MIT",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --config ./config/vite.config.dev.ts",
|
|
"build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts",
|
|
"build:local": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts --mode development",
|
|
"build:localProd": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts --mode prod",
|
|
"report": "cross-env REPORT=true npm run build",
|
|
"preview": "npm run build && vite preview --host",
|
|
"type:check": "vue-tsc --noEmit --skipLibCheck",
|
|
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
|
|
"lint:styles": "stylelint 'src/**/*.{vue,html,css,scss,less}' --fix",
|
|
"lint-staged": "npx lint-staged",
|
|
"prepare": "cd .. && husky install frontend/.husky"
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,ts,jsx,tsx}": [
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.vue": [
|
|
"stylelint --fix",
|
|
"prettier --write",
|
|
"eslint --fix"
|
|
],
|
|
"*.{less,css,scss,sass}": [
|
|
"stylelint --fix --custom-syntax postcss-less",
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"dependencies": {
|
|
"@7polo/kity": "2.0.8",
|
|
"@7polo/kityminder-core": "1.4.53",
|
|
"@arco-design/web-vue": "^2.55.3",
|
|
"@arco-themes/vue-metersphere-v3": "^0.0.2",
|
|
"@form-create/arco-design": "^3.1.29",
|
|
"@halo-dev/richtext-editor": "0.0.0-alpha.33",
|
|
"@tanstack/vue-query": "^5.49.1",
|
|
"@tiptap/extension-character-count": "^2.4.0",
|
|
"@tiptap/extension-image": "^2.4.0",
|
|
"@tiptap/extension-mention": "^2.4.0",
|
|
"@tiptap/suggestion": "^2.4.0",
|
|
"@tiptap/vue-3": "^2.4.0",
|
|
"@types/color": "^3.0.6",
|
|
"@types/node": "^20.14.9",
|
|
"@vueuse/core": "^10.11.0",
|
|
"@wecom/jssdk": "^1.4.5",
|
|
"@xmldom/xmldom": "^0.8.10",
|
|
"ace-builds": "^1.35.2",
|
|
"ahooks-vue": "^0.15.1",
|
|
"axios": "^1.7.2",
|
|
"dayjs": "^1.11.11",
|
|
"dotenv": "^16.4.5",
|
|
"echarts": "^5.5.1",
|
|
"fastq": "^1.17.1",
|
|
"github-markdown-css": "^5.6.1",
|
|
"jsencrypt": "^3.3.2",
|
|
"json-schema-traverse": "^1.0.0",
|
|
"jsonpath-plus": "^8.1.0",
|
|
"localforage": "^1.10.0",
|
|
"lodash-es": "^4.17.21",
|
|
"lossless-json": "^4.0.1",
|
|
"mitt": "^3.0.1",
|
|
"monaco-editor": "^0.39.0",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.1.7",
|
|
"pinia-plugin-persistedstate": "^3.2.1",
|
|
"pm": "link:@/tiptap/pm",
|
|
"pretty": "^2.0.0",
|
|
"query-string": "^8.2.0",
|
|
"resize-observer-polyfill": "^1.5.1",
|
|
"sortablejs": "^1.15.2",
|
|
"tippy.js": "^6.3.7",
|
|
"vue": "^3.4.31",
|
|
"vue-dompurify-html": "^4.1.4",
|
|
"vue-draggable-plus": "^0.3.5",
|
|
"vue-echarts": "^6.7.3",
|
|
"vue-i18n": "^9.13.1",
|
|
"vue-router": "^4.4.0",
|
|
"vue3-ace-editor": "^2.2.4",
|
|
"vue3-colorpicker": "^2.3.0",
|
|
"xml-beautify": "^1.2.3",
|
|
"xpath": "^0.0.34"
|
|
},
|
|
"devDependencies": {
|
|
"@arco-plugins/vite-vue": "^1.4.5",
|
|
"@commitlint/cli": "^17.8.1",
|
|
"@commitlint/config-conventional": "^17.8.1",
|
|
"@types/lodash": "^4.17.6",
|
|
"@types/lodash-es": "^4.17.12",
|
|
"@types/nprogress": "^0.2.3",
|
|
"@types/pretty": "^2.0.3",
|
|
"@types/react": "^18.3.3",
|
|
"@types/react-dom": "^18.3.0",
|
|
"@types/sortablejs": "^1.15.8",
|
|
"@typescript-eslint/eslint-plugin": "^7.15.0",
|
|
"@typescript-eslint/parser": "^7.15.0",
|
|
"@vitejs/plugin-legacy": "^5.4.1",
|
|
"@vitejs/plugin-vue": "^4.6.2",
|
|
"@vitejs/plugin-vue-jsx": "^3.1.0",
|
|
"@vue/babel-plugin-jsx": "^1.2.2",
|
|
"@vue/test-utils": "^2.4.6",
|
|
"autoprefixer": "^10.4.19",
|
|
"axios-mock-adapter": "^1.22.0",
|
|
"color": "^4.2.3",
|
|
"consola": "^2.15.3",
|
|
"cross-env": "^7.0.3",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
"eslint-plugin-vue": "^9.27.0",
|
|
"fast-glob": "^3.3.2",
|
|
"husky": "^8.0.3",
|
|
"jsdom": "^22.1.0",
|
|
"less": "^4.2.0",
|
|
"less-loader": "^11.1.4",
|
|
"lint-staged": "^13.3.0",
|
|
"postcss": "^8.4.39",
|
|
"postcss-html": "^1.7.0",
|
|
"postcss-import": "^15.1.0",
|
|
"postcss-less": "^6.0.0",
|
|
"prettier": "^2.8.8",
|
|
"prettier-plugin-tailwindcss": "^0.3.0",
|
|
"rollup": "^2.79.1",
|
|
"rollup-plugin-visualizer": "^5.12.0",
|
|
"sass": "^1.77.6",
|
|
"stylelint": "^14.16.1",
|
|
"stylelint-config-html": "^1.1.0",
|
|
"stylelint-config-prettier": "^9.0.5",
|
|
"stylelint-config-rational-order": "^0.1.2",
|
|
"stylelint-config-recommended": "^7.0.0",
|
|
"stylelint-config-recommended-less": "^1.0.4",
|
|
"stylelint-config-recommended-scss": "^7.0.0",
|
|
"stylelint-config-recommended-vue": "^1.5.0",
|
|
"stylelint-config-standard": "^25.0.0",
|
|
"stylelint-config-standard-scss": "^4.0.0",
|
|
"stylelint-less": "^1.0.8",
|
|
"stylelint-order": "^5.0.0",
|
|
"tailwindcss": "^3.4.4",
|
|
"typescript": "5.4.5",
|
|
"unplugin-auto-import": "^0.16.7",
|
|
"unplugin-vue-components": "^0.24.1",
|
|
"vite": "^5.3.3",
|
|
"vite-plugin-compression": "^0.5.1",
|
|
"vite-plugin-eslint": "^1.8.1",
|
|
"vite-plugin-imagemin": "^0.6.1",
|
|
"vite-plugin-monaco-editor": "^1.1.0",
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
|
"vite-plugin-vue-setup-extend": "^0.4.0",
|
|
"vite-svg-loader": "^3.6.0",
|
|
"vue-tsc": "^1.8.27"
|
|
},
|
|
"engines": {
|
|
"node": ">=18.0.0"
|
|
},
|
|
"browserslist": [
|
|
"> 0.5%",
|
|
"last 2 versions",
|
|
"not dead",
|
|
"not IE 11"
|
|
],
|
|
"resolutions": {
|
|
"bin-wrapper": "npm:bin-wrapper-china",
|
|
"rollup": "^4.18.0",
|
|
"gifsicle": "5.2.0"
|
|
}
|
|
} |