Giter VIP home page Giter VIP logo

node-ts-template's Introduction

NodeJS pnpm Template

Dependencies

Name Version Package Type Use
node ^20.11.1 x runtime
pnpm ^8.15.3 x build tool
typescript ^5.3.3 - dependency
@types/jest ^29.5.12 D Jest Types
@types/node ^20.11.19 D NodeJS Types
@typescript-eslint/eslint-parser ^7.0.1 D eslint typescript parser
@typescript-eslint/parser ^7.0.1 D eslint parser
eslint ^8.56.0 D linting tool
eslint-config-prettier ^9.1.0 D configure Prettier in ESLint config
eslint-plugin-prettier ^5.1.3 D run Prettier in ESLint
jest ^29.7.0 D testing framework
nodemon ^3.0.3 D hot reload tool
prettier ^3.2.5 D code styling tool
ts-jest ^29.1.2 D TS testing framework
ts-node ^10.9.2 D node-typescript runtime

How to

  1. Run pnpm i to setup node_modules
  2. Run pnpm build to build to the dist/ folder
  3. Run pnpm start to run the src/index.ts file using ts-node
  4. Run pnpm dev to start nodemon running the project using ts-node to watch for *.ts file changes
  5. Run pnpm lint to lint the files
  6. Run pnpm fix to lint the files and fix the issues
  7. Run pnpm test to run tests

node-ts-template's People

Contributors

ironwill79 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.