@ximatriarx/typescript
v2.0.5
Published
A TypeScript project template
Downloads
19
Maintainers
Readme
A minimalistic TypeScript project template preconfigured with ESLint, Prettier, Jest, Lint-Staged and Husky.
Status
Code
Project
Info
Statistics
Setup
npx @ximatriarx/typescript init
- Use it as a GitHub repository template.
- Clone it using
git clone https://github.com/XiMatriarx/typescript.git
. - Use
bin/init.sh
to create projects.
Usage
npm start
~ Start the project.npm run build
~ Build the project.npm run dev
~ Build the project in watch mode.npm run lint
~ Lint the codebase using ESLint.npm run style
~ Style the codebase using Prettier.npm test
~ Test the codebase using Jest.npm run docker
- Build the project using Docker.npm run init
~ Initialize git hooks with Husky for Lint-staged.