79 lines
3.0 KiB
JSON
79 lines
3.0 KiB
JSON
{
|
|
"name": "uniapp-vue3-project",
|
|
"version": "1.0.2",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"dev": "uni -p mp-weixin",
|
|
"dev:test": "cross-env NODE_ENV=development node manifest.modify.ts && uni -p mp-weixin --mode development",
|
|
"dev:prod": "cross-env NODE_ENV=production node manifest.modify.ts && uni -p mp-weixin --mode production",
|
|
"build:test": "cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build --mode test",
|
|
"build:prod": "cross-env NODE_ENV=production UNI_PLATFORM=mp-weixin vue-cli-service uni-build --mode production",
|
|
"deploy:test": "cross-env NODE_ENV=test node manifest.modify.ts && uni build --mode test -p mp-weixin && node deploy.ts test",
|
|
"deploy:prod": "cross-env NODE_ENV=production node manifest.modify.ts && uni build --mode production -p mp-weixin && node deploy.ts production",
|
|
"type-check": "vue-tsc --noEmit",
|
|
"eslint": "eslint --fix",
|
|
"stylelint": "stylelint \"src/**/*.(vue|scss|css)\" --fix",
|
|
"cz": "git add . && npx czg",
|
|
"postinstall": "simple-git-hooks"
|
|
},
|
|
"dependencies": {
|
|
"@dcloudio/uni-app": "3.0.0-alpha-4010520240507001",
|
|
"@dcloudio/uni-app-plus": "3.0.0-alpha-4010520240507001",
|
|
"@dcloudio/uni-components": "3.0.0-alpha-4010520240507001",
|
|
"@dcloudio/uni-mp-weixin": "3.0.0-alpha-4010520240507001",
|
|
"dayjs": "^1.11.10",
|
|
"pinia": "2.0.36",
|
|
"pinia-plugin-persistedstate": "^3.2.1",
|
|
"uview-plus": "^3.1.41",
|
|
"vue": "3.4.21",
|
|
"vue-i18n": "^9.9.0",
|
|
"z-paging": "^2.6.3"
|
|
},
|
|
"devDependencies": {
|
|
"@antfu/eslint-config": "1.1.0",
|
|
"@dcloudio/types": "^3.4.8",
|
|
"@dcloudio/uni-automator": "3.0.0-alpha-4010520240507001",
|
|
"@dcloudio/uni-cli-shared": "3.0.0-alpha-4010520240507001",
|
|
"@dcloudio/uni-stacktracey": "3.0.0-alpha-4010520240507001",
|
|
"@dcloudio/vite-plugin-uni": "3.0.0-alpha-4010520240507001",
|
|
"@types/node": "^20.10.3",
|
|
"@typescript-eslint/parser": "^6.13.1",
|
|
"@uni-helper/uni-app-types": "^0.5.12",
|
|
"@unocss/eslint-plugin": "^0.57.7",
|
|
"@vue/runtime-core": "^3.4.21",
|
|
"@vue/tsconfig": "^0.4.0",
|
|
"czg": "^1.7.1",
|
|
"eslint": "^8.55.0",
|
|
"lint-staged": "^15.2.0",
|
|
"miniprogram-ci": "^1.9.10",
|
|
"picocolors": "^1.0.0",
|
|
"postcss-html": "^1.5.0",
|
|
"postcss-scss": "^4.0.9",
|
|
"sass": "^1.69.5",
|
|
"simple-git-hooks": "^2.9.0",
|
|
"stylelint": "^15.11.0",
|
|
"stylelint-config-recess-order": "^4.4.0",
|
|
"stylelint-config-standard": "^34.0.0",
|
|
"stylelint-config-standard-vue": "^1.0.0",
|
|
"stylelint-order": "^6.0.3",
|
|
"typescript": "^5.3.2",
|
|
"unocss": "^0.57.7",
|
|
"unocss-applet": "^0.7.8",
|
|
"unplugin-auto-import": "^0.16.7",
|
|
"unplugin-vue-components": "^0.25.2",
|
|
"vite": "^5.2.8",
|
|
"vite-plugin-imagemin": "^0.6.1",
|
|
"vue-tsc": "^1.8.24"
|
|
},
|
|
"lint-staged": {
|
|
"src/**/*.{js,jsx,ts,tsx}": "eslint --fix",
|
|
"*.{scss,less,style,html}": "stylelint --fix",
|
|
"*.vue": [
|
|
"stylelint --fix"
|
|
]
|
|
},
|
|
"simple-git-hooks": {
|
|
"commit-msg": "node scripts/verifyCommit.js"
|
|
}
|
|
}
|