feat: init
parents
Showing
.azure/ci.yml
0 → 100644
.commitlintrc.cjs
0 → 100644
.czrc
0 → 100644
.editorconfig
0 → 100644
.eslintrc.cjs
0 → 100644
.gitignore
0 → 100644
.lintstagedrc.cjs
0 → 100644
.markdownlint.json
0 → 100644
.npmrc
0 → 100644
.nvmrc
0 → 100644
.prettierrc.cjs
0 → 100644
.simple-git-hooks.cjs
0 → 100644
.stylelintrc.cjs
0 → 100644
.versionrc.cjs
0 → 100644
.vscode/extensions.json
0 → 100644
.vscode/settings.json
0 → 100644
README.md
0 → 100644
auto-imports.d.ts
0 → 100644
components.d.ts
0 → 100644
index.html
0 → 100644
manifest.config.ts
0 → 100644
package-lock.json
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
package.json
0 → 100644
{ | ||
"name": "uni-app", | ||
"version": "0.0.0", | ||
"private": true, | ||
"description": "A boilerplate for uni-app (vue3).", | ||
"scripts": { | ||
"build:app": "cross-env VITE_MODE=production uni build -p app", | ||
"build:app-android": "cross-env VITE_MODE=production uni build -p app-android", | ||
"build:app-android:dev": "cross-env VITE_MODE=development uni build -p app-android", | ||
"build:app-android:prod": "pnpm run build:app-android", | ||
"build:app-android:staging": "cross-env VITE_MODE=staging uni build -p app-android", | ||
"build:app-ios": "cross-env VITE_MODE=production uni build -p app-ios", | ||
"build:app-ios:dev": "cross-env VITE_MODE=development uni build -p app-ios", | ||
"build:app-ios:prod": "pnpm run build:app-ios", | ||
"build:app-ios:staging": "cross-env VITE_MODE=staging uni build -p app-ios", | ||
"build:app:dev": "cross-env VITE_MODE=development uni build -p app", | ||
"build:app:prod": "pnpm run build:app", | ||
"build:app:staging": "cross-env VITE_MODE=staging uni build -p app", | ||
"build:h5": "cross-env VITE_MODE=production uni build", | ||
"build:h5:dev": "cross-env VITE_MODE=development uni build", | ||
"build:h5:prod": "pnpm run build:h5", | ||
"build:h5:ssr": "cross-env VITE_MODE=production uni build --ssr", | ||
"build:h5:ssr:dev": "cross-env VITE_MODE=development uni build --ssr", | ||
"build:h5:ssr:prod": "pnpm run build:h5:ssr", | ||
"build:h5:ssr:staging": "cross-env VITE_MODE=staging uni build --ssr", | ||
"build:h5:staging": "cross-env VITE_MODE=staging uni build", | ||
"build:mp-alipay": "cross-env VITE_MODE=production uni build -p mp-alipay", | ||
"build:mp-alipay:dev": "cross-env VITE_MODE=development uni build -p mp-alipay", | ||
"build:mp-alipay:prod": "pnpm run build:mp-alipay", | ||
"build:mp-alipay:staging": "cross-env VITE_MODE=staging uni build -p mp-alipay", | ||
"build:mp-baidu": "cross-env VITE_MODE=production uni build -p mp-baidu", | ||
"build:mp-baidu:dev": "cross-env VITE_MODE=development uni build -p mp-baidu", | ||
"build:mp-baidu:prod": "pnpm run build:mp-baidu", | ||
"build:mp-baidu:staging": "cross-env VITE_MODE=staging uni build -p mp-baidu", | ||
"build:mp-jd": "cross-env VITE_MODE=production uni build -p mp-jd", | ||
"build:mp-jd:dev": "cross-env VITE_MODE=development uni build -p mp-jd", | ||
"build:mp-jd:prod": "pnpm run build:mp-jd", | ||
"build:mp-jd:staging": "cross-env VITE_MODE=staging uni build -p mp-jd", | ||
"build:mp-kuaishou": "cross-env VITE_MODE=production uni build -p mp-kuaishou", | ||
"build:mp-kuaishou:dev": "cross-env VITE_MODE=development uni build -p mp-kuaishou", | ||
"build:mp-kuaishou:prod": "pnpm run build:mp-kuaishou", | ||
"build:mp-kuaishou:staging": "cross-env VITE_MODE=staging uni build -p mp-kuaishou", | ||
"build:mp-lark": "cross-env VITE_MODE=production uni build -p mp-lark", | ||
"build:mp-lark:dev": "cross-env VITE_MODE=development uni build -p mp-lark", | ||
"build:mp-lark:prod": "pnpm run build:mp-lark", | ||
"build:mp-lark:staging": "cross-env VITE_MODE=staging uni build -p mp-lark", | ||
"build:mp-qq": "cross-env VITE_MODE=production uni build -p mp-qq", | ||
"build:mp-qq:dev": "cross-env VITE_MODE=development uni build -p mp-qq", | ||
"build:mp-qq:prod": "pnpm run build:mp-qq", | ||
"build:mp-qq:staging": "cross-env VITE_MODE=staging uni build -p mp-qq", | ||
"build:mp-toutiao": "cross-env VITE_MODE=production uni build -p mp-toutiao", | ||
"build:mp-toutiao:dev": "cross-env VITE_MODE=development uni build -p mp-toutiao", | ||
"build:mp-toutiao:prod": "pnpm run build:mp-toutiao", | ||
"build:mp-toutiao:staging": "cross-env VITE_MODE=staging uni build -p mp-toutiao", | ||
"build:mp-weixin": "cross-env VITE_MODE=production uni build -p mp-weixin", | ||
"build:mp-weixin:dev": "cross-env VITE_MODE=development uni build -p mp-weixin", | ||
"build:mp-weixin:prod": "pnpm run build:mp-weixin", | ||
"build:mp-weixin:staging": "cross-env VITE_MODE=staging uni build -p mp-weixin", | ||
"build:quickapp-webview": "cross-env VITE_MODE=production uni build -p quickapp-webview", | ||
"build:quickapp-webview-huawei": "cross-env VITE_MODE=production uni build -p quickapp-webview-huawei", | ||
"build:quickapp-webview-huawei:dev": "cross-env VITE_MODE=development uni build -p quickapp-webview-huawei", | ||
"build:quickapp-webview-huawei:prod": "pnpm run build:quickapp-webview-huawei", | ||
"build:quickapp-webview-huawei:staging": "cross-env VITE_MODE=staging uni build -p quickapp-webview-huawei", | ||
"build:quickapp-webview-union": "cross-env VITE_MODE=production uni build -p quickapp-webview-union", | ||
"build:quickapp-webview-union:dev": "cross-env VITE_MODE=development uni build -p quickapp-webview-union", | ||
"build:quickapp-webview-union:prod": "pnpm run build:quickapp-webview-union", | ||
"build:quickapp-webview-union:staging": "cross-env VITE_MODE=staging uni build -p quickapp-webview-union", | ||
"build:quickapp-webview:dev": "cross-env VITE_MODE=development uni build -p quickapp-webview", | ||
"build:quickapp-webview:prod": "pnpm run build:quickapp-webview", | ||
"build:quickapp-webview:staging": "cross-env VITE_MODE=staging uni build -p quickapp-webview", | ||
"check:deps": "taze -f", | ||
"check:types": "vue-tsc --noEmit -p tsconfig.vitest.json --composite false", | ||
"commit": "git-cz", | ||
"dev:app": "cross-env VITE_MODE=development uni -p app", | ||
"dev:app-android": "cross-env VITE_MODE=development uni -p app-android", | ||
"dev:app-android:dev": "pnpm run dev:app-android", | ||
"dev:app-android:prod": "cross-env VITE_MODE=production uni -p app-android", | ||
"dev:app-android:staging": "cross-env VITE_MODE=staging uni -p app-android", | ||
"dev:app-ios": "cross-env VITE_MODE=development uni -p app-ios", | ||
"dev:app-ios:dev": "pnpm run dev:app-ios", | ||
"dev:app-ios:prod": "cross-env VITE_MODE=production uni -p app-ios", | ||
"dev:app-ios:staging": "cross-env VITE_MODE=staging uni -p app-ios", | ||
"dev:app:dev": "pnpm run dev:app", | ||
"dev:app:prod": "cross-env VITE_MODE=production uni -p app", | ||
"dev:app:staging": "cross-env VITE_MODE=staging uni -p app", | ||
"dev:h5": "cross-env VITE_MODE=development uni", | ||
"dev:h5:dev": "pnpm run dev:h5", | ||
"dev:h5:prod": "cross-env VITE_MODE=production uni", | ||
"dev:h5:ssr": "cross-env VITE_MODE=development uni --ssr", | ||
"dev:h5:ssr:dev": "pnpm run dev:h5:ssr", | ||
"dev:h5:ssr:prod": "cross-env VITE_MODE=production uni --ssr", | ||
"dev:h5:ssr:staging": "cross-env VITE_MODE=staging uni --ssr", | ||
"dev:h5:staging": "cross-env VITE_MODE=staging uni", | ||
"dev:mp-alipay": "cross-env VITE_MODE=development uni -p mp-alipay", | ||
"dev:mp-alipay:dev": "pnpm run dev:mp-alipay", | ||
"dev:mp-alipay:prod": "cross-env VITE_MODE=production uni -p mp-alipay", | ||
"dev:mp-alipay:staging": "cross-env VITE_MODE=staging uni -p mp-alipay", | ||
"dev:mp-baidu": "cross-env VITE_MODE=development uni -p mp-baidu", | ||
"dev:mp-baidu:dev": "pnpm run dev:mp-baidu", | ||
"dev:mp-baidu:prod": "cross-env VITE_MODE=production uni -p mp-baidu", | ||
"dev:mp-baidu:staging": "cross-env VITE_MODE=staging uni -p mp-baidu", | ||
"dev:mp-jd": "cross-env VITE_MODE=development uni -p mp-jd", | ||
"dev:mp-jd:dev": "pnpm run dev:mp-jd", | ||
"dev:mp-jd:prod": "cross-env VITE_MODE=production uni -p mp-jd", | ||
"dev:mp-jd:staging": "cross-env VITE_MODE=staging uni -p mp-jd", | ||
"dev:mp-kuaishou": "cross-env VITE_MODE=development uni -p mp-kuaishou", | ||
"dev:mp-kuaishou:dev": "pnpm run dev:mp-kuaishou", | ||
"dev:mp-kuaishou:prod": "cross-env VITE_MODE=production uni -p mp-kuaishou", | ||
"dev:mp-kuaishou:staging": "cross-env VITE_MODE=staging uni -p mp-kuaishou", | ||
"dev:mp-lark": "cross-env VITE_MODE=development uni -p mp-lark", | ||
"dev:mp-lark:dev": "pnpm run dev:mp-lark", | ||
"dev:mp-lark:prod": "cross-env VITE_MODE=production uni -p mp-lark", | ||
"dev:mp-lark:staging": "cross-env VITE_MODE=staging uni -p mp-lark", | ||
"dev:mp-qq": "cross-env VITE_MODE=development uni -p mp-qq", | ||
"dev:mp-qq:dev": "pnpm run dev:mp-qq", | ||
"dev:mp-qq:prod": "cross-env VITE_MODE=production uni -p mp-qq", | ||
"dev:mp-qq:staging": "cross-env VITE_MODE=staging uni -p mp-qq", | ||
"dev:mp-toutiao": "cross-env VITE_MODE=development uni -p mp-toutiao", | ||
"dev:mp-toutiao:dev": "pnpm run dev:mp-toutiao", | ||
"dev:mp-toutiao:prod": "cross-env VITE_MODE=production uni -p mp-toutiao", | ||
"dev:mp-toutiao:staging": "cross-env VITE_MODE=staging uni -p mp-toutiao", | ||
"dev:mp-weixin": "cross-env VITE_MODE=development uni -p mp-weixin", | ||
"dev:mp-weixin:dev": "pnpm run dev:mp-weixin", | ||
"dev:mp-weixin:prod": "cross-env VITE_MODE=production uni -p mp-weixin", | ||
"dev:mp-weixin:staging": "cross-env VITE_MODE=staging uni -p mp-weixin", | ||
"dev:quickapp-webview": "cross-env VITE_MODE=development uni -p quickapp-webview", | ||
"dev:quickapp-webview-huawei": "cross-env VITE_MODE=development uni -p quickapp-webview-huawei", | ||
"dev:quickapp-webview-huawei:dev": "pnpm run dev:quickapp-webview-huawei", | ||
"dev:quickapp-webview-huawei:prod": "cross-env VITE_MODE=production uni -p quickapp-webview-huawei", | ||
"dev:quickapp-webview-huawei:staging": "cross-env VITE_MODE=staging uni -p quickapp-webview-huawei", | ||
"dev:quickapp-webview-union": "cross-env VITE_MODE=development uni -p quickapp-webview-union", | ||
"dev:quickapp-webview-union:dev": "pnpm run dev:quickapp-webview-union", | ||
"dev:quickapp-webview-union:prod": "cross-env VITE_MODE=production uni -p quickapp-webview-union", | ||
"dev:quickapp-webview-union:staging": "cross-env VITE_MODE=staging uni -p quickapp-webview-union", | ||
"dev:quickapp-webview:dev": "pnpm run dev:quickapp-webview", | ||
"dev:quickapp-webview:prod": "cross-env VITE_MODE=production uni -p quickapp-webview", | ||
"dev:quickapp-webview:staging": "cross-env VITE_MODE=staging uni -p quickapp-webview", | ||
"lint": "conc \"pnpm:lint:eslint\" \"pnpm:lint:markdownlint\" \"pnpm:lint:stylelint\"", | ||
"lint:eslint": "eslint . --fix --cache --ignore-path=.gitignore", | ||
"lint:markdownlint": "markdownlint . --fix --ignore-path=.gitignore", | ||
"lint:stylelint": "stylelint \"./**/*.{css,scss,vue}\" --fix --cache --ignore-path=.gitignore", | ||
"prepare": "is-ci || simple-git-hooks", | ||
"release": "pnpm install && commit-and-tag-version -a", | ||
"test:unit": "vitest run --coverage" | ||
}, | ||
"dependencies": { | ||
"@ctrl/tinycolor": "^4.0.2", | ||
"@dcloudio/uni-app": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-app-plus": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-components": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-h5": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-mp-alipay": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-mp-baidu": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-mp-jd": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-mp-kuaishou": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-mp-lark": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-mp-qq": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-mp-toutiao": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-mp-weixin": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-quickapp-webview": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-ui": "^1.4.28", | ||
"@modyqyw/utils": "^8.0.0", | ||
"@tanstack/vue-query": "^4.37.1", | ||
"@uni-helper/uni-network": "^0.16.1", | ||
"@uni-helper/uni-promises": "^0.2.1", | ||
"@uni-helper/uni-use": "^0.16.0", | ||
"@vueuse/core": "^9.13.0", | ||
"change-case": "^4.1.2", | ||
"core-js": "^3.33.1", | ||
"dayjs": "^1.11.10", | ||
"modern-normalize": "^2.0.0", | ||
"pinia": "~2.0.36", | ||
"qs": "^6.11.2", | ||
"statuses": "^2.0.1", | ||
"vue": "~3.2.47", | ||
"vue-i18n": "^9.5.0" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^18.1.0", | ||
"@commitlint/config-conventional": "^18.1.0", | ||
"@commitlint/prompt": "^18.1.0", | ||
"@dcloudio/types": "^3.4.1", | ||
"@dcloudio/uni-automator": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-cli-shared": "3.0.0-3090420231025001", | ||
"@dcloudio/uni-stacktracey": "3.0.0-3090420231025001", | ||
"@dcloudio/vite-plugin-uni": "3.0.0-3090420231025001", | ||
"@iconify/json": "^2.2.133", | ||
"@mini-types/alipay": "^3.0.12", | ||
"@modyqyw/fabric": "^9.0.6", | ||
"@tsconfig/node18": "^18.2.2", | ||
"@types/eslint": "^8.44.6", | ||
"@types/jsdom": "^21.1.4", | ||
"@types/node": "^18.18.7", | ||
"@types/qs": "^6.9.9", | ||
"@types/shelljs": "^0.8.14", | ||
"@types/statuses": "^2.0.3", | ||
"@typescript-eslint/eslint-plugin": "^6.9.0", | ||
"@typescript-eslint/parser": "^6.9.0", | ||
"@uni-helper/uni-app-types": "^0.5.12", | ||
"@uni-helper/uni-cloud-types": "^0.5.2", | ||
"@uni-helper/uni-deploy": "^0.3.0", | ||
"@uni-helper/uni-env": "^0.1.1", | ||
"@uni-helper/uni-ui-types": "^0.5.11", | ||
"@uni-helper/unocss-preset-uni": "^0.2.3", | ||
"@uni-helper/vite-plugin-uni-components": "^0.0.8", | ||
"@uni-helper/vite-plugin-uni-layouts": "^0.1.6", | ||
"@uni-helper/vite-plugin-uni-manifest": "^0.2.2", | ||
"@uni-helper/vite-plugin-uni-pages": "^0.2.12", | ||
"@unocss-applet/reset": "^0.7.6", | ||
"@unocss/preset-rem-to-px": "^0.57.1", | ||
"@vitejs/plugin-legacy": "^4.1.1", | ||
"@vitejs/plugin-vue": "^4.4.0", | ||
"@vitejs/plugin-vue-jsx": "^3.0.2", | ||
"@vitest/coverage-v8": "^0.34.6", | ||
"@vitest/ui": "^0.34.6", | ||
"@vue-macros/volar": "^0.17.1", | ||
"@vue/test-utils": "^2.4.1", | ||
"@vue/tsconfig": "^0.4.0", | ||
"commit-and-tag-version": "^11.3.0", | ||
"commitizen": "^4.3.0", | ||
"concurrently": "^8.2.2", | ||
"consola": "^3.2.3", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.52.0", | ||
"is-ci": "^3.0.1", | ||
"jsdom": "^22.1.0", | ||
"lint-staged": "^15.0.2", | ||
"markdownlint-cli": "^0.37.0", | ||
"miniprogram-api-typings": "^3.12.1", | ||
"postcss": "^8.4.31", | ||
"postcss-preset-env": "^9.2.0", | ||
"prettier": "^3.0.3", | ||
"rimraf": "^5.0.5", | ||
"sass": "^1.69.5", | ||
"shelljs": "^0.8.5", | ||
"simple-git": "^3.20.0", | ||
"simple-git-hooks": "^2.9.0", | ||
"sort-package-json": "^2.6.0", | ||
"stylelint": "^15.11.0", | ||
"taze": "^0.11.4", | ||
"terser": "^5.22.0", | ||
"tsx": "^3.14.0", | ||
"type-fest": "^4.6.0", | ||
"typescript": "~5.2.2", | ||
"unocss": "^0.57.1", | ||
"unocss-applet": "^0.7.6", | ||
"unocss-preset-antd": "^0.0.1", | ||
"unocss-preset-element-plus": "^0.2.1", | ||
"unocss-preset-naive-ui": "^0.0.2", | ||
"unplugin-auto-import": "^0.16.6", | ||
"unplugin-icons": "^0.17.1", | ||
"unplugin-vue-macros": "^2.6.1", | ||
"vite": "^4.5.0", | ||
"vite-plugin-eslint2": "^4.3.0", | ||
"vite-plugin-stylelint": "^5.2.0", | ||
"vitest": "^0.34.6", | ||
"vue-tsc": "^1.8.21" | ||
}, | ||
"packageManager": "pnpm@8.9.2", | ||
"engines": { | ||
"node": "20" | ||
} | ||
} |
pages.config.ts
0 → 100644
pnpm-lock.yaml
0 → 100644
This source diff could not be displayed because it is too large.
You can
view the blob
instead.
src/App.vue
0 → 100644
src/androidPrivacy.json
0 → 100644
src/components/v-spacer/index.ts
0 → 100644
src/components/v-spacer/v-spacer.vue
0 → 100644
src/composables/index.ts
0 → 100644
src/composables/usePagination.ts
0 → 100644
src/composables/useTheme.ts
0 → 100644
src/composables/useToken.ts
0 → 100644
src/constants/index.ts
0 → 100644
src/helpers/action-sheet.ts
0 → 100644
src/helpers/index.ts
0 → 100644
src/helpers/loading.ts
0 → 100644
src/helpers/modal.ts
0 → 100644
src/helpers/network.ts
0 → 100644
src/helpers/toast.ts
0 → 100644
src/helpers/updater.ts
0 → 100644
src/layouts/default.vue
0 → 100644
src/main.ts
0 → 100644
src/manifest.json
0 → 100644
src/pages.json
0 → 100644
src/pages/index/index.vue
0 → 100644
src/plugins/dayjs.ts
0 → 100644
src/plugins/index.ts
0 → 100644
src/plugins/vue-query.ts
0 → 100644
src/static/logo.png
0 → 100644
3.93 KB
src/stores/auth.ts
0 → 100644
src/stores/counter.ts
0 → 100644
src/stores/index.ts
0 → 100644
src/styles/button-preflight.css
0 → 100644
src/styles/global.scss
0 → 100644
src/styles/preflight.css
0 → 100644
src/styles/variables.scss
0 → 100644
src/types/index.ts
0 → 100644
src/types/uni-network.ts
0 → 100644
src/utils/.gitkeep
0 → 100644
tsconfig.app.json
0 → 100644
tsconfig.json
0 → 100644
tsconfig.node.json
0 → 100644
tsconfig.vitest.json
0 → 100644
uni-pages.d.ts
0 → 100644
uno.config.ts
0 → 100644
vite.config.ts
0 → 100644
vitest.config.ts
0 → 100644