2023-05-24 11:08:08 +08:00
|
|
|
{
|
|
|
|
"name": "meter-sphere",
|
|
|
|
"description": "MeterSphere FrontEnd",
|
|
|
|
"version": "3.0.0",
|
|
|
|
"private": true,
|
|
|
|
"author": "MeterSphere Team",
|
|
|
|
"license": "MIT",
|
|
|
|
"scripts": {
|
|
|
|
"dev": "vite --config ./config/vite.config.dev.ts",
|
|
|
|
"build": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts",
|
2023-08-04 11:37:05 +08:00
|
|
|
"build:local": "vue-tsc --noEmit && vite build --config ./config/vite.config.prod.ts --mode development",
|
2023-05-24 11:08:08 +08:00
|
|
|
"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 --ignore-path .gitignore",
|
|
|
|
"lint:styles": "stylelint 'src/**/*.{vue,html,css,scss,less}' --fix",
|
|
|
|
"lint-staged": "npx lint-staged",
|
2023-05-24 14:58:24 +08:00
|
|
|
"prepare": "cd .. && husky install frontend/.husky",
|
2023-05-24 11:08:08 +08:00
|
|
|
"test": "vitest",
|
|
|
|
"coverage": "vitest run --coverage"
|
|
|
|
},
|
|
|
|
"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",
|
2023-08-02 14:18:24 +08:00
|
|
|
"@arco-design/web-vue": "^2.49.2",
|
2023-08-18 18:18:53 +08:00
|
|
|
"@arco-themes/vue-ms-theme-default": "^0.0.28",
|
2023-08-08 22:58:07 +08:00
|
|
|
"@form-create/arco-design": "^3.1.22",
|
2023-08-07 13:47:04 +08:00
|
|
|
"@types/color": "^3.0.3",
|
2023-08-02 14:18:24 +08:00
|
|
|
"@vueuse/core": "^10.2.1",
|
2023-06-06 18:31:00 +08:00
|
|
|
"ace-builds": "^1.22.0",
|
2023-05-24 11:08:08 +08:00
|
|
|
"axios": "^0.24.0",
|
2023-06-06 18:31:00 +08:00
|
|
|
"dayjs": "^1.11.8",
|
2023-05-24 11:08:08 +08:00
|
|
|
"echarts": "^5.4.2",
|
|
|
|
"hotbox-minder": "1.0.15",
|
|
|
|
"jsonpath-picker-vanilla": "^1.2.4",
|
|
|
|
"lodash": "^4.17.21",
|
|
|
|
"lodash-es": "^4.17.21",
|
|
|
|
"mitt": "^3.0.0",
|
2023-07-17 15:16:54 +08:00
|
|
|
"monaco-editor": "^0.39.0",
|
2023-05-24 11:08:08 +08:00
|
|
|
"nprogress": "^0.2.0",
|
2023-06-06 18:31:00 +08:00
|
|
|
"pinia": "^2.1.3",
|
2023-05-24 11:08:08 +08:00
|
|
|
"pinia-plugin-persistedstate": "^3.1.0",
|
|
|
|
"query-string": "^8.1.0",
|
|
|
|
"sortablejs": "^1.15.0",
|
2023-06-02 17:03:13 +08:00
|
|
|
"vue": "^3.3.4",
|
2023-05-24 11:08:08 +08:00
|
|
|
"vue-echarts": "^6.5.5",
|
|
|
|
"vue-i18n": "^9.2.2",
|
2023-06-06 18:31:00 +08:00
|
|
|
"vue-router": "^4.2.2",
|
2023-06-13 11:36:55 +08:00
|
|
|
"vue3-ace-editor": "^2.2.2",
|
2023-08-02 14:18:24 +08:00
|
|
|
"vue3-colorpicker": "^2.1.6",
|
2023-06-13 11:36:55 +08:00
|
|
|
"vuedraggable": "^4.1.0"
|
2023-05-24 11:08:08 +08:00
|
|
|
},
|
|
|
|
"devDependencies": {
|
|
|
|
"@arco-plugins/vite-vue": "^1.4.5",
|
2023-06-06 18:31:00 +08:00
|
|
|
"@commitlint/cli": "^17.6.5",
|
|
|
|
"@commitlint/config-conventional": "^17.6.5",
|
|
|
|
"@types/lodash": "^4.14.195",
|
2023-05-24 11:08:08 +08:00
|
|
|
"@types/lodash-es": "^4.17.7",
|
|
|
|
"@types/nprogress": "^0.2.0",
|
|
|
|
"@types/sortablejs": "^1.15.1",
|
2023-06-06 18:31:00 +08:00
|
|
|
"@typescript-eslint/eslint-plugin": "^5.59.9",
|
|
|
|
"@typescript-eslint/parser": "^5.59.9",
|
2023-05-24 11:08:08 +08:00
|
|
|
"@vitejs/plugin-vue": "^3.2.0",
|
|
|
|
"@vitejs/plugin-vue-jsx": "^2.1.1",
|
2023-06-06 18:31:00 +08:00
|
|
|
"@vitest/coverage-c8": "^0.31.4",
|
2023-05-24 11:08:08 +08:00
|
|
|
"@vue/babel-plugin-jsx": "^1.1.1",
|
|
|
|
"@vue/test-utils": "^2.3.2",
|
2023-08-07 13:47:04 +08:00
|
|
|
"@zougt/some-loader-utils": "^1.4.3",
|
|
|
|
"@zougt/vite-plugin-theme-preprocessor": "^1.4.8",
|
2023-05-24 11:08:08 +08:00
|
|
|
"autoprefixer": "^10.4.14",
|
2023-07-17 15:16:54 +08:00
|
|
|
"axios-mock-adapter": "^1.21.5",
|
2023-08-07 13:47:04 +08:00
|
|
|
"color": "^4.2.3",
|
2023-05-24 11:08:08 +08:00
|
|
|
"consola": "^2.15.3",
|
|
|
|
"cross-env": "^7.0.3",
|
2023-06-06 18:31:00 +08:00
|
|
|
"eslint": "^8.42.0",
|
2023-05-24 11:08:08 +08:00
|
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
|
|
"eslint-config-prettier": "^8.8.0",
|
|
|
|
"eslint-import-resolver-typescript": "^3.5.5",
|
|
|
|
"eslint-plugin-import": "^2.27.5",
|
|
|
|
"eslint-plugin-prettier": "^4.2.1",
|
2023-06-06 18:31:00 +08:00
|
|
|
"eslint-plugin-vue": "^9.14.1",
|
2023-05-24 11:08:08 +08:00
|
|
|
"fast-glob": "^3.2.12",
|
|
|
|
"husky": "^8.0.3",
|
2023-06-06 18:31:00 +08:00
|
|
|
"jsdom": "^22.1.0",
|
2023-05-24 11:08:08 +08:00
|
|
|
"less": "^4.1.3",
|
2023-06-06 18:31:00 +08:00
|
|
|
"less-loader": "^11.1.2",
|
2023-05-24 11:08:08 +08:00
|
|
|
"lint-staged": "^13.2.2",
|
2023-06-06 18:31:00 +08:00
|
|
|
"postcss": "^8.4.24",
|
2023-05-24 11:08:08 +08:00
|
|
|
"postcss-html": "^1.5.0",
|
2023-06-06 18:31:00 +08:00
|
|
|
"postcss-import": "^15.1.0",
|
2023-05-24 11:08:08 +08:00
|
|
|
"postcss-less": "^6.0.0",
|
|
|
|
"prettier": "^2.8.8",
|
|
|
|
"prettier-plugin-tailwindcss": "^0.3.0",
|
|
|
|
"rollup": "^2.79.1",
|
|
|
|
"rollup-plugin-visualizer": "^5.9.0",
|
|
|
|
"sass": "^1.62.1",
|
2023-06-02 17:03:13 +08:00
|
|
|
"stylelint": "^14.16.1",
|
2023-06-06 18:31:00 +08:00
|
|
|
"stylelint-config-html": "^1.1.0",
|
|
|
|
"stylelint-config-prettier": "^9.0.5",
|
2023-05-24 11:08:08 +08:00
|
|
|
"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.4.0",
|
|
|
|
"stylelint-config-standard": "^25.0.0",
|
|
|
|
"stylelint-config-standard-scss": "^4.0.0",
|
2023-06-06 18:31:00 +08:00
|
|
|
"stylelint-less": "^1.0.6",
|
2023-05-24 11:08:08 +08:00
|
|
|
"stylelint-order": "^5.0.0",
|
|
|
|
"tailwindcss": "^3.3.2",
|
|
|
|
"typescript": "^4.9.5",
|
|
|
|
"unplugin-vue-components": "^0.24.1",
|
2023-06-06 18:31:00 +08:00
|
|
|
"vite": "^3.2.7",
|
2023-05-24 11:08:08 +08:00
|
|
|
"vite-plugin-compression": "^0.5.1",
|
|
|
|
"vite-plugin-eslint": "^1.8.1",
|
|
|
|
"vite-plugin-imagemin": "^0.6.1",
|
2023-07-17 15:16:54 +08:00
|
|
|
"vite-plugin-monaco-editor": "^1.1.0",
|
2023-05-24 11:08:08 +08:00
|
|
|
"vite-plugin-svg-icons": "^2.0.1",
|
2023-06-02 17:03:13 +08:00
|
|
|
"vite-plugin-vue-setup-extend": "^0.4.0",
|
2023-05-24 11:08:08 +08:00
|
|
|
"vite-svg-loader": "^3.6.0",
|
2023-06-06 18:31:00 +08:00
|
|
|
"vitest": "^0.31.4",
|
2023-05-24 11:08:08 +08:00
|
|
|
"vue-tsc": "^1.6.5"
|
|
|
|
},
|
|
|
|
"engines": {
|
|
|
|
"node": ">=14.0.0"
|
|
|
|
},
|
|
|
|
"resolutions": {
|
|
|
|
"bin-wrapper": "npm:bin-wrapper-china",
|
|
|
|
"rollup": "^2.79.1",
|
|
|
|
"gifsicle": "5.2.0"
|
|
|
|
}
|
2023-08-02 14:47:09 +08:00
|
|
|
}
|