NodeJS in Typescript
- 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 -rfcommand. - nodemon: Tools monitoring project file changes and automatically restarting the server.
- @swc/register: Compiles TypeScript files on the fly
npm installnpm startnpm run devnpm run buildThis uses swc to transpile TypeScript files into JavaScript, placing them in the
distfolder.
npm run cleannpm run lintnpm run types