npm init -y
npm install --save-dev typescript rot-js webpack webpack-cli ts-loader http-server npm-run-all
Edit 'scripts' in package.json:
"scripts": {
"build": "webpack",
"watch": "webpack --watch",
"serve": "http-server --port=8085"
},
npx npm-run-all --parallel watch serve
Inspired by https://github.com/Mizar999/rotjs-typescript-basics