npm install
npm init
entry point server.js
npm install socket.io --save
npm install -D @types/socket.io
- typescript
node version v14.17.3
npm install -D typescript @types/node@14
- webpack
npm install --save-dev webpack webpack-cli ts-loader html-webpack-plugin webpack-node-externals
npm run dev でwebpack