{ "name": "vue-h5-template", "version": "1.0.0", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview", "lint:eslint": "eslint --cache --max-warnings 0 \"{src,mock}/**/*.{vue,ts,tsx}\" --fix", "lint:prettier": "prettier --write \"src/**/*.{js,json,tsx,css,less,scss,vue,html,md}\"", "lint:stylelint": "stylelint --cache --fix \"**/*.{vue,less,postcss,css,scss}\" --cache --cache-location node_modules/.cache/stylelint/", "lint:lint-staged": "lint-staged", "prepare": "husky install", "deps": "yarn upgrade-interactive --latest", "commit": "git add . && git-cz" }, "dependencies": { "@nutui/icons-vue": "^0.1.1", "@nutui/nutui": "^4.3.13", "@varlet/ui": "^3.8.7", "@vueuse/core": "12.7.0", "@vueuse/integrations": "12.7.0", "axios": "1.7.9", "dayjs": "^1.11.13", "mitt": "^3.0.1", "pinia": "^3.0.1", "pinia-plugin-persistedstate": "^4.2.0", "quarkd": "^2.0.5", "universal-cookie": "^7.2.2", "vant": "^4.9.17", "vue": "^3.5.13", "vue-i18n": "^11.1.1", "vue-router": "^4.5.0" }, "devDependencies": { "@commitlint/cli": "^19.7.1", "@commitlint/config-conventional": "^19.7.1", "@vitejs/plugin-basic-ssl": "^1.2.0", "@vitejs/plugin-legacy": "^6.0.1", "@vitejs/plugin-vue": "^5.2.1", "@vitejs/plugin-vue-jsx": "^4.1.1", "@vue/eslint-config-prettier": "^10.2.0", "@vue/eslint-config-typescript": "^14.4.0", "@vue/test-utils": "^2.4.0", "@vue/tsconfig": "^0.7.0", "amfe-flexible": "^2.2.1", "autoprefixer": "^10.4.20", "cnjm-postcss-px-to-viewport": "^1.0.1", "consola": "^3.2.3", "cross-env": "^7.0.3", "cz-git": "^1.11.0", "czg": "^1.11.0", "eruda": "^3.4.1", "eslint": "^9.20.1", "eslint-config-prettier": "^10.0.1", "eslint-define-config": "^2.1.0", "eslint-plugin-import": "^2.31.0", "eslint-plugin-prettier": "^5.2.3", "eslint-plugin-simple-import-sort": "^12.1.1", "eslint-plugin-vue": "^9.32.0", "git-cz": "^4.9.0", "husky": "9.1.7", "jsdom": "^22.1.0", "lint-staged": "15.4.3", "mockjs": "^1.1.0", "npm-run-all": "^4.1.5", "postcss": "^8.5.2", "postcss-html": "1.8.0", "postcss-less": "^6.0.0", "prettier": "^3.5.1", "rollup-plugin-visualizer": "^5.9.1", "stylelint": "^15.10.1", "stylelint-config-property-sort-order-smacss": "^9.1.0", "stylelint-config-recommended": "^13.0.0", "stylelint-config-recommended-vue": "^1.5.0", "stylelint-config-standard": "^34.0.0", "stylelint-config-standard-scss": "^10.0.0", "stylelint-order": "^6.0.3", "stylelint-prettier": "^4.0.0", "terser": "^5.19.0", "typescript": "^5.7.3", "unplugin-auto-import": "^19.1.0", "unplugin-vue-components": "^28.2.0", "vite": "^6.1.0", "vite-plugin-compression": "^0.5.1", "vite-plugin-eruda": "^1.0.1", "vite-plugin-imagemin": "^0.6.1", "vite-plugin-mock": "^3.0.2", "vite-plugin-pages": "^0.32.4", "vite-plugin-progress": "^0.0.7", "vite-plugin-restart": "^0.4.2", "vite-plugin-svg-icons": "^2.0.1", "vite-plugin-vue-setup-extend-plus": "^0.1.0", "vitest": "^3.0.5", "vue-eslint-parser": "^9.4.3", "vue-tsc": "^2.2.2" }, "engines": { "node": ">=20.10.0", "pnpm": ">=9.12.0" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "resolutions": { "bin-wrapper": "npm:bin-wrapper-china", "gifsicle": "5.2.0" }, "lint-staged": { "*.{js,jsx,ts,tsx}": [ "eslint --fix", "prettier --write" ], "{!(package)*.json,*.code-snippets,.!(browserslist)*rc}": [ "prettier --write--parser json" ], "package.json": [ "prettier --write" ], "*.vue": [ "eslint --fix", "prettier --write", "stylelint --fix" ], "*.{scss,less,styl,html}": [ "stylelint --fix", "prettier --write" ], "*.md": [ "prettier --write" ] }, "config": { "commitizen": { "path": "node_modules/cz-git" } } }