{ "name": "vue-h5-template", "version": "1.0.0", "scripts": { "dev": "vite", "build": "vue-tsc --noEmit && 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", "deps": "yarn upgrade-interactive --latest" }, "husky": { "hooks": { "pre-commit": "lint-staged" } }, "dependencies": { "@nutui/nutui": "^3.1.20", "@vueuse/core": "8.3.1", "@vueuse/integrations": "8.3.1", "axios": "0.27.2", "pinia": "^2.0.13", "universal-cookie": "^4.0.4", "vant": "^3.4.8", "vue": "^3.2.33", "vue-i18n": "^9.1.9", "vue-router": "^4.0.14" }, "devDependencies": { "@types/node": "^17.0.29", "@typescript-eslint/eslint-plugin": "^5.21.0", "@typescript-eslint/parser": "^5.21.0", "@vitejs/plugin-legacy": "^1.8.1", "@vitejs/plugin-vue": "^2.3.1", "@vitejs/plugin-vue-jsx": "^1.3.10", "consola": "^2.15.3", "eruda": "^2.4.1", "eslint": "^8.14.0", "eslint-config-prettier": "^8.5.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-vue": "^8.7.1", "husky": "7.0.4", "lint-staged": "12.4.1", "mockjs": "^1.1.0", "postcss": "^8.4.12", "postcss-px-to-viewport-8-plugin": "^1.1.3", "prettier": "^2.6.2", "stylelint": "^14.8.0", "stylelint-config-prettier": "^9.0.3", "stylelint-config-recommended": "^7.0.0", "stylelint-config-recommended-vue": "^1.4.0", "stylelint-config-standard": "^25.0.0", "stylelint-order": "^5.0.0", "typescript": "^4.6.3", "vite": "^2.9.6", "vite-plugin-eruda": "^1.0.1", "vite-plugin-mock": "^2.9.6", "vite-plugin-style-import": "^2.0.0", "vue-eslint-parser": "^8.3.0", "vue-tsc": "^0.34.10" }, "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" ] } }