102 lines
3.2 KiB
JSON
102 lines
3.2 KiB
JSON
{
|
|
"name": "template",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev:mock": "vite --open --mode mock",
|
|
"dev": "vite --open --mode development",
|
|
"dev:linux": "vite --mode development",
|
|
"build:test": "vite build --mode test",
|
|
"build": "vue-tsc --noEmit && vite build --mode release",
|
|
"build:site": "vue-tsc --noEmit && vite build --mode site",
|
|
"preview": "vite preview",
|
|
"lint": "eslint --ext .vue,.js,.jsx,.ts,.tsx ./ --max-warnings 0",
|
|
"lint:fix": "eslint --ext .vue,.js,jsx,.ts,.tsx ./ --max-warnings 0 --fix",
|
|
"stylelint": "stylelint src/**/*.{html,vue,sass,less}",
|
|
"stylelint:fix": "stylelint --fix src/**/*.{html,vue,css,sass,less}",
|
|
"prepare": "husky install",
|
|
"site:preview": "npm run build && cp -r dist _site",
|
|
"test": "echo \"no test specified,work in process\"",
|
|
"test:coverage": "echo \"no test:coverage specified,work in process\""
|
|
},
|
|
"type": "module",
|
|
"dependencies": {
|
|
"axios": "^1.7.2",
|
|
"crypto-js": "^4.2.0",
|
|
"dayjs": "^1.11.11",
|
|
"echarts": "5.5.1",
|
|
"js-cookie": "^3.0.5",
|
|
"lodash": "^4.17.21",
|
|
"moment": "^2.29.4",
|
|
"nprogress": "^0.2.0",
|
|
"pinia": "^2.1.4",
|
|
"pinia-plugin-persistedstate": "^3.1.0",
|
|
"qrcode.vue": "^3.4.0",
|
|
"qs": "^6.12.3",
|
|
"screenfull": "^6.0.2",
|
|
"tdesign-icons-vue-next": "^0.2.4",
|
|
"tdesign-vue-next": "^1.9.7",
|
|
"tvision-color": "^1.6.0",
|
|
"vue": "~3.4.31",
|
|
"vue-clipboard3": "^2.0.0",
|
|
"vue-router": "~4.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@commitlint/cli": "^19.3.0",
|
|
"@commitlint/config-conventional": "^19.2.2",
|
|
"@types/echarts": "^4.9.18",
|
|
"@types/js-cookie": "^3.0.3",
|
|
"@types/lodash": "^4.17.6",
|
|
"@types/nprogress": "^0.2.0",
|
|
"@types/qs": "^6.9.7",
|
|
"@typescript-eslint/eslint-plugin": "^7.16.0",
|
|
"@typescript-eslint/parser": "^7.16.0",
|
|
"@vitejs/plugin-vue": "^5.0.5",
|
|
"@vitejs/plugin-vue-jsx": "^4.0.0",
|
|
"@vue/compiler-sfc": "^3.4.31",
|
|
"@vue/eslint-config-typescript": "^13.0.0",
|
|
"commitizen": "^4.3.0",
|
|
"cz-conventional-changelog": "^3.3.0",
|
|
"eslint": "^8.56.0",
|
|
"eslint-config-airbnb-base": "^15.0.0",
|
|
"eslint-config-prettier": "^9.0.0",
|
|
"eslint-plugin-import": "^2.29.1",
|
|
"eslint-plugin-prettier": "^5.1.3",
|
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
"eslint-plugin-vue": "^9.21.1",
|
|
"eslint-plugin-vue-scoped-css": "^2.7.2",
|
|
"husky": "^9.0.11",
|
|
"less": "^4.1.3",
|
|
"lint-staged": "^15.2.7",
|
|
"mockjs": "^1.1.0",
|
|
"postcss-html": "^1.7.0",
|
|
"postcss-less": "^6.0.0",
|
|
"postcss-px-to-viewport-8-plugin": "^1.2.5",
|
|
"prettier": "^3.3.2",
|
|
"stylelint": "~16.6.1",
|
|
"stylelint-config-standard": "^36.0.1",
|
|
"stylelint-order": "~6.0.3",
|
|
"typescript": "~5.5.3",
|
|
"unplugin-auto-import": "^0.18.2",
|
|
"unplugin-vue-components": "^0.27.3",
|
|
"vite": "^5.3.3",
|
|
"vite-plugin-mock": "^3.0.0",
|
|
"vite-plugin-vue-devtools": "^7.3.7",
|
|
"vite-svg-loader": "^5.1.0",
|
|
"vue-tsc": "^2.0.26"
|
|
},
|
|
"config": {
|
|
"commitizen": {
|
|
"path": "./node_modules/cz-conventional-changelog"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,vue,ts,tsx}": [
|
|
"prettier --write",
|
|
"npm run lint:fix"
|
|
],
|
|
"*.{html,vue,css,sass,less}": [
|
|
"npm run stylelint:fix"
|
|
]
|
|
}
|
|
}
|