初始化提交
Showing
.commitlintrc.cjs
0 → 100644
.env
0 → 100644
.env.development
0 → 100644
.env.production
0 → 100644
.env.test
0 → 100644
.gitignore
0 → 100644
.husky/.gitignore
0 → 100644
.husky/commit-msg
0 → 100644
.husky/pre-commit
0 → 100644
.ls-lint.yml
0 → 100644
.npmrc
0 → 100644
.nvmrc
0 → 100644
.postcssrc.cjs
0 → 100644
.stylelintignore
0 → 100644
.stylelintrc.cjs
0 → 100644
.vscode/extensions.json
0 → 100644
.vscode/settings.json
0 → 100644
LICENSE
0 → 100644
README.md
0 → 100644
babel.config.cjs
0 → 100644
build/vite/index.ts
0 → 100644
build/vite/mpa.ts
0 → 100644
build/vite/plugins.ts
0 → 100644
build/vite/proxy.ts
0 → 100644
eslint.config.js
0 → 100644
package.json
0 → 100644
{ | ||
"name": "ares-mobile", | ||
"type": "module", | ||
"version": "1.0.3", | ||
"private": true, | ||
"packageManager": "pnpm@8.15.4", | ||
"description": "A mobile (spa and mpa) template based on Vue3 and Vant4", | ||
"author": "zhangsanplus", | ||
"license": "MIT", | ||
"homepage": "https://github.com/zhangsanplus/ares-mobile/tree/mpa", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/zhangsanplus/ares-mobile.git" | ||
}, | ||
"keywords": [ | ||
"vue3", | ||
"typescript", | ||
"vant", | ||
"mpa", | ||
"spa", | ||
"template" | ||
], | ||
"engines": { | ||
"node": "18.x" | ||
}, | ||
"scripts": { | ||
"dev": "vite --host", | ||
"build": "vue-tsc --noEmit && vite build", | ||
"build:test": "vue-tsc --noEmit && vite build --mode test", | ||
"preinstall": "npx only-allow pnpm", | ||
"prepare": "husky install", | ||
"lint:css": "stylelint **/*.{css,scss,vue} --fix", | ||
"lint:js": "eslint --fix", | ||
"lint:ls": "ls-lint", | ||
"lint": "npm run lint:css && npm run lint:js && npm run lint:ls", | ||
"typecheck": "vue-tsc --noEmit", | ||
"up": "taze major -I", | ||
"release": "bumpp", | ||
"new": "node ./scripts/generate.cjs" | ||
}, | ||
"dependencies": { | ||
"@vueuse/core": "^10.9.0", | ||
"axios": "^1.6.0", | ||
"dayjs": "^1.11.10", | ||
"mitt": "^3.0.1", | ||
"vant": "^4.8.5", | ||
"vue": "^3.3.0", | ||
"vue-router": "^4.2.0" | ||
}, | ||
"devDependencies": { | ||
"@antfu/eslint-config": "^2.8.2", | ||
"@commitlint/cli": "^19.2.0", | ||
"@commitlint/config-conventional": "^19.1.0", | ||
"@iconify-json/carbon": "^1.1.31", | ||
"@ls-lint/ls-lint": "^2.2.2", | ||
"@types/fs-extra": "^11.0.4", | ||
"@types/node": "20.9.0", | ||
"@unocss/eslint-plugin": "^0.58.6", | ||
"@unocss/preset-rem-to-px": "^0.58.6", | ||
"@vitejs/plugin-legacy": "^5.3.2", | ||
"@vitejs/plugin-vue": "^5.0.4", | ||
"@vitejs/plugin-vue-jsx": "^3.1.0", | ||
"bumpp": "^9.4.0", | ||
"eslint": "^8.57.0", | ||
"fs-extra": "^11.2.0", | ||
"glob": "^10.3.10", | ||
"husky": "^9.0.11", | ||
"kolorist": "^1.8.0", | ||
"lint-staged": "^15.2.2", | ||
"postcss": "^8.4.35", | ||
"postcss-html": "^1.6.0", | ||
"postcss-px-to-viewport-8-plugin": "^1.2.3", | ||
"postcss-scss": "^4.0.9", | ||
"sass": "^1.72.0", | ||
"stylelint": "^16.2.1", | ||
"stylelint-config-rational-order": "^0.1.2", | ||
"stylelint-config-recommended-vue": "^1.5.0", | ||
"stylelint-config-standard": "^36.0.0", | ||
"taze": "^0.13.3", | ||
"terser": "^5.29.2", | ||
"typescript": "^5.4.2", | ||
"unocss": "^0.58.6", | ||
"unplugin-auto-import": "^0.17.5", | ||
"unplugin-icons": "^0.18.5", | ||
"unplugin-vue-components": "^0.26.0", | ||
"vite": "^5.1.6", | ||
"vite-plugin-compression": "^0.5.1", | ||
"vite-plugin-eruda": "^1.0.1", | ||
"vite-plugin-progress": "^0.0.7", | ||
"vite-plugin-vue-setup-extend": "^0.4.0", | ||
"vue-tsc": "^2.0.6" | ||
}, | ||
"lint-staged": { | ||
"src/**/*.{ts,tsx,vue}": [ | ||
"eslint --fix" | ||
], | ||
"src/**/*.{css,vue,scss}": [ | ||
"stylelint --fix" | ||
], | ||
"src/**": [ | ||
"ls-lint" | ||
] | ||
}, | ||
"__npminstall_done": false | ||
} |
pages.json
0 → 100644
pnpm-lock.yaml
0 → 100644
This diff is collapsed.
public/404.html
0 → 100644
public/favicon.ico
0 → 100644
9.44 KB
scripts/generate.cjs
0 → 100644
scripts/template.cjs
0 → 100644
src/api/article.ts
0 → 100644
src/api/types.ts
0 → 100644
src/assets/logo.png
0 → 100644
5.39 KB
src/components/Loading.vue
0 → 100644
src/components/TabBar.vue
0 → 100644
src/directives/loading.ts
0 → 100644
src/enums/http.ts
0 → 100644
src/hooks/useLoading.ts
0 → 100644
src/icons/github.svg
0 → 100644
src/layouts/BasicLayout.vue
0 → 100644
src/layouts/BlankLayout.vue
0 → 100644
src/models/article.d.ts
0 → 100644
src/pages/home.html
0 → 100644
src/pages/home/App.vue
0 → 100644
src/pages/home/main.ts
0 → 100644
src/pages/login.html
0 → 100644
src/pages/login/App.vue
0 → 100644
src/pages/login/main.ts
0 → 100644
src/pages/my.html
0 → 100644
src/pages/my/App.vue
0 → 100644
src/pages/my/main.ts
0 → 100644
src/pages/shop.html
0 → 100644
src/pages/shop/App.vue
0 → 100644
src/pages/shop/main.ts
0 → 100644
src/router/index.ts
0 → 100644
src/styles/global.scss
0 → 100644
src/styles/index.scss
0 → 100644
src/styles/transition.css
0 → 100644
src/styles/vant.scss
0 → 100644
src/types/index.ts
0 → 100644
src/utils/auth.ts
0 → 100644
src/utils/emitter.ts
0 → 100644
src/utils/index.ts
0 → 100644
src/utils/is.ts
0 → 100644
src/utils/request.ts
0 → 100644
tsconfig.json
0 → 100644
types/auto-imports.d.ts
0 → 100644
This diff is collapsed.
types/components.d.ts
0 → 100644
types/env.d.ts
0 → 100644
types/global.d.ts
0 → 100644
types/shims-vue.d.ts
0 → 100644
uno.config.ts
0 → 100644
vite.config.ts
0 → 100644