68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"name": "jetlinks-vue",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite --mode develop",
|
|
"build": "vite build --mode production",
|
|
"preview": "vite preview",
|
|
"eslint": "eslint --ext .js,.vue --ignore-path .gitignore --fix src",
|
|
"lint": "eslint src --fix --ext .ts,.tsx,.vue,.js,.jsx",
|
|
"prettier": "prettier --write",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@vitejs/plugin-vue-jsx": "^3.0.0",
|
|
"@vuemap/vue-amap": "^1.1.20",
|
|
"@vueuse/core": "^9.10.0",
|
|
"ant-design-vue": "^3.2.15",
|
|
"axios": "^1.2.1",
|
|
"echarts": "^5.4.1",
|
|
"event-source-polyfill": "^1.0.31",
|
|
"jetlinks-store": "^0.0.3",
|
|
"js-cookie": "^3.0.1",
|
|
"less": "^4.1.3",
|
|
"less-loader": "^11.1.0",
|
|
"lodash-es": "^4.17.21",
|
|
"moment": "^2.29.4",
|
|
"monaco-editor": "^0.24.0",
|
|
"pinia": "^2.0.28",
|
|
"unplugin-auto-import": "^0.12.1",
|
|
"unplugin-vue-components": "^0.22.12",
|
|
"vue": "^3.2.45",
|
|
"vue-router": "^4.1.6",
|
|
"vue3-markdown-it": "^1.0.10"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^17.4.1",
|
|
"@commitlint/config-conventional": "^17.4.0",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"@types/moment": "^2.13.0",
|
|
"@types/node": "^18.11.17",
|
|
"@vitejs/plugin-vue": "^4.0.0",
|
|
"@vuemap/unplugin-resolver": "^1.0.4",
|
|
"autoprefixer": "^10.4.13",
|
|
"commitlint": "^17.4.1",
|
|
"husky": "^8.0.0",
|
|
"lint-staged": "^13.1.0",
|
|
"mrm": "^4.1.13",
|
|
"prettier": "^2.8.1",
|
|
"typescript": "^4.9.3",
|
|
"vite": "^4.0.0",
|
|
"vite-plugin-html": "^3.2.0",
|
|
"vite-plugin-style-import": "^2.0.0",
|
|
"vite-plugin-vue-setup-extend": "^0.4.0",
|
|
"vue-tsc": "^1.0.11"
|
|
},
|
|
"lint-staged": {
|
|
"**/*.{vue,js,jsx,ts,tsx}": [
|
|
"npm run lint",
|
|
"prettier --write"
|
|
],
|
|
"**/*.{html,css,less,md}": [
|
|
"prettier --write"
|
|
]
|
|
}
|
|
}
|