first commit
上级
Showing
.eslintrc.js
0 → 100644
.gitignore
0 → 100644
.husky/pre-commit
0 → 100755
.lintstagedrc.js
0 → 100644
.prettierrc.js
0 → 100644
.stylelintrc.js
0 → 100644
README-EN.md
0 → 100644
README.md
0 → 100644
images/social-preview.png
0 → 100644
94.8 KB
index.html
0 → 100644
package.json
0 → 100644
{ | ||
"name": "vue-color-avatar", | ||
"version": "1.0.0", | ||
"private": true, | ||
"license": "MIT", | ||
"author": "LeoKu<czc12580520@gmail.com> (https://leoku.top)", | ||
"scripts": { | ||
"build": "vite build", | ||
"build:prerelease": "vite build --mode prerelease", | ||
"deps": "yarn upgrade-interactive --latest", | ||
"dev": "vite", | ||
"lint": "yarn lint:es && yarn lint:style && yarn lint:ts", | ||
"lint:es": "eslint \"src/**/*.{js,jsx,ts,tsx,vue}\"", | ||
"lint:prettier": "prettier --write \"src/**/*.{md,json,html}\"", | ||
"lint:style": "stylelint \"src/**/*.{css,scss,vue}\"", | ||
"lint:ts": "tsc --noEmit --skipLibCheck", | ||
"prepare": "husky install", | ||
"preview": "vite preview" | ||
}, | ||
"dependencies": { | ||
"canvas-confetti": "^1.4.0", | ||
"clipboard": "^2.0.8", | ||
"html2canvas": "^1.3.2", | ||
"perfect-scrollbar": "^1.5.2", | ||
"vue": "^3.2.6", | ||
"vue-i18n": "^9.2.0-beta.9", | ||
"vuex": "^4.0.2" | ||
}, | ||
"devDependencies": { | ||
"@types/canvas-confetti": "^1.4.2", | ||
"@typescript-eslint/eslint-plugin": "^4.32.0", | ||
"@typescript-eslint/parser": "^4.32.0", | ||
"@vitejs/plugin-vue": "^1.9.2", | ||
"@vue/compiler-sfc": "^3.2.19", | ||
"eslint": "^7.32.0", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-plugin-import": "^2.24.2", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-simple-import-sort": "^7.0.0", | ||
"eslint-plugin-tailwindcss": "^1.16.0", | ||
"eslint-plugin-vue": "^7.18.0", | ||
"husky": "^7.0.2", | ||
"lint-staged": "^11.1.2", | ||
"prettier": "^2.4.1", | ||
"rollup-plugin-visualizer": "^5.5.2", | ||
"sass": "^1.42.1", | ||
"stylelint": "^13.13.1", | ||
"stylelint-config-prettier": "^8.0.2", | ||
"stylelint-config-rational-order": "^0.1.2", | ||
"stylelint-config-recommended": "^5.0.0", | ||
"stylelint-order": "^4.1.0", | ||
"stylelint-prettier": "^1.2.0", | ||
"stylelint-scss": "^3.21.0", | ||
"typescript": "^4.4.3", | ||
"vite": "^2.6.2", | ||
"vue-tsc": "^0.3.0" | ||
} | ||
} |
public/favicon.ico
0 → 100644
4.2 KB
public/favicon.svg
0 → 100644
src/App.vue
0 → 100644
src/assets/icons/icon-back.svg
0 → 100644
src/assets/icons/icon-close.svg
0 → 100644
src/assets/icons/icon-code.svg
0 → 100644
src/assets/icons/icon-flip.svg
0 → 100644
src/assets/icons/icon-github.svg
0 → 100644
src/assets/icons/icon-next.svg
0 → 100644
src/assets/icons/icon-right.svg
0 → 100644
src/assets/logo.png
0 → 100644
31.2 KB
src/assets/logo.svg
0 → 100644
src/assets/preview/eyes/round.svg
0 → 100644
src/assets/preview/face/base.svg
0 → 100644
src/assets/preview/mouth/sad.svg
0 → 100644
src/assets/preview/nose/curve.svg
0 → 100644
src/assets/preview/nose/round.svg
0 → 100644
src/assets/preview/tops/clean.svg
0 → 100644
src/assets/preview/tops/danny.svg
0 → 100644
src/assets/preview/tops/fonze.svg
0 → 100644
src/assets/preview/tops/funny.svg
0 → 100644
src/assets/preview/tops/pixie.svg
0 → 100644
src/assets/preview/tops/punk.svg
0 → 100644
src/assets/preview/tops/wave.svg
0 → 100644
src/assets/widgets/eyes/round.svg
0 → 100644
src/assets/widgets/face/base.svg
0 → 100644
src/assets/widgets/mouth/sad.svg
0 → 100644
src/assets/widgets/nose/curve.svg
0 → 100644
src/assets/widgets/nose/round.svg
0 → 100644
src/assets/widgets/tops/clean.svg
0 → 100644
src/assets/widgets/tops/danny.svg
0 → 100644
src/assets/widgets/tops/fonze.svg
0 → 100644
src/assets/widgets/tops/funny.svg
0 → 100644
src/assets/widgets/tops/pixie.svg
0 → 100644
src/assets/widgets/tops/punk.svg
0 → 100644
src/assets/widgets/tops/wave.svg
0 → 100644
此差异已折叠。
src/components/ActionBar.vue
0 → 100644
此差异已折叠。
src/components/CodeModal.vue
0 → 100644
此差异已折叠。
src/components/Confetti.vue
0 → 100644
此差异已折叠。
src/components/Configurator.vue
0 → 100644
此差异已折叠。
src/components/DownloadModal.vue
0 → 100644
此差异已折叠。
src/components/Logo.vue
0 → 100644
此差异已折叠。
此差异已折叠。
src/components/SectionWrapper.vue
0 → 100644
此差异已折叠。
src/components/VueColorAvatar.vue
0 → 100644
此差异已折叠。
此差异已折叠。
src/enums/index.ts
0 → 100644
此差异已折叠。
src/env.d.ts
0 → 100644
此差异已折叠。
src/hooks/index.ts
0 → 100644
此差异已折叠。
src/hooks/useAvatarOption.ts
0 → 100644
此差异已折叠。
src/hooks/useSider.ts
0 → 100644
此差异已折叠。
src/i18n/index.ts
0 → 100644
此差异已折叠。
src/i18n/locales/en/index.ts
0 → 100644
此差异已折叠。
src/i18n/locales/zh/index.ts
0 → 100644
此差异已折叠。
src/layouts/Container.vue
0 → 100644
此差异已折叠。
src/layouts/Footer.vue
0 → 100644
此差异已折叠。
src/layouts/Header.vue
0 → 100644
此差异已折叠。
src/layouts/Sider.vue
0 → 100644
此差异已折叠。
src/main.ts
0 → 100644
此差异已折叠。
src/store/index.ts
0 → 100644
此差异已折叠。
src/store/mutation-type.ts
0 → 100644
此差异已折叠。
src/styles/global.scss
0 → 100644
此差异已折叠。
src/styles/reset.css
0 → 100644
此差异已折叠。
src/styles/variables.scss
0 → 100644
此差异已折叠。
src/types/index.ts
0 → 100644
此差异已折叠。
src/utils/constant.ts
0 → 100644
此差异已折叠。
src/utils/dynamic-data.ts
0 → 100644
此差异已折叠。
src/utils/index.ts
0 → 100644
此差异已折叠。
tsconfig.json
0 → 100644
此差异已折叠。
vite.config.ts
0 → 100644
此差异已折叠。
yarn.lock
0 → 100644
此差异已折叠。