Skip to content

Latest commit

 

History

History
51 lines (44 loc) · 1.2 KB

File metadata and controls

51 lines (44 loc) · 1.2 KB

tsundere

NodeJS in Typescript

Tooling

  • swc: A high-speed JavaScript and TypeScript compiler written in Rust.
  • eslint + prettier: Static code analysis tools identifying problematic patterns in JavaScript code.
  • rimraf: A package providing a platform-independent way to execute the rm -rf command.
  • nodemon: Tools monitoring project file changes and automatically restarting the server.
  • @swc/register: Compiles TypeScript files on the fly

install project dependencies

npm install

executing the code in the dist folder, run:

npm start

Development

npm run dev

Build : for production, run:

npm run build

This uses swc to transpile TypeScript files into JavaScript, placing them in the dist folder.


Clean : deletes the dist folder

npm run clean

run Lint

npm run lint

Check types

npm run types