NOTE: Before using this template, you need to install
pnpm.
Create a new project based on this template using degit:
pnpx degit CitRUSprod/typescript-starter my-app
cd my-app
pnpm iRun in development mode:
pnpm devBuild and run in production mode:
pnpm build
pnpm startCommit with commitizen:
pnpm commitCheck types with tsc:
pnpm check-typesLint with linters:
pnpm lintFormat with formatters:
pnpm formatValidate types and lint code:
pnpm validateAll environment variables are written to the .env file. If it doesn't exist, just enter this command:
cp .env.example .env