Skip to content

raphaaj/skeleton-typescript-project

Repository files navigation

skeleton-typescript-project

Commitizen friendly CI

A skeleton project for typescript projects.

Setup

  • Update package information:
    • Name
    • Version
    • Description
    • Main entry
    • Author
    • Keywords
    • Repository
    • Bugs
    • License
    • Homepage
  • Update repository actions
    • Dependabot: automatic dependencies update
    • CI: tests and build validation
    • Commitlint: Lint commit messages
    • Dependabot auto merge: Enable auto-merge on dependabot's pull requests
      • For this action to work properly it is necessary to allow auto-merge on the repository settings
  • Setup git hooks to enable commitizen on git commit:
    • ./setup-git-hooks.sh
  • Review TypeScript configurations at tsconfig.json
  • Review ESLint configurations at .eslintrc.js
  • Review Prettier configurations at .prettierrc.json

Functionalities

Scripts

  • build: Compile the typescript project into the build folder.
  • build:clean: Remove the build folder
  • test: Run jest tests
  • test:coverage: Run jest tests with coverage report
  • test:clean: Remove the tests coverage result
  • lint: Lint codebase
  • lint:fix: Lint codebase and fix problems
  • prettier:check: Check if files in the src and tests folders are formatted according to the prettier configurations.
  • prettier:write: Format files in the src and tests folders according to the prettier configurations.

About

A skeleton repo for typescript projects.

Topics

Resources

License

Stars

Watchers

Forks

Contributors 2

  •  
  •  
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy