Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Vite React Starter Template

License

NotificationsYou must be signed in to change notification settings

Refaelbenzvi24/Viterect-vite-react-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Documentation

ViterectCommitizen friendlylicense

Description

This is a boilerplate/template I built from scratch with a lot of usefull tools configured and ready to use.
So if you wanna start a new project and don't want to waste time on configuration and figure out how to set it allup,
just clone and start to code! 😉

Features

Getting Started

Viterect requires Node >= 14

Create a repo from this template on GitHub.

or

clone the repogit clone git@github.com:Refaelbenzvi24/Viterect.git my-viterect-app\npx degit refaelbenzvi24/viterect my-viterect-app

then

cd my-viterect-apppnpm i# If you don't have pnpm installed, run: npm install -g pnpm

Before you start coding

When you use this template, try follow the checklist to update your info properly

  • Modify or delete theLICENSE file.
  • ChangeVITE_APP_NAME in the.env file.
  • Change the favicon inpublic
  • If you don't plan to use GitHub Actions, delete the .github directory.
  • Clean up the READMEs and remove routes
  • Change the name field in package.json.

And, enjoy :)

Scripts

  • pnpm start - build and start production server
  • pnpm start:test - build and start production server in test mode.
  • pnpm build - build for production. The generated files will be on thedist folder.
  • pnpm build:test - build for testing. The generated files will be on thetests/dist folder.
  • pnpm serve - locally start the production build.
  • pnpm serve:test - locally start the testing build.
  • pnpm clean - clean build directory
  • pnpm commit - commit using commitizen
  • pnpm dev - start a development server with hot reload.
  • pnpm dev:test - start a development server with hot reload in test mode - used for running cypress tests withcoverage.
  • extract-translations - extract translations from source files usingi18next. configuration file for this isoni18next-parser.config.js. The generated files will be on thepublic/locales folder.
  • pnpm prepare:husky - install husky.
  • pnpm lint - runs TypeScript and ESLint.
  • pnpm lint:eslint - runs ESLint.
  • pnpm lint:tsc - runs TypeScript.
  • pnpm test - run unit tests.
  • pnpm test:ci - run all unit and integration tests in CI mode.
  • pnpm test:e2e - run all e2e tests with the Cypress Test Runner.
  • pnpm test:e2e:headless - run all e2e tests headlessly.
  • pnpm test:e2e:ci - run all e2e tests for CI Environment.
  • pnpm coverage:jest - open the coverage report in the browser for jest.
  • pnpm coverage:cypress - open the coverage report in the browser for cypress.
  • pnpm validate - runslint,test:ci andtest:e2e:ci.

Deploy to GCloud

Setup

Generate aservice account key copy thewhole file object content to theGitHub secretswith the key PROJECT_GCP_KEY and the project id to PROJECT_GCP_ID,

Deployment

Every push to the master/main branch will trigger a deployment to GCloud.


[8]ページ先頭

©2009-2025 Movatter.jp