/rotjs-bare-bones

a bare bones implementation of rot.js utilizing webpack and typescript

Primary LanguageTypeScript

NPM Setup

npm init -y

npm install --save-dev typescript rot-js webpack webpack-cli ts-loader http-server npm-run-all

Edit Scripts

Edit 'scripts' in package.json:

"scripts": {
    "build": "webpack",
    "watch": "webpack --watch",
    "serve": "http-server --port=8085"
  },

Build & Run Server

npx npm-run-all --parallel watch serve

Thanks

Inspired by https://github.com/Mizar999/rotjs-typescript-basics