mirror of
https://gitee.com/h_mo/uniapp-vue3-vite-ts-template
synced 2025-04-06 03:58:03 +08:00
93 lines
3.4 KiB
JSON
93 lines
3.4 KiB
JSON
{
|
|
"name": "vue3-Vite2-TS basic framework",
|
|
"version": "1.0.0",
|
|
"scripts": {
|
|
"dev:app": "uni -p app",
|
|
"dev:custom": "uni -p",
|
|
"dev:h5": "uni",
|
|
"dev:h5:ssr": "uni --ssr",
|
|
"dev:mp-alipay": "uni -p mp-alipay",
|
|
"dev:mp-baidu": "uni -p mp-baidu",
|
|
"dev:mp-kuaishou": "uni -p mp-kuaishou",
|
|
"dev:mp-lark": "uni -p mp-lark",
|
|
"dev:mp-qq": "uni -p mp-qq",
|
|
"dev:mp-toutiao": "uni -p mp-toutiao",
|
|
"dev:mp-weixin": "uni -p mp-weixin",
|
|
"dev:quickapp-webview": "uni -p quickapp-webview",
|
|
"dev:quickapp-webview-huawei": "uni -p quickapp-webview-huawei",
|
|
"dev:quickapp-webview-union": "uni -p quickapp-webview-union",
|
|
"build:app": "uni build -p app",
|
|
"build:custom": "uni build -p",
|
|
"build:h5": "uni build --minify",
|
|
"build:h5:ssr": "uni build --ssr",
|
|
"build:mp-alipay": "uni build -p mp-alipay",
|
|
"build:mp-baidu": "uni build -p mp-baidu",
|
|
"build:mp-kuaishou": "uni build -p mp-kuaishou",
|
|
"build:mp-lark": "uni build -p mp-lark",
|
|
"build:mp-qq": "uni build -p mp-qq",
|
|
"build:mp-toutiao": "uni build -p mp-toutiao",
|
|
"build:mp-weixin": "uni build -p mp-weixin --minify",
|
|
"build:quickapp-webview": "uni build -p quickapp-webview",
|
|
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
|
|
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
|
|
"lint": "eslint --cache --max-warnings 0 \"src/**/*.{vue,ts}\" --fix",
|
|
"prettier": "prettier --write \"src/**/*.{js,ts,json,css,scss,vue}\"",
|
|
"prepare": "husky install"
|
|
},
|
|
"dependencies": {
|
|
"@dcloudio/uni-app": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-app-plus": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-components": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-h5": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-i18n": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-mp-alipay": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-mp-baidu": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-mp-kuaishou": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-mp-lark": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-mp-qq": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-mp-toutiao": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-mp-weixin": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-quickapp-webview": "^3.0.0-alpha-3050220220719003",
|
|
"crypto-js": "^4.1.1",
|
|
"lodash-es": "^4.17.21",
|
|
"pinia": "^2.0.16",
|
|
"vue": "^3.2.37",
|
|
"vue-i18n": "^9.1.10"
|
|
},
|
|
"devDependencies": {
|
|
"@dcloudio/types": "^2.6.12",
|
|
"@dcloudio/uni-automator": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/uni-cli-shared": "^3.0.0-alpha-3050220220719003",
|
|
"@dcloudio/vite-plugin-uni": "^3.0.0-alpha-3050220220719003",
|
|
"@types/crypto-js": "^4.1.1",
|
|
"@types/lodash-es": "^4.17.6",
|
|
"@types/node": "^17.0.45",
|
|
"@typescript-eslint/eslint-plugin": "^5.30.7",
|
|
"@typescript-eslint/parser": "^5.30.6",
|
|
"eslint": "^8.19.0",
|
|
"eslint-config-prettier": "^8.5.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-vue": "^9.2.0",
|
|
"husky": "^8.0.1",
|
|
"lint-staged": "^13.0.3",
|
|
"mrm": "^4.0.0",
|
|
"postcss": "^8.4.14",
|
|
"prettier": "^2.7.1",
|
|
"sass": "^1.53.0",
|
|
"typescript": "^4.7.4",
|
|
"vite": "^3.0.2",
|
|
"vite-plugin-eslint": "^1.7.0"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx,vue,ts,tsx}": [
|
|
"prettier --write",
|
|
"git add"
|
|
]
|
|
}
|
|
}
|