├── .editorconfig ├── .env.development ├── .env.production ├── .env.test ├── .eslintignore ├── .eslintrc.js ├── .gitignore ├── .husky ├── commit-msg ├── pre-commit └── pre-rebase ├── .prettierignore ├── .prettierrc.json ├── .stylelintignore ├── .stylelintrc.json ├── .versionrc ├── LICENSE ├── README.md ├── commitlint.config.js ├── cypress.config.ts ├── cypress ├── e2e │ └── home.cy.ts ├── fixtures │ └── example.json ├── support │ ├── commands.ts │ ├── e2e.ts │ └── index.d.ts └── tsconfig.json ├── index.html ├── lint-staged.config.js ├── package.json ├── pnpm-lock.yaml ├── src ├── apis │ └── .gitkeep ├── assets │ └── images │ │ └── logo.svg ├── components │ └── .gitkeep ├── favicon.svg ├── hooks │ ├── index.ts │ └── useStoreSelector │ │ ├── index.test.ts │ │ └── index.ts ├── index.tsx ├── models │ └── .gitkeep ├── pages │ ├── home │ │ ├── index.module.css │ │ ├── index.test.tsx │ │ └── index.tsx │ └── index.ts ├── reset.d.ts ├── routes │ ├── index.ts │ ├── name.ts │ └── routes.tsx ├── stores │ ├── count.ts │ └── index.ts ├── styles │ └── index.css ├── utils │ ├── equal.ts │ ├── index.ts │ └── queryClient.ts └── vite-env.d.ts ├── tsconfig.json ├── tsconfig.paths.json └── vite.config.ts /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.development: -------------------------------------------------------------------------------- 1 | NODE_ENV = 'development' 2 | -------------------------------------------------------------------------------- /.env.production: -------------------------------------------------------------------------------- 1 | NODE_ENV = 'production' 2 | -------------------------------------------------------------------------------- /.env.test: -------------------------------------------------------------------------------- 1 | NODE_ENV = 'test'; 2 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.eslintignore -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | pnpm pre-commit 5 | -------------------------------------------------------------------------------- /.husky/pre-rebase: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env sh 2 | . "$(dirname -- "$0")/_/husky.sh" 3 | 4 | pnpm pre-commit 5 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.stylelintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.stylelintignore -------------------------------------------------------------------------------- /.stylelintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.stylelintrc.json -------------------------------------------------------------------------------- /.versionrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/.versionrc -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/README.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/commitlint.config.js -------------------------------------------------------------------------------- /cypress.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/cypress.config.ts -------------------------------------------------------------------------------- /cypress/e2e/home.cy.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/cypress/e2e/home.cy.ts -------------------------------------------------------------------------------- /cypress/fixtures/example.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/cypress/fixtures/example.json -------------------------------------------------------------------------------- /cypress/support/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/cypress/support/commands.ts -------------------------------------------------------------------------------- /cypress/support/e2e.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/cypress/support/e2e.ts -------------------------------------------------------------------------------- /cypress/support/index.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/cypress/support/index.d.ts -------------------------------------------------------------------------------- /cypress/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/cypress/tsconfig.json -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/index.html -------------------------------------------------------------------------------- /lint-staged.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/lint-staged.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/apis/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/apis/.gitkeep -------------------------------------------------------------------------------- /src/assets/images/logo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/assets/images/logo.svg -------------------------------------------------------------------------------- /src/components/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/components/.gitkeep -------------------------------------------------------------------------------- /src/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/favicon.svg -------------------------------------------------------------------------------- /src/hooks/index.ts: -------------------------------------------------------------------------------- 1 | export * from './useStoreSelector'; 2 | -------------------------------------------------------------------------------- /src/hooks/useStoreSelector/index.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/hooks/useStoreSelector/index.test.ts -------------------------------------------------------------------------------- /src/hooks/useStoreSelector/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/hooks/useStoreSelector/index.ts -------------------------------------------------------------------------------- /src/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/index.tsx -------------------------------------------------------------------------------- /src/models/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/models/.gitkeep -------------------------------------------------------------------------------- /src/pages/home/index.module.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/pages/home/index.module.css -------------------------------------------------------------------------------- /src/pages/home/index.test.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/pages/home/index.test.tsx -------------------------------------------------------------------------------- /src/pages/home/index.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/pages/home/index.tsx -------------------------------------------------------------------------------- /src/pages/index.ts: -------------------------------------------------------------------------------- 1 | export {default as Home} from './home'; 2 | -------------------------------------------------------------------------------- /src/reset.d.ts: -------------------------------------------------------------------------------- 1 | import '@total-typescript/ts-reset'; 2 | -------------------------------------------------------------------------------- /src/routes/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/routes/index.ts -------------------------------------------------------------------------------- /src/routes/name.ts: -------------------------------------------------------------------------------- 1 | export const HOME_PATH = '/'; 2 | -------------------------------------------------------------------------------- /src/routes/routes.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/routes/routes.tsx -------------------------------------------------------------------------------- /src/stores/count.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/stores/count.ts -------------------------------------------------------------------------------- /src/stores/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/stores/index.ts -------------------------------------------------------------------------------- /src/styles/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/styles/index.css -------------------------------------------------------------------------------- /src/utils/equal.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/utils/equal.ts -------------------------------------------------------------------------------- /src/utils/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/utils/index.ts -------------------------------------------------------------------------------- /src/utils/queryClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/utils/queryClient.ts -------------------------------------------------------------------------------- /src/vite-env.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/src/vite-env.d.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/tsconfig.json -------------------------------------------------------------------------------- /tsconfig.paths.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/tsconfig.paths.json -------------------------------------------------------------------------------- /vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/xyhxx/vite-react-proste/HEAD/vite.config.ts --------------------------------------------------------------------------------